Skip to main content

TensorInfExtend

Trait TensorInfExtend 

Source
pub trait TensorInfExtend {
    // Required methods
    fn is_inf(&self) -> Result<Self>
       where Self: Sized;
    fn any(&self) -> Result<bool>;
}

Required Methods§

Source

fn is_inf(&self) -> Result<Self>
where Self: Sized,

Source

fn any(&self) -> Result<bool>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl TensorInfExtend for Tensor

Source§

fn is_inf(&self) -> Result<Self>

Source§

fn any(&self) -> Result<bool>

Implementors§