ella_tensor

Struct Tensor

Source
pub struct Tensor<T: TensorValue, S> { /* private fields */ }

Implementations§

Source§

impl<T, S> Tensor<T, S>
where T: TensorValue, T::Unmasked: Float, S: Shape,

Source

pub fn atan2<T2, S2>( &self, x: &Tensor<T2, S2>, ) -> Tensor<T::Output<T::Unmasked>, <S as NdimMax<S2>>::Output>
where T2: TensorValue<Unmasked = T::Unmasked>, S2: Shape, T: TensorOp<T2>, S: NdimMax<S2>, T::Output<T::Unmasked>: TensorValue,

Source§

impl<T, S> Tensor<T, S>
where T: TensorValue<Unmasked = bool>, S: Shape,

Source

pub fn all(&self) -> bool

Source

pub fn any(&self) -> bool

Source§

impl<T, S> Tensor<T, S>
where T: TensorValue, S: Shape,

Source

pub fn eq<C>(&self, other: C) -> C::Output
where C: TensorCompare<Self>,

Examples found in repository?
examples/tensor.rs (line 9)
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
fn main() {
    let x = Tensor::linspace(0_f32, 10., 100).cos();
    let y = Tensor::linspace(0_f32, 10., 100).sin();

    let mask = Tensor::range(0_i32, 100, 1) % 2;
    let y = y.with_mask(mask.eq(0));
    let z = x.unsqueeze(0) * y.unsqueeze(-1);
    println!("{:?}", z);

    let s1 = tensor::tensor!["A".to_string(), "B".to_string(), "C".to_string()];
    let s2 = tensor::tensor![Some("A".to_string()), None, Some("B".to_string())];
    println!("{:?}", s1);
    println!("{:?}", s1.eq(s2));

    let df = tensor::frame!(
        x = Tensor::linspace(0_f32, 10., 100).cos().reshape((10, 10)),
        y = Tensor::linspace(0_f32, 10., 10).sin(),
    );
    println!("{}", df.pretty_print());
}
Source

pub fn ne<C>(&self, other: C) -> C::Output
where C: TensorCompare<Self>,

Source

pub fn lt<C>(&self, other: C) -> C::Output
where C: TensorCompare<Self>,

Source

pub fn gt<C>(&self, other: C) -> C::Output
where C: TensorCompare<Self>,

Source

pub fn lte<C>(&self, other: C) -> C::Output
where C: TensorCompare<Self>,

Source

pub fn gte<C>(&self, other: C) -> C::Output
where C: TensorCompare<Self>,

Source§

impl<T, S> Tensor<T, S>
where T: TensorValue, S: Shape,

Source

pub fn concat(axis: Axis, tensors: &[Tensor<T, S>]) -> Result<Self>
where S: RemoveAxis,

Source

pub fn stack( axis: Axis, tensors: &[Tensor<T, S>], ) -> Result<Tensor<T, S::Larger>>

Source

pub fn unstack<A: Into<Axis>>(self, axis: A) -> Vec<Tensor<T, S::Smaller>>
where S: RemoveAxis,

Source§

impl<T, S> Tensor<T, S>
where T: TensorValue, S: Shape,

Source

pub fn full<I, V>(shape: I, value: V) -> Self
where I: IntoShape<Shape = S>, V: Into<T>,

Source

pub fn zeros<I>(shape: I) -> Self
where I: IntoShape<Shape = S>, T: Zero,

Source

pub fn ones<I>(shape: I) -> Self
where I: IntoShape<Shape = S>, T: One,

Source§

impl<T> Tensor<T, Const<1>>
where T: TensorValue,

1-D constructors

Source

pub fn linspace(start: T, end: T, steps: usize) -> Self
where T: Float,

Examples found in repository?
examples/tensor.rs (line 5)
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
fn main() {
    let x = Tensor::linspace(0_f32, 10., 100).cos();
    let y = Tensor::linspace(0_f32, 10., 100).sin();

    let mask = Tensor::range(0_i32, 100, 1) % 2;
    let y = y.with_mask(mask.eq(0));
    let z = x.unsqueeze(0) * y.unsqueeze(-1);
    println!("{:?}", z);

    let s1 = tensor::tensor!["A".to_string(), "B".to_string(), "C".to_string()];
    let s2 = tensor::tensor![Some("A".to_string()), None, Some("B".to_string())];
    println!("{:?}", s1);
    println!("{:?}", s1.eq(s2));

    let df = tensor::frame!(
        x = Tensor::linspace(0_f32, 10., 100).cos().reshape((10, 10)),
        y = Tensor::linspace(0_f32, 10., 10).sin(),
    );
    println!("{}", df.pretty_print());
}
Source

pub fn range(start: T, end: T, step: T) -> Self
where T: Num,

Examples found in repository?
examples/tensor.rs (line 8)
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
fn main() {
    let x = Tensor::linspace(0_f32, 10., 100).cos();
    let y = Tensor::linspace(0_f32, 10., 100).sin();

    let mask = Tensor::range(0_i32, 100, 1) % 2;
    let y = y.with_mask(mask.eq(0));
    let z = x.unsqueeze(0) * y.unsqueeze(-1);
    println!("{:?}", z);

    let s1 = tensor::tensor!["A".to_string(), "B".to_string(), "C".to_string()];
    let s2 = tensor::tensor![Some("A".to_string()), None, Some("B".to_string())];
    println!("{:?}", s1);
    println!("{:?}", s1.eq(s2));

    let df = tensor::frame!(
        x = Tensor::linspace(0_f32, 10., 100).cos().reshape((10, 10)),
        y = Tensor::linspace(0_f32, 10., 10).sin(),
    );
    println!("{}", df.pretty_print());
}
Source§

impl<T> Tensor<T, Const<2>>
where T: TensorValue,

2-D constructors

Source

pub fn eye(size: usize) -> Self
where T: One + Zero,

Source§

impl<T: TensorValue> Tensor<T, Const<0>>

Source

pub fn scalar(&self) -> T

Source§

impl<T, S> Tensor<T, S>
where T: TensorValue, S: Shape,

Source

pub fn index<I>(&self, i: I) -> T
where I: Indexer<S>,

Source§

impl<T, S> Tensor<T, S>
where T: TensorValue, S: Shape + RemoveAxis,

Source

pub fn index_axis<I: IndexValue>( &self, axis: Axis, index: I, ) -> Tensor<T, S::Smaller>

Source§

impl<T, S> Tensor<T, S>
where T: MaskedValue, S: Shape,

Source

pub fn mask(&self) -> Mask<S>

Source

pub fn fill_masked(&self, value: T::Unmasked) -> Tensor<T::Unmasked, S>

Source

pub fn drop_mask(&self) -> Tensor<T::Unmasked, S>

Source

pub fn compress(&self) -> Tensor<T::Unmasked, Const<1>>

Source§

impl<T, S> Tensor<T, S>
where T: TensorValue, S: Shape,

Source

pub fn with_mask<M>(&self, mask: M) -> Tensor<T::Masked, S>
where M: AsMask<S>,

Examples found in repository?
examples/tensor.rs (line 9)
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
fn main() {
    let x = Tensor::linspace(0_f32, 10., 100).cos();
    let y = Tensor::linspace(0_f32, 10., 100).sin();

    let mask = Tensor::range(0_i32, 100, 1) % 2;
    let y = y.with_mask(mask.eq(0));
    let z = x.unsqueeze(0) * y.unsqueeze(-1);
    println!("{:?}", z);

    let s1 = tensor::tensor!["A".to_string(), "B".to_string(), "C".to_string()];
    let s2 = tensor::tensor![Some("A".to_string()), None, Some("B".to_string())];
    println!("{:?}", s1);
    println!("{:?}", s1.eq(s2));

    let df = tensor::frame!(
        x = Tensor::linspace(0_f32, 10., 100).cos().reshape((10, 10)),
        y = Tensor::linspace(0_f32, 10., 10).sin(),
    );
    println!("{}", df.pretty_print());
}
Source

pub fn nullable(&self) -> Tensor<T::Masked, S>

Source§

impl<T, S> Tensor<T, S>
where T: TensorValue, S: Shape,

Source

pub fn as_dyn(&self) -> Tensor<T, Dyn>

Source

pub fn reshape<I>(&self, shape: I) -> Tensor<T, I::Shape>
where I: IntoShape,

Examples found in repository?
examples/tensor.rs (line 19)
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
fn main() {
    let x = Tensor::linspace(0_f32, 10., 100).cos();
    let y = Tensor::linspace(0_f32, 10., 100).sin();

    let mask = Tensor::range(0_i32, 100, 1) % 2;
    let y = y.with_mask(mask.eq(0));
    let z = x.unsqueeze(0) * y.unsqueeze(-1);
    println!("{:?}", z);

    let s1 = tensor::tensor!["A".to_string(), "B".to_string(), "C".to_string()];
    let s2 = tensor::tensor![Some("A".to_string()), None, Some("B".to_string())];
    println!("{:?}", s1);
    println!("{:?}", s1.eq(s2));

    let df = tensor::frame!(
        x = Tensor::linspace(0_f32, 10., 100).cos().reshape((10, 10)),
        y = Tensor::linspace(0_f32, 10., 10).sin(),
    );
    println!("{}", df.pretty_print());
}
Source

pub fn flatten(&self) -> Tensor<T, Const<1>>

Source

pub fn unsqueeze<A>(&self, axis: A) -> Tensor<T, S::Larger>
where A: Into<Axis>,

Examples found in repository?
examples/tensor.rs (line 10)
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
fn main() {
    let x = Tensor::linspace(0_f32, 10., 100).cos();
    let y = Tensor::linspace(0_f32, 10., 100).sin();

    let mask = Tensor::range(0_i32, 100, 1) % 2;
    let y = y.with_mask(mask.eq(0));
    let z = x.unsqueeze(0) * y.unsqueeze(-1);
    println!("{:?}", z);

    let s1 = tensor::tensor!["A".to_string(), "B".to_string(), "C".to_string()];
    let s2 = tensor::tensor![Some("A".to_string()), None, Some("B".to_string())];
    println!("{:?}", s1);
    println!("{:?}", s1.eq(s2));

    let df = tensor::frame!(
        x = Tensor::linspace(0_f32, 10., 100).cos().reshape((10, 10)),
        y = Tensor::linspace(0_f32, 10., 10).sin(),
    );
    println!("{}", df.pretty_print());
}
Source

pub fn swap_axes<A1, A2>(&self, ax1: A1, ax2: A2) -> Self
where A1: Into<Axis>, A2: Into<Axis>,

Source

pub fn as_shape<S2>(&self) -> Result<Tensor<T, S2>>
where S2: Shape,

Source

pub fn broadcast_to<I, O>(&self, shape: I) -> Result<Tensor<T, O>>
where O: Shape, I: IntoShape<Shape = O>,

Source

pub fn broadcast_with<T2, S2>( &self, other: &Tensor<T2, S2>, ) -> Result<(Tensor<T, <S as NdimMax<S2>>::Output>, Tensor<T2, <S as NdimMax<S2>>::Output>)>
where T2: TensorValue, S2: Shape, S: NdimMax<S2>,

Source

pub fn invert_axis<A: Into<Axis>>(&self, axis: A) -> Self

Source

pub fn roll(&self, axis: Axis, roll: isize) -> Self
where S: RemoveAxis,

Source§

impl<T, S> Tensor<T, S>
where T: TensorValue, S: Shape + RemoveAxis,

1-D shape operations

Source

pub fn squeeze(&self, axis: Axis) -> Tensor<T, S::Smaller>

Source§

impl<T> Tensor<T, Const<2>>
where T: TensorValue,

2-D shape operations

Source

pub fn t(&self) -> Self

Source§

impl<T, S> Tensor<T, S>
where T: TensorValue, S: Shape,

Source

pub fn slice_axis<I>(&self, axis: Axis, slice: I) -> Self
where I: Into<Slice>,

Source

pub fn collapse_axis<I: IndexValue>(&self, axis: Axis, index: I) -> Self

Source

pub fn slice<I: SliceShape<S>>(&self, slice: I) -> Tensor<T, I::Out>

Source

pub fn diag(&self) -> Tensor<T, Const<1>>

Source§

impl<T, S> Tensor<T, S>
where T: TensorUnaryOp<Output<<T as TensorValue>::Unmasked> = T>, S: Shape, T::Unmasked: Float,

Source

pub fn sin(&self) -> Tensor<T::Output<T::Unmasked>, S>

Examples found in repository?
examples/tensor.rs (line 6)
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
fn main() {
    let x = Tensor::linspace(0_f32, 10., 100).cos();
    let y = Tensor::linspace(0_f32, 10., 100).sin();

    let mask = Tensor::range(0_i32, 100, 1) % 2;
    let y = y.with_mask(mask.eq(0));
    let z = x.unsqueeze(0) * y.unsqueeze(-1);
    println!("{:?}", z);

    let s1 = tensor::tensor!["A".to_string(), "B".to_string(), "C".to_string()];
    let s2 = tensor::tensor![Some("A".to_string()), None, Some("B".to_string())];
    println!("{:?}", s1);
    println!("{:?}", s1.eq(s2));

    let df = tensor::frame!(
        x = Tensor::linspace(0_f32, 10., 100).cos().reshape((10, 10)),
        y = Tensor::linspace(0_f32, 10., 10).sin(),
    );
    println!("{}", df.pretty_print());
}
Source

pub fn cos(&self) -> Tensor<T::Output<T::Unmasked>, S>

Examples found in repository?
examples/tensor.rs (line 5)
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
fn main() {
    let x = Tensor::linspace(0_f32, 10., 100).cos();
    let y = Tensor::linspace(0_f32, 10., 100).sin();

    let mask = Tensor::range(0_i32, 100, 1) % 2;
    let y = y.with_mask(mask.eq(0));
    let z = x.unsqueeze(0) * y.unsqueeze(-1);
    println!("{:?}", z);

    let s1 = tensor::tensor!["A".to_string(), "B".to_string(), "C".to_string()];
    let s2 = tensor::tensor![Some("A".to_string()), None, Some("B".to_string())];
    println!("{:?}", s1);
    println!("{:?}", s1.eq(s2));

    let df = tensor::frame!(
        x = Tensor::linspace(0_f32, 10., 100).cos().reshape((10, 10)),
        y = Tensor::linspace(0_f32, 10., 10).sin(),
    );
    println!("{}", df.pretty_print());
}
Source

pub fn tan(&self) -> Tensor<T::Output<T::Unmasked>, S>

Source

pub fn acos(&self) -> Tensor<T::Output<T::Unmasked>, S>

Source

pub fn asin(&self) -> Tensor<T::Output<T::Unmasked>, S>

Source

pub fn atan(&self) -> Tensor<T::Output<T::Unmasked>, S>

Source

pub fn exp(&self) -> Tensor<T::Output<T::Unmasked>, S>

Source

pub fn exp2(&self) -> Tensor<T::Output<T::Unmasked>, S>

Source

pub fn ln(&self) -> Tensor<T::Output<T::Unmasked>, S>

Source

pub fn log2(&self) -> Tensor<T::Output<T::Unmasked>, S>

Source

pub fn log10(&self) -> Tensor<T::Output<T::Unmasked>, S>

Source§

impl<T, S> Tensor<T, S>
where T: TensorUnaryOp<Output<<T as TensorValue>::Unmasked> = T>, S: Shape, T::Unmasked: Signed,

Source

pub fn abs(&self) -> Tensor<T::Output<T::Unmasked>, S>

Source§

impl<T, S> Tensor<T, S>
where T: TensorValue, S: Shape,

Source

pub fn iter(&self) -> TensorIter<T, S>

Source

pub fn iter_valid(&self) -> TensorIterValid<T, S>

Source§

impl<T, S> Tensor<T, S>
where T: TensorValue, S: Shape + RemoveAxis,

Source

pub fn axis_iter<A: Into<Axis>>(&self, axis: A) -> AxisIter<T, S>

Source§

impl<T, S> Tensor<T, S>
where T: TensorValue, S: Shape,

Source

pub fn shape(&self) -> &S

Source

pub fn strides(&self) -> &S

Source

pub fn size(&self) -> usize

Source

pub fn ndim(&self) -> usize

Source

pub fn is_standard_layout(&self) -> bool

Source

pub fn try_from_arrow<R>(array: ArrayRef, row_shape: R) -> Result<Self>
where R: Shape<Larger = S>,

Source

pub fn into_arrow(self) -> ArrayRef

Source

pub fn to_standard_layout(self) -> Self

Source

pub fn map<F, O>(&self, f: F) -> Tensor<O, S>
where O: TensorValue, F: Fn(T) -> O,

Trait Implementations§

Source§

impl<T, S> Add<&Tensor<T, S>> for f32
where f32: TensorOp<T>, T: TensorValue<Unmasked = f32>, <f32 as TensorOp<T>>::Output<f32>: TensorValue, S: Shape,

Source§

type Output = Tensor<<f32 as TensorOp<T>>::Output<f32>, S>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the + operation. Read more
Source§

impl<T, S> Add<&Tensor<T, S>> for f64
where f64: TensorOp<T>, T: TensorValue<Unmasked = f64>, <f64 as TensorOp<T>>::Output<f64>: TensorValue, S: Shape,

Source§

type Output = Tensor<<f64 as TensorOp<T>>::Output<f64>, S>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the + operation. Read more
Source§

impl<T, S> Add<&Tensor<T, S>> for i16
where i16: TensorOp<T>, T: TensorValue<Unmasked = i16>, <i16 as TensorOp<T>>::Output<i16>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i16 as TensorOp<T>>::Output<i16>, S>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the + operation. Read more
Source§

impl<T, S> Add<&Tensor<T, S>> for i32
where i32: TensorOp<T>, T: TensorValue<Unmasked = i32>, <i32 as TensorOp<T>>::Output<i32>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i32 as TensorOp<T>>::Output<i32>, S>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the + operation. Read more
Source§

impl<T, S> Add<&Tensor<T, S>> for i64
where i64: TensorOp<T>, T: TensorValue<Unmasked = i64>, <i64 as TensorOp<T>>::Output<i64>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i64 as TensorOp<T>>::Output<i64>, S>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the + operation. Read more
Source§

impl<T, S> Add<&Tensor<T, S>> for i8
where i8: TensorOp<T>, T: TensorValue<Unmasked = i8>, <i8 as TensorOp<T>>::Output<i8>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i8 as TensorOp<T>>::Output<i8>, S>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the + operation. Read more
Source§

impl<T, S> Add<&Tensor<T, S>> for u16
where u16: TensorOp<T>, T: TensorValue<Unmasked = u16>, <u16 as TensorOp<T>>::Output<u16>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u16 as TensorOp<T>>::Output<u16>, S>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the + operation. Read more
Source§

impl<T, S> Add<&Tensor<T, S>> for u32
where u32: TensorOp<T>, T: TensorValue<Unmasked = u32>, <u32 as TensorOp<T>>::Output<u32>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u32 as TensorOp<T>>::Output<u32>, S>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the + operation. Read more
Source§

impl<T, S> Add<&Tensor<T, S>> for u64
where u64: TensorOp<T>, T: TensorValue<Unmasked = u64>, <u64 as TensorOp<T>>::Output<u64>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u64 as TensorOp<T>>::Output<u64>, S>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the + operation. Read more
Source§

impl<T, S> Add<&Tensor<T, S>> for u8
where u8: TensorOp<T>, T: TensorValue<Unmasked = u8>, <u8 as TensorOp<T>>::Output<u8>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u8 as TensorOp<T>>::Output<u8>, S>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the + operation. Read more
Source§

impl<T1, T2, S1, S2> Add<&Tensor<T2, S2>> for &Tensor<T1, S1>
where T1: TensorOp<T2>, T2: TensorValue, T1::Unmasked: Add<T2::Unmasked>, <T1::Unmasked as Add<T2::Unmasked>>::Output: TensorValue, T1::Output<<T1::Unmasked as Add<T2::Unmasked>>::Output>: TensorValue, S1: Shape + NdimMax<S2>, S2: Shape,

Source§

type Output = Tensor<<T1 as TensorOp<T2>>::Output<<<T1 as TensorValue>::Unmasked as Add<<T2 as TensorValue>::Unmasked>>::Output>, <S1 as NdimMax<S2>>::Output>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &Tensor<T2, S2>) -> Self::Output

Performs the + operation. Read more
Source§

impl<T1, T2, S1, S2> Add<&Tensor<T2, S2>> for Tensor<T1, S1>
where T1: TensorOp<T2>, T2: TensorValue, T1::Unmasked: Add<T2::Unmasked>, <T1::Unmasked as Add<T2::Unmasked>>::Output: TensorValue, T1::Output<<T1::Unmasked as Add<T2::Unmasked>>::Output>: TensorValue, S1: Shape + NdimMax<S2>, S2: Shape,

Source§

type Output = Tensor<<T1 as TensorOp<T2>>::Output<<<T1 as TensorValue>::Unmasked as Add<<T2 as TensorValue>::Unmasked>>::Output>, <S1 as NdimMax<S2>>::Output>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: &Tensor<T2, S2>) -> Self::Output

Performs the + operation. Read more
Source§

impl<T, S> Add<Tensor<T, S>> for f32
where f32: TensorOp<T>, T: TensorValue<Unmasked = f32>, <f32 as TensorOp<T>>::Output<f32>: TensorValue, S: Shape,

Source§

type Output = Tensor<<f32 as TensorOp<T>>::Output<f32>, S>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Tensor<T, S>) -> Self::Output

Performs the + operation. Read more
Source§

impl<T, S> Add<Tensor<T, S>> for f64
where f64: TensorOp<T>, T: TensorValue<Unmasked = f64>, <f64 as TensorOp<T>>::Output<f64>: TensorValue, S: Shape,

Source§

type Output = Tensor<<f64 as TensorOp<T>>::Output<f64>, S>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Tensor<T, S>) -> Self::Output

Performs the + operation. Read more
Source§

impl<T, S> Add<Tensor<T, S>> for i16
where i16: TensorOp<T>, T: TensorValue<Unmasked = i16>, <i16 as TensorOp<T>>::Output<i16>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i16 as TensorOp<T>>::Output<i16>, S>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Tensor<T, S>) -> Self::Output

Performs the + operation. Read more
Source§

impl<T, S> Add<Tensor<T, S>> for i32
where i32: TensorOp<T>, T: TensorValue<Unmasked = i32>, <i32 as TensorOp<T>>::Output<i32>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i32 as TensorOp<T>>::Output<i32>, S>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Tensor<T, S>) -> Self::Output

Performs the + operation. Read more
Source§

impl<T, S> Add<Tensor<T, S>> for i64
where i64: TensorOp<T>, T: TensorValue<Unmasked = i64>, <i64 as TensorOp<T>>::Output<i64>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i64 as TensorOp<T>>::Output<i64>, S>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Tensor<T, S>) -> Self::Output

Performs the + operation. Read more
Source§

impl<T, S> Add<Tensor<T, S>> for i8
where i8: TensorOp<T>, T: TensorValue<Unmasked = i8>, <i8 as TensorOp<T>>::Output<i8>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i8 as TensorOp<T>>::Output<i8>, S>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Tensor<T, S>) -> Self::Output

Performs the + operation. Read more
Source§

impl<T, S> Add<Tensor<T, S>> for u16
where u16: TensorOp<T>, T: TensorValue<Unmasked = u16>, <u16 as TensorOp<T>>::Output<u16>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u16 as TensorOp<T>>::Output<u16>, S>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Tensor<T, S>) -> Self::Output

Performs the + operation. Read more
Source§

impl<T, S> Add<Tensor<T, S>> for u32
where u32: TensorOp<T>, T: TensorValue<Unmasked = u32>, <u32 as TensorOp<T>>::Output<u32>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u32 as TensorOp<T>>::Output<u32>, S>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Tensor<T, S>) -> Self::Output

Performs the + operation. Read more
Source§

impl<T, S> Add<Tensor<T, S>> for u64
where u64: TensorOp<T>, T: TensorValue<Unmasked = u64>, <u64 as TensorOp<T>>::Output<u64>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u64 as TensorOp<T>>::Output<u64>, S>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Tensor<T, S>) -> Self::Output

Performs the + operation. Read more
Source§

impl<T, S> Add<Tensor<T, S>> for u8
where u8: TensorOp<T>, T: TensorValue<Unmasked = u8>, <u8 as TensorOp<T>>::Output<u8>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u8 as TensorOp<T>>::Output<u8>, S>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Tensor<T, S>) -> Self::Output

Performs the + operation. Read more
Source§

impl<T1, T2, S1, S2> Add<Tensor<T2, S2>> for &Tensor<T1, S1>
where T1: TensorOp<T2>, T2: TensorValue, T1::Unmasked: Add<T2::Unmasked>, <T1::Unmasked as Add<T2::Unmasked>>::Output: TensorValue, T1::Output<<T1::Unmasked as Add<T2::Unmasked>>::Output>: TensorValue, S1: Shape + NdimMax<S2>, S2: Shape,

Source§

type Output = Tensor<<T1 as TensorOp<T2>>::Output<<<T1 as TensorValue>::Unmasked as Add<<T2 as TensorValue>::Unmasked>>::Output>, <S1 as NdimMax<S2>>::Output>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Tensor<T2, S2>) -> Self::Output

Performs the + operation. Read more
Source§

impl<T1, T2, S1, S2> Add<Tensor<T2, S2>> for Tensor<T1, S1>
where T1: TensorOp<T2>, T2: TensorValue, T1::Unmasked: Add<T2::Unmasked>, <T1::Unmasked as Add<T2::Unmasked>>::Output: TensorValue, T1::Output<<T1::Unmasked as Add<T2::Unmasked>>::Output>: TensorValue, S1: Shape + NdimMax<S2>, S2: Shape,

Source§

type Output = Tensor<<T1 as TensorOp<T2>>::Output<<<T1 as TensorValue>::Unmasked as Add<<T2 as TensorValue>::Unmasked>>::Output>, <S1 as NdimMax<S2>>::Output>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: Tensor<T2, S2>) -> Self::Output

Performs the + operation. Read more
Source§

impl<T, S> Add<f32> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<f32>>::Output<<<T as TensorValue>::Unmasked as Add<f32>>::Output>, S>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: f32) -> Self::Output

Performs the + operation. Read more
Source§

impl<T, S> Add<f32> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<f32>>::Output<<<T as TensorValue>::Unmasked as Add<f32>>::Output>, S>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: f32) -> Self::Output

Performs the + operation. Read more
Source§

impl<T, S> Add<f64> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<f64>>::Output<<<T as TensorValue>::Unmasked as Add<f64>>::Output>, S>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: f64) -> Self::Output

Performs the + operation. Read more
Source§

impl<T, S> Add<f64> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<f64>>::Output<<<T as TensorValue>::Unmasked as Add<f64>>::Output>, S>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: f64) -> Self::Output

Performs the + operation. Read more
Source§

impl<T, S> Add<i16> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<i16>>::Output<<<T as TensorValue>::Unmasked as Add<i16>>::Output>, S>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: i16) -> Self::Output

Performs the + operation. Read more
Source§

impl<T, S> Add<i16> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<i16>>::Output<<<T as TensorValue>::Unmasked as Add<i16>>::Output>, S>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: i16) -> Self::Output

Performs the + operation. Read more
Source§

impl<T, S> Add<i32> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<i32>>::Output<<<T as TensorValue>::Unmasked as Add<i32>>::Output>, S>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: i32) -> Self::Output

Performs the + operation. Read more
Source§

impl<T, S> Add<i32> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<i32>>::Output<<<T as TensorValue>::Unmasked as Add<i32>>::Output>, S>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: i32) -> Self::Output

Performs the + operation. Read more
Source§

impl<T, S> Add<i64> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<i64>>::Output<<<T as TensorValue>::Unmasked as Add<i64>>::Output>, S>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: i64) -> Self::Output

Performs the + operation. Read more
Source§

impl<T, S> Add<i64> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<i64>>::Output<<<T as TensorValue>::Unmasked as Add<i64>>::Output>, S>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: i64) -> Self::Output

Performs the + operation. Read more
Source§

impl<T, S> Add<i8> for &Tensor<T, S>
where T: TensorOp<i8>, T::Unmasked: Add<i8>, <T::Unmasked as Add<i8>>::Output: TensorValue, T::Output<<T::Unmasked as Add<i8>>::Output>: TensorValue, S: Shape,

Source§

type Output = Tensor<<T as TensorOp<i8>>::Output<<<T as TensorValue>::Unmasked as Add<i8>>::Output>, S>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: i8) -> Self::Output

Performs the + operation. Read more
Source§

impl<T, S> Add<i8> for Tensor<T, S>
where T: TensorOp<i8>, T::Unmasked: Add<i8>, <T::Unmasked as Add<i8>>::Output: TensorValue, T::Output<<T::Unmasked as Add<i8>>::Output>: TensorValue, S: Shape,

Source§

type Output = Tensor<<T as TensorOp<i8>>::Output<<<T as TensorValue>::Unmasked as Add<i8>>::Output>, S>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: i8) -> Self::Output

Performs the + operation. Read more
Source§

impl<T, S> Add<u16> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<u16>>::Output<<<T as TensorValue>::Unmasked as Add<u16>>::Output>, S>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: u16) -> Self::Output

Performs the + operation. Read more
Source§

impl<T, S> Add<u16> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<u16>>::Output<<<T as TensorValue>::Unmasked as Add<u16>>::Output>, S>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: u16) -> Self::Output

Performs the + operation. Read more
Source§

impl<T, S> Add<u32> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<u32>>::Output<<<T as TensorValue>::Unmasked as Add<u32>>::Output>, S>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: u32) -> Self::Output

Performs the + operation. Read more
Source§

impl<T, S> Add<u32> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<u32>>::Output<<<T as TensorValue>::Unmasked as Add<u32>>::Output>, S>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: u32) -> Self::Output

Performs the + operation. Read more
Source§

impl<T, S> Add<u64> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<u64>>::Output<<<T as TensorValue>::Unmasked as Add<u64>>::Output>, S>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: u64) -> Self::Output

Performs the + operation. Read more
Source§

impl<T, S> Add<u64> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<u64>>::Output<<<T as TensorValue>::Unmasked as Add<u64>>::Output>, S>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: u64) -> Self::Output

Performs the + operation. Read more
Source§

impl<T, S> Add<u8> for &Tensor<T, S>
where T: TensorOp<u8>, T::Unmasked: Add<u8>, <T::Unmasked as Add<u8>>::Output: TensorValue, T::Output<<T::Unmasked as Add<u8>>::Output>: TensorValue, S: Shape,

Source§

type Output = Tensor<<T as TensorOp<u8>>::Output<<<T as TensorValue>::Unmasked as Add<u8>>::Output>, S>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: u8) -> Self::Output

Performs the + operation. Read more
Source§

impl<T, S> Add<u8> for Tensor<T, S>
where T: TensorOp<u8>, T::Unmasked: Add<u8>, <T::Unmasked as Add<u8>>::Output: TensorValue, T::Output<<T::Unmasked as Add<u8>>::Output>: TensorValue, S: Shape,

Source§

type Output = Tensor<<T as TensorOp<u8>>::Output<<<T as TensorValue>::Unmasked as Add<u8>>::Output>, S>

The resulting type after applying the + operator.
Source§

fn add(self, rhs: u8) -> Self::Output

Performs the + operation. Read more
Source§

impl<T, S> BitAnd<&Tensor<T, S>> for bool
where bool: TensorOp<T>, T: TensorValue<Unmasked = bool>, <bool as TensorOp<T>>::Output<bool>: TensorValue, S: Shape,

Source§

type Output = Tensor<<bool as TensorOp<T>>::Output<bool>, S>

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the & operation. Read more
Source§

impl<T, S> BitAnd<&Tensor<T, S>> for i16
where i16: TensorOp<T>, T: TensorValue<Unmasked = i16>, <i16 as TensorOp<T>>::Output<i16>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i16 as TensorOp<T>>::Output<i16>, S>

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the & operation. Read more
Source§

impl<T, S> BitAnd<&Tensor<T, S>> for i32
where i32: TensorOp<T>, T: TensorValue<Unmasked = i32>, <i32 as TensorOp<T>>::Output<i32>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i32 as TensorOp<T>>::Output<i32>, S>

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the & operation. Read more
Source§

impl<T, S> BitAnd<&Tensor<T, S>> for i64
where i64: TensorOp<T>, T: TensorValue<Unmasked = i64>, <i64 as TensorOp<T>>::Output<i64>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i64 as TensorOp<T>>::Output<i64>, S>

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the & operation. Read more
Source§

impl<T, S> BitAnd<&Tensor<T, S>> for i8
where i8: TensorOp<T>, T: TensorValue<Unmasked = i8>, <i8 as TensorOp<T>>::Output<i8>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i8 as TensorOp<T>>::Output<i8>, S>

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the & operation. Read more
Source§

impl<T, S> BitAnd<&Tensor<T, S>> for u16
where u16: TensorOp<T>, T: TensorValue<Unmasked = u16>, <u16 as TensorOp<T>>::Output<u16>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u16 as TensorOp<T>>::Output<u16>, S>

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the & operation. Read more
Source§

impl<T, S> BitAnd<&Tensor<T, S>> for u32
where u32: TensorOp<T>, T: TensorValue<Unmasked = u32>, <u32 as TensorOp<T>>::Output<u32>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u32 as TensorOp<T>>::Output<u32>, S>

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the & operation. Read more
Source§

impl<T, S> BitAnd<&Tensor<T, S>> for u64
where u64: TensorOp<T>, T: TensorValue<Unmasked = u64>, <u64 as TensorOp<T>>::Output<u64>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u64 as TensorOp<T>>::Output<u64>, S>

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the & operation. Read more
Source§

impl<T, S> BitAnd<&Tensor<T, S>> for u8
where u8: TensorOp<T>, T: TensorValue<Unmasked = u8>, <u8 as TensorOp<T>>::Output<u8>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u8 as TensorOp<T>>::Output<u8>, S>

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the & operation. Read more
Source§

impl<T1, T2, S1, S2> BitAnd<&Tensor<T2, S2>> for &Tensor<T1, S1>
where T1: TensorOp<T2>, T2: TensorValue, T1::Unmasked: BitAnd<T2::Unmasked>, <T1::Unmasked as BitAnd<T2::Unmasked>>::Output: TensorValue, T1::Output<<T1::Unmasked as BitAnd<T2::Unmasked>>::Output>: TensorValue, S1: Shape + NdimMax<S2>, S2: Shape,

Source§

type Output = Tensor<<T1 as TensorOp<T2>>::Output<<<T1 as TensorValue>::Unmasked as BitAnd<<T2 as TensorValue>::Unmasked>>::Output>, <S1 as NdimMax<S2>>::Output>

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: &Tensor<T2, S2>) -> Self::Output

Performs the & operation. Read more
Source§

impl<T1, T2, S1, S2> BitAnd<&Tensor<T2, S2>> for Tensor<T1, S1>
where T1: TensorOp<T2>, T2: TensorValue, T1::Unmasked: BitAnd<T2::Unmasked>, <T1::Unmasked as BitAnd<T2::Unmasked>>::Output: TensorValue, T1::Output<<T1::Unmasked as BitAnd<T2::Unmasked>>::Output>: TensorValue, S1: Shape + NdimMax<S2>, S2: Shape,

Source§

type Output = Tensor<<T1 as TensorOp<T2>>::Output<<<T1 as TensorValue>::Unmasked as BitAnd<<T2 as TensorValue>::Unmasked>>::Output>, <S1 as NdimMax<S2>>::Output>

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: &Tensor<T2, S2>) -> Self::Output

Performs the & operation. Read more
Source§

impl<T, S> BitAnd<Tensor<T, S>> for bool
where bool: TensorOp<T>, T: TensorValue<Unmasked = bool>, <bool as TensorOp<T>>::Output<bool>: TensorValue, S: Shape,

Source§

type Output = Tensor<<bool as TensorOp<T>>::Output<bool>, S>

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: Tensor<T, S>) -> Self::Output

Performs the & operation. Read more
Source§

impl<T, S> BitAnd<Tensor<T, S>> for i16
where i16: TensorOp<T>, T: TensorValue<Unmasked = i16>, <i16 as TensorOp<T>>::Output<i16>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i16 as TensorOp<T>>::Output<i16>, S>

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: Tensor<T, S>) -> Self::Output

Performs the & operation. Read more
Source§

impl<T, S> BitAnd<Tensor<T, S>> for i32
where i32: TensorOp<T>, T: TensorValue<Unmasked = i32>, <i32 as TensorOp<T>>::Output<i32>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i32 as TensorOp<T>>::Output<i32>, S>

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: Tensor<T, S>) -> Self::Output

Performs the & operation. Read more
Source§

impl<T, S> BitAnd<Tensor<T, S>> for i64
where i64: TensorOp<T>, T: TensorValue<Unmasked = i64>, <i64 as TensorOp<T>>::Output<i64>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i64 as TensorOp<T>>::Output<i64>, S>

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: Tensor<T, S>) -> Self::Output

Performs the & operation. Read more
Source§

impl<T, S> BitAnd<Tensor<T, S>> for i8
where i8: TensorOp<T>, T: TensorValue<Unmasked = i8>, <i8 as TensorOp<T>>::Output<i8>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i8 as TensorOp<T>>::Output<i8>, S>

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: Tensor<T, S>) -> Self::Output

Performs the & operation. Read more
Source§

impl<T, S> BitAnd<Tensor<T, S>> for u16
where u16: TensorOp<T>, T: TensorValue<Unmasked = u16>, <u16 as TensorOp<T>>::Output<u16>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u16 as TensorOp<T>>::Output<u16>, S>

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: Tensor<T, S>) -> Self::Output

Performs the & operation. Read more
Source§

impl<T, S> BitAnd<Tensor<T, S>> for u32
where u32: TensorOp<T>, T: TensorValue<Unmasked = u32>, <u32 as TensorOp<T>>::Output<u32>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u32 as TensorOp<T>>::Output<u32>, S>

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: Tensor<T, S>) -> Self::Output

Performs the & operation. Read more
Source§

impl<T, S> BitAnd<Tensor<T, S>> for u64
where u64: TensorOp<T>, T: TensorValue<Unmasked = u64>, <u64 as TensorOp<T>>::Output<u64>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u64 as TensorOp<T>>::Output<u64>, S>

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: Tensor<T, S>) -> Self::Output

Performs the & operation. Read more
Source§

impl<T, S> BitAnd<Tensor<T, S>> for u8
where u8: TensorOp<T>, T: TensorValue<Unmasked = u8>, <u8 as TensorOp<T>>::Output<u8>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u8 as TensorOp<T>>::Output<u8>, S>

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: Tensor<T, S>) -> Self::Output

Performs the & operation. Read more
Source§

impl<T1, T2, S1, S2> BitAnd<Tensor<T2, S2>> for &Tensor<T1, S1>
where T1: TensorOp<T2>, T2: TensorValue, T1::Unmasked: BitAnd<T2::Unmasked>, <T1::Unmasked as BitAnd<T2::Unmasked>>::Output: TensorValue, T1::Output<<T1::Unmasked as BitAnd<T2::Unmasked>>::Output>: TensorValue, S1: Shape + NdimMax<S2>, S2: Shape,

Source§

type Output = Tensor<<T1 as TensorOp<T2>>::Output<<<T1 as TensorValue>::Unmasked as BitAnd<<T2 as TensorValue>::Unmasked>>::Output>, <S1 as NdimMax<S2>>::Output>

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: Tensor<T2, S2>) -> Self::Output

Performs the & operation. Read more
Source§

impl<T1, T2, S1, S2> BitAnd<Tensor<T2, S2>> for Tensor<T1, S1>
where T1: TensorOp<T2>, T2: TensorValue, T1::Unmasked: BitAnd<T2::Unmasked>, <T1::Unmasked as BitAnd<T2::Unmasked>>::Output: TensorValue, T1::Output<<T1::Unmasked as BitAnd<T2::Unmasked>>::Output>: TensorValue, S1: Shape + NdimMax<S2>, S2: Shape,

Source§

type Output = Tensor<<T1 as TensorOp<T2>>::Output<<<T1 as TensorValue>::Unmasked as BitAnd<<T2 as TensorValue>::Unmasked>>::Output>, <S1 as NdimMax<S2>>::Output>

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: Tensor<T2, S2>) -> Self::Output

Performs the & operation. Read more
Source§

impl<T, S> BitAnd<bool> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<bool>>::Output<<<T as TensorValue>::Unmasked as BitAnd<bool>>::Output>, S>

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: bool) -> Self::Output

Performs the & operation. Read more
Source§

impl<T, S> BitAnd<bool> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<bool>>::Output<<<T as TensorValue>::Unmasked as BitAnd<bool>>::Output>, S>

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: bool) -> Self::Output

Performs the & operation. Read more
Source§

impl<T, S> BitAnd<i16> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<i16>>::Output<<<T as TensorValue>::Unmasked as BitAnd<i16>>::Output>, S>

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: i16) -> Self::Output

Performs the & operation. Read more
Source§

impl<T, S> BitAnd<i16> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<i16>>::Output<<<T as TensorValue>::Unmasked as BitAnd<i16>>::Output>, S>

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: i16) -> Self::Output

Performs the & operation. Read more
Source§

impl<T, S> BitAnd<i32> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<i32>>::Output<<<T as TensorValue>::Unmasked as BitAnd<i32>>::Output>, S>

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: i32) -> Self::Output

Performs the & operation. Read more
Source§

impl<T, S> BitAnd<i32> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<i32>>::Output<<<T as TensorValue>::Unmasked as BitAnd<i32>>::Output>, S>

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: i32) -> Self::Output

Performs the & operation. Read more
Source§

impl<T, S> BitAnd<i64> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<i64>>::Output<<<T as TensorValue>::Unmasked as BitAnd<i64>>::Output>, S>

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: i64) -> Self::Output

Performs the & operation. Read more
Source§

impl<T, S> BitAnd<i64> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<i64>>::Output<<<T as TensorValue>::Unmasked as BitAnd<i64>>::Output>, S>

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: i64) -> Self::Output

Performs the & operation. Read more
Source§

impl<T, S> BitAnd<i8> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<i8>>::Output<<<T as TensorValue>::Unmasked as BitAnd<i8>>::Output>, S>

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: i8) -> Self::Output

Performs the & operation. Read more
Source§

impl<T, S> BitAnd<i8> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<i8>>::Output<<<T as TensorValue>::Unmasked as BitAnd<i8>>::Output>, S>

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: i8) -> Self::Output

Performs the & operation. Read more
Source§

impl<T, S> BitAnd<u16> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<u16>>::Output<<<T as TensorValue>::Unmasked as BitAnd<u16>>::Output>, S>

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: u16) -> Self::Output

Performs the & operation. Read more
Source§

impl<T, S> BitAnd<u16> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<u16>>::Output<<<T as TensorValue>::Unmasked as BitAnd<u16>>::Output>, S>

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: u16) -> Self::Output

Performs the & operation. Read more
Source§

impl<T, S> BitAnd<u32> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<u32>>::Output<<<T as TensorValue>::Unmasked as BitAnd<u32>>::Output>, S>

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: u32) -> Self::Output

Performs the & operation. Read more
Source§

impl<T, S> BitAnd<u32> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<u32>>::Output<<<T as TensorValue>::Unmasked as BitAnd<u32>>::Output>, S>

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: u32) -> Self::Output

Performs the & operation. Read more
Source§

impl<T, S> BitAnd<u64> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<u64>>::Output<<<T as TensorValue>::Unmasked as BitAnd<u64>>::Output>, S>

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: u64) -> Self::Output

Performs the & operation. Read more
Source§

impl<T, S> BitAnd<u64> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<u64>>::Output<<<T as TensorValue>::Unmasked as BitAnd<u64>>::Output>, S>

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: u64) -> Self::Output

Performs the & operation. Read more
Source§

impl<T, S> BitAnd<u8> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<u8>>::Output<<<T as TensorValue>::Unmasked as BitAnd<u8>>::Output>, S>

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: u8) -> Self::Output

Performs the & operation. Read more
Source§

impl<T, S> BitAnd<u8> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<u8>>::Output<<<T as TensorValue>::Unmasked as BitAnd<u8>>::Output>, S>

The resulting type after applying the & operator.
Source§

fn bitand(self, rhs: u8) -> Self::Output

Performs the & operation. Read more
Source§

impl<T, S> BitOr<&Tensor<T, S>> for bool
where bool: TensorOp<T>, T: TensorValue<Unmasked = bool>, <bool as TensorOp<T>>::Output<bool>: TensorValue, S: Shape,

Source§

type Output = Tensor<<bool as TensorOp<T>>::Output<bool>, S>

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the | operation. Read more
Source§

impl<T, S> BitOr<&Tensor<T, S>> for i16
where i16: TensorOp<T>, T: TensorValue<Unmasked = i16>, <i16 as TensorOp<T>>::Output<i16>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i16 as TensorOp<T>>::Output<i16>, S>

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the | operation. Read more
Source§

impl<T, S> BitOr<&Tensor<T, S>> for i32
where i32: TensorOp<T>, T: TensorValue<Unmasked = i32>, <i32 as TensorOp<T>>::Output<i32>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i32 as TensorOp<T>>::Output<i32>, S>

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the | operation. Read more
Source§

impl<T, S> BitOr<&Tensor<T, S>> for i64
where i64: TensorOp<T>, T: TensorValue<Unmasked = i64>, <i64 as TensorOp<T>>::Output<i64>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i64 as TensorOp<T>>::Output<i64>, S>

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the | operation. Read more
Source§

impl<T, S> BitOr<&Tensor<T, S>> for i8
where i8: TensorOp<T>, T: TensorValue<Unmasked = i8>, <i8 as TensorOp<T>>::Output<i8>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i8 as TensorOp<T>>::Output<i8>, S>

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the | operation. Read more
Source§

impl<T, S> BitOr<&Tensor<T, S>> for u16
where u16: TensorOp<T>, T: TensorValue<Unmasked = u16>, <u16 as TensorOp<T>>::Output<u16>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u16 as TensorOp<T>>::Output<u16>, S>

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the | operation. Read more
Source§

impl<T, S> BitOr<&Tensor<T, S>> for u32
where u32: TensorOp<T>, T: TensorValue<Unmasked = u32>, <u32 as TensorOp<T>>::Output<u32>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u32 as TensorOp<T>>::Output<u32>, S>

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the | operation. Read more
Source§

impl<T, S> BitOr<&Tensor<T, S>> for u64
where u64: TensorOp<T>, T: TensorValue<Unmasked = u64>, <u64 as TensorOp<T>>::Output<u64>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u64 as TensorOp<T>>::Output<u64>, S>

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the | operation. Read more
Source§

impl<T, S> BitOr<&Tensor<T, S>> for u8
where u8: TensorOp<T>, T: TensorValue<Unmasked = u8>, <u8 as TensorOp<T>>::Output<u8>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u8 as TensorOp<T>>::Output<u8>, S>

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the | operation. Read more
Source§

impl<T1, T2, S1, S2> BitOr<&Tensor<T2, S2>> for &Tensor<T1, S1>
where T1: TensorOp<T2>, T2: TensorValue, T1::Unmasked: BitOr<T2::Unmasked>, <T1::Unmasked as BitOr<T2::Unmasked>>::Output: TensorValue, T1::Output<<T1::Unmasked as BitOr<T2::Unmasked>>::Output>: TensorValue, S1: Shape + NdimMax<S2>, S2: Shape,

Source§

type Output = Tensor<<T1 as TensorOp<T2>>::Output<<<T1 as TensorValue>::Unmasked as BitOr<<T2 as TensorValue>::Unmasked>>::Output>, <S1 as NdimMax<S2>>::Output>

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: &Tensor<T2, S2>) -> Self::Output

Performs the | operation. Read more
Source§

impl<T1, T2, S1, S2> BitOr<&Tensor<T2, S2>> for Tensor<T1, S1>
where T1: TensorOp<T2>, T2: TensorValue, T1::Unmasked: BitOr<T2::Unmasked>, <T1::Unmasked as BitOr<T2::Unmasked>>::Output: TensorValue, T1::Output<<T1::Unmasked as BitOr<T2::Unmasked>>::Output>: TensorValue, S1: Shape + NdimMax<S2>, S2: Shape,

Source§

type Output = Tensor<<T1 as TensorOp<T2>>::Output<<<T1 as TensorValue>::Unmasked as BitOr<<T2 as TensorValue>::Unmasked>>::Output>, <S1 as NdimMax<S2>>::Output>

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: &Tensor<T2, S2>) -> Self::Output

Performs the | operation. Read more
Source§

impl<T, S> BitOr<Tensor<T, S>> for bool
where bool: TensorOp<T>, T: TensorValue<Unmasked = bool>, <bool as TensorOp<T>>::Output<bool>: TensorValue, S: Shape,

Source§

type Output = Tensor<<bool as TensorOp<T>>::Output<bool>, S>

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: Tensor<T, S>) -> Self::Output

Performs the | operation. Read more
Source§

impl<T, S> BitOr<Tensor<T, S>> for i16
where i16: TensorOp<T>, T: TensorValue<Unmasked = i16>, <i16 as TensorOp<T>>::Output<i16>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i16 as TensorOp<T>>::Output<i16>, S>

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: Tensor<T, S>) -> Self::Output

Performs the | operation. Read more
Source§

impl<T, S> BitOr<Tensor<T, S>> for i32
where i32: TensorOp<T>, T: TensorValue<Unmasked = i32>, <i32 as TensorOp<T>>::Output<i32>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i32 as TensorOp<T>>::Output<i32>, S>

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: Tensor<T, S>) -> Self::Output

Performs the | operation. Read more
Source§

impl<T, S> BitOr<Tensor<T, S>> for i64
where i64: TensorOp<T>, T: TensorValue<Unmasked = i64>, <i64 as TensorOp<T>>::Output<i64>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i64 as TensorOp<T>>::Output<i64>, S>

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: Tensor<T, S>) -> Self::Output

Performs the | operation. Read more
Source§

impl<T, S> BitOr<Tensor<T, S>> for i8
where i8: TensorOp<T>, T: TensorValue<Unmasked = i8>, <i8 as TensorOp<T>>::Output<i8>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i8 as TensorOp<T>>::Output<i8>, S>

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: Tensor<T, S>) -> Self::Output

Performs the | operation. Read more
Source§

impl<T, S> BitOr<Tensor<T, S>> for u16
where u16: TensorOp<T>, T: TensorValue<Unmasked = u16>, <u16 as TensorOp<T>>::Output<u16>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u16 as TensorOp<T>>::Output<u16>, S>

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: Tensor<T, S>) -> Self::Output

Performs the | operation. Read more
Source§

impl<T, S> BitOr<Tensor<T, S>> for u32
where u32: TensorOp<T>, T: TensorValue<Unmasked = u32>, <u32 as TensorOp<T>>::Output<u32>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u32 as TensorOp<T>>::Output<u32>, S>

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: Tensor<T, S>) -> Self::Output

Performs the | operation. Read more
Source§

impl<T, S> BitOr<Tensor<T, S>> for u64
where u64: TensorOp<T>, T: TensorValue<Unmasked = u64>, <u64 as TensorOp<T>>::Output<u64>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u64 as TensorOp<T>>::Output<u64>, S>

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: Tensor<T, S>) -> Self::Output

Performs the | operation. Read more
Source§

impl<T, S> BitOr<Tensor<T, S>> for u8
where u8: TensorOp<T>, T: TensorValue<Unmasked = u8>, <u8 as TensorOp<T>>::Output<u8>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u8 as TensorOp<T>>::Output<u8>, S>

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: Tensor<T, S>) -> Self::Output

Performs the | operation. Read more
Source§

impl<T1, T2, S1, S2> BitOr<Tensor<T2, S2>> for &Tensor<T1, S1>
where T1: TensorOp<T2>, T2: TensorValue, T1::Unmasked: BitOr<T2::Unmasked>, <T1::Unmasked as BitOr<T2::Unmasked>>::Output: TensorValue, T1::Output<<T1::Unmasked as BitOr<T2::Unmasked>>::Output>: TensorValue, S1: Shape + NdimMax<S2>, S2: Shape,

Source§

type Output = Tensor<<T1 as TensorOp<T2>>::Output<<<T1 as TensorValue>::Unmasked as BitOr<<T2 as TensorValue>::Unmasked>>::Output>, <S1 as NdimMax<S2>>::Output>

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: Tensor<T2, S2>) -> Self::Output

Performs the | operation. Read more
Source§

impl<T1, T2, S1, S2> BitOr<Tensor<T2, S2>> for Tensor<T1, S1>
where T1: TensorOp<T2>, T2: TensorValue, T1::Unmasked: BitOr<T2::Unmasked>, <T1::Unmasked as BitOr<T2::Unmasked>>::Output: TensorValue, T1::Output<<T1::Unmasked as BitOr<T2::Unmasked>>::Output>: TensorValue, S1: Shape + NdimMax<S2>, S2: Shape,

Source§

type Output = Tensor<<T1 as TensorOp<T2>>::Output<<<T1 as TensorValue>::Unmasked as BitOr<<T2 as TensorValue>::Unmasked>>::Output>, <S1 as NdimMax<S2>>::Output>

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: Tensor<T2, S2>) -> Self::Output

Performs the | operation. Read more
Source§

impl<T, S> BitOr<bool> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<bool>>::Output<<<T as TensorValue>::Unmasked as BitOr<bool>>::Output>, S>

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: bool) -> Self::Output

Performs the | operation. Read more
Source§

impl<T, S> BitOr<bool> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<bool>>::Output<<<T as TensorValue>::Unmasked as BitOr<bool>>::Output>, S>

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: bool) -> Self::Output

Performs the | operation. Read more
Source§

impl<T, S> BitOr<i16> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<i16>>::Output<<<T as TensorValue>::Unmasked as BitOr<i16>>::Output>, S>

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: i16) -> Self::Output

Performs the | operation. Read more
Source§

impl<T, S> BitOr<i16> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<i16>>::Output<<<T as TensorValue>::Unmasked as BitOr<i16>>::Output>, S>

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: i16) -> Self::Output

Performs the | operation. Read more
Source§

impl<T, S> BitOr<i32> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<i32>>::Output<<<T as TensorValue>::Unmasked as BitOr<i32>>::Output>, S>

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: i32) -> Self::Output

Performs the | operation. Read more
Source§

impl<T, S> BitOr<i32> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<i32>>::Output<<<T as TensorValue>::Unmasked as BitOr<i32>>::Output>, S>

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: i32) -> Self::Output

Performs the | operation. Read more
Source§

impl<T, S> BitOr<i64> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<i64>>::Output<<<T as TensorValue>::Unmasked as BitOr<i64>>::Output>, S>

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: i64) -> Self::Output

Performs the | operation. Read more
Source§

impl<T, S> BitOr<i64> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<i64>>::Output<<<T as TensorValue>::Unmasked as BitOr<i64>>::Output>, S>

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: i64) -> Self::Output

Performs the | operation. Read more
Source§

impl<T, S> BitOr<i8> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<i8>>::Output<<<T as TensorValue>::Unmasked as BitOr<i8>>::Output>, S>

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: i8) -> Self::Output

Performs the | operation. Read more
Source§

impl<T, S> BitOr<i8> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<i8>>::Output<<<T as TensorValue>::Unmasked as BitOr<i8>>::Output>, S>

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: i8) -> Self::Output

Performs the | operation. Read more
Source§

impl<T, S> BitOr<u16> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<u16>>::Output<<<T as TensorValue>::Unmasked as BitOr<u16>>::Output>, S>

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: u16) -> Self::Output

Performs the | operation. Read more
Source§

impl<T, S> BitOr<u16> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<u16>>::Output<<<T as TensorValue>::Unmasked as BitOr<u16>>::Output>, S>

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: u16) -> Self::Output

Performs the | operation. Read more
Source§

impl<T, S> BitOr<u32> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<u32>>::Output<<<T as TensorValue>::Unmasked as BitOr<u32>>::Output>, S>

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: u32) -> Self::Output

Performs the | operation. Read more
Source§

impl<T, S> BitOr<u32> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<u32>>::Output<<<T as TensorValue>::Unmasked as BitOr<u32>>::Output>, S>

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: u32) -> Self::Output

Performs the | operation. Read more
Source§

impl<T, S> BitOr<u64> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<u64>>::Output<<<T as TensorValue>::Unmasked as BitOr<u64>>::Output>, S>

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: u64) -> Self::Output

Performs the | operation. Read more
Source§

impl<T, S> BitOr<u64> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<u64>>::Output<<<T as TensorValue>::Unmasked as BitOr<u64>>::Output>, S>

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: u64) -> Self::Output

Performs the | operation. Read more
Source§

impl<T, S> BitOr<u8> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<u8>>::Output<<<T as TensorValue>::Unmasked as BitOr<u8>>::Output>, S>

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: u8) -> Self::Output

Performs the | operation. Read more
Source§

impl<T, S> BitOr<u8> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<u8>>::Output<<<T as TensorValue>::Unmasked as BitOr<u8>>::Output>, S>

The resulting type after applying the | operator.
Source§

fn bitor(self, rhs: u8) -> Self::Output

Performs the | operation. Read more
Source§

impl<T, S> BitXor<&Tensor<T, S>> for bool
where bool: TensorOp<T>, T: TensorValue<Unmasked = bool>, <bool as TensorOp<T>>::Output<bool>: TensorValue, S: Shape,

Source§

type Output = Tensor<<bool as TensorOp<T>>::Output<bool>, S>

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the ^ operation. Read more
Source§

impl<T, S> BitXor<&Tensor<T, S>> for i16
where i16: TensorOp<T>, T: TensorValue<Unmasked = i16>, <i16 as TensorOp<T>>::Output<i16>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i16 as TensorOp<T>>::Output<i16>, S>

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the ^ operation. Read more
Source§

impl<T, S> BitXor<&Tensor<T, S>> for i32
where i32: TensorOp<T>, T: TensorValue<Unmasked = i32>, <i32 as TensorOp<T>>::Output<i32>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i32 as TensorOp<T>>::Output<i32>, S>

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the ^ operation. Read more
Source§

impl<T, S> BitXor<&Tensor<T, S>> for i64
where i64: TensorOp<T>, T: TensorValue<Unmasked = i64>, <i64 as TensorOp<T>>::Output<i64>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i64 as TensorOp<T>>::Output<i64>, S>

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the ^ operation. Read more
Source§

impl<T, S> BitXor<&Tensor<T, S>> for i8
where i8: TensorOp<T>, T: TensorValue<Unmasked = i8>, <i8 as TensorOp<T>>::Output<i8>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i8 as TensorOp<T>>::Output<i8>, S>

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the ^ operation. Read more
Source§

impl<T, S> BitXor<&Tensor<T, S>> for u16
where u16: TensorOp<T>, T: TensorValue<Unmasked = u16>, <u16 as TensorOp<T>>::Output<u16>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u16 as TensorOp<T>>::Output<u16>, S>

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the ^ operation. Read more
Source§

impl<T, S> BitXor<&Tensor<T, S>> for u32
where u32: TensorOp<T>, T: TensorValue<Unmasked = u32>, <u32 as TensorOp<T>>::Output<u32>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u32 as TensorOp<T>>::Output<u32>, S>

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the ^ operation. Read more
Source§

impl<T, S> BitXor<&Tensor<T, S>> for u64
where u64: TensorOp<T>, T: TensorValue<Unmasked = u64>, <u64 as TensorOp<T>>::Output<u64>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u64 as TensorOp<T>>::Output<u64>, S>

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the ^ operation. Read more
Source§

impl<T, S> BitXor<&Tensor<T, S>> for u8
where u8: TensorOp<T>, T: TensorValue<Unmasked = u8>, <u8 as TensorOp<T>>::Output<u8>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u8 as TensorOp<T>>::Output<u8>, S>

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the ^ operation. Read more
Source§

impl<T1, T2, S1, S2> BitXor<&Tensor<T2, S2>> for &Tensor<T1, S1>
where T1: TensorOp<T2>, T2: TensorValue, T1::Unmasked: BitXor<T2::Unmasked>, <T1::Unmasked as BitXor<T2::Unmasked>>::Output: TensorValue, T1::Output<<T1::Unmasked as BitXor<T2::Unmasked>>::Output>: TensorValue, S1: Shape + NdimMax<S2>, S2: Shape,

Source§

type Output = Tensor<<T1 as TensorOp<T2>>::Output<<<T1 as TensorValue>::Unmasked as BitXor<<T2 as TensorValue>::Unmasked>>::Output>, <S1 as NdimMax<S2>>::Output>

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: &Tensor<T2, S2>) -> Self::Output

Performs the ^ operation. Read more
Source§

impl<T1, T2, S1, S2> BitXor<&Tensor<T2, S2>> for Tensor<T1, S1>
where T1: TensorOp<T2>, T2: TensorValue, T1::Unmasked: BitXor<T2::Unmasked>, <T1::Unmasked as BitXor<T2::Unmasked>>::Output: TensorValue, T1::Output<<T1::Unmasked as BitXor<T2::Unmasked>>::Output>: TensorValue, S1: Shape + NdimMax<S2>, S2: Shape,

Source§

type Output = Tensor<<T1 as TensorOp<T2>>::Output<<<T1 as TensorValue>::Unmasked as BitXor<<T2 as TensorValue>::Unmasked>>::Output>, <S1 as NdimMax<S2>>::Output>

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: &Tensor<T2, S2>) -> Self::Output

Performs the ^ operation. Read more
Source§

impl<T, S> BitXor<Tensor<T, S>> for bool
where bool: TensorOp<T>, T: TensorValue<Unmasked = bool>, <bool as TensorOp<T>>::Output<bool>: TensorValue, S: Shape,

Source§

type Output = Tensor<<bool as TensorOp<T>>::Output<bool>, S>

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: Tensor<T, S>) -> Self::Output

Performs the ^ operation. Read more
Source§

impl<T, S> BitXor<Tensor<T, S>> for i16
where i16: TensorOp<T>, T: TensorValue<Unmasked = i16>, <i16 as TensorOp<T>>::Output<i16>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i16 as TensorOp<T>>::Output<i16>, S>

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: Tensor<T, S>) -> Self::Output

Performs the ^ operation. Read more
Source§

impl<T, S> BitXor<Tensor<T, S>> for i32
where i32: TensorOp<T>, T: TensorValue<Unmasked = i32>, <i32 as TensorOp<T>>::Output<i32>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i32 as TensorOp<T>>::Output<i32>, S>

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: Tensor<T, S>) -> Self::Output

Performs the ^ operation. Read more
Source§

impl<T, S> BitXor<Tensor<T, S>> for i64
where i64: TensorOp<T>, T: TensorValue<Unmasked = i64>, <i64 as TensorOp<T>>::Output<i64>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i64 as TensorOp<T>>::Output<i64>, S>

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: Tensor<T, S>) -> Self::Output

Performs the ^ operation. Read more
Source§

impl<T, S> BitXor<Tensor<T, S>> for i8
where i8: TensorOp<T>, T: TensorValue<Unmasked = i8>, <i8 as TensorOp<T>>::Output<i8>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i8 as TensorOp<T>>::Output<i8>, S>

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: Tensor<T, S>) -> Self::Output

Performs the ^ operation. Read more
Source§

impl<T, S> BitXor<Tensor<T, S>> for u16
where u16: TensorOp<T>, T: TensorValue<Unmasked = u16>, <u16 as TensorOp<T>>::Output<u16>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u16 as TensorOp<T>>::Output<u16>, S>

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: Tensor<T, S>) -> Self::Output

Performs the ^ operation. Read more
Source§

impl<T, S> BitXor<Tensor<T, S>> for u32
where u32: TensorOp<T>, T: TensorValue<Unmasked = u32>, <u32 as TensorOp<T>>::Output<u32>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u32 as TensorOp<T>>::Output<u32>, S>

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: Tensor<T, S>) -> Self::Output

Performs the ^ operation. Read more
Source§

impl<T, S> BitXor<Tensor<T, S>> for u64
where u64: TensorOp<T>, T: TensorValue<Unmasked = u64>, <u64 as TensorOp<T>>::Output<u64>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u64 as TensorOp<T>>::Output<u64>, S>

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: Tensor<T, S>) -> Self::Output

Performs the ^ operation. Read more
Source§

impl<T, S> BitXor<Tensor<T, S>> for u8
where u8: TensorOp<T>, T: TensorValue<Unmasked = u8>, <u8 as TensorOp<T>>::Output<u8>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u8 as TensorOp<T>>::Output<u8>, S>

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: Tensor<T, S>) -> Self::Output

Performs the ^ operation. Read more
Source§

impl<T1, T2, S1, S2> BitXor<Tensor<T2, S2>> for &Tensor<T1, S1>
where T1: TensorOp<T2>, T2: TensorValue, T1::Unmasked: BitXor<T2::Unmasked>, <T1::Unmasked as BitXor<T2::Unmasked>>::Output: TensorValue, T1::Output<<T1::Unmasked as BitXor<T2::Unmasked>>::Output>: TensorValue, S1: Shape + NdimMax<S2>, S2: Shape,

Source§

type Output = Tensor<<T1 as TensorOp<T2>>::Output<<<T1 as TensorValue>::Unmasked as BitXor<<T2 as TensorValue>::Unmasked>>::Output>, <S1 as NdimMax<S2>>::Output>

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: Tensor<T2, S2>) -> Self::Output

Performs the ^ operation. Read more
Source§

impl<T1, T2, S1, S2> BitXor<Tensor<T2, S2>> for Tensor<T1, S1>
where T1: TensorOp<T2>, T2: TensorValue, T1::Unmasked: BitXor<T2::Unmasked>, <T1::Unmasked as BitXor<T2::Unmasked>>::Output: TensorValue, T1::Output<<T1::Unmasked as BitXor<T2::Unmasked>>::Output>: TensorValue, S1: Shape + NdimMax<S2>, S2: Shape,

Source§

type Output = Tensor<<T1 as TensorOp<T2>>::Output<<<T1 as TensorValue>::Unmasked as BitXor<<T2 as TensorValue>::Unmasked>>::Output>, <S1 as NdimMax<S2>>::Output>

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: Tensor<T2, S2>) -> Self::Output

Performs the ^ operation. Read more
Source§

impl<T, S> BitXor<bool> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<bool>>::Output<<<T as TensorValue>::Unmasked as BitXor<bool>>::Output>, S>

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: bool) -> Self::Output

Performs the ^ operation. Read more
Source§

impl<T, S> BitXor<bool> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<bool>>::Output<<<T as TensorValue>::Unmasked as BitXor<bool>>::Output>, S>

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: bool) -> Self::Output

Performs the ^ operation. Read more
Source§

impl<T, S> BitXor<i16> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<i16>>::Output<<<T as TensorValue>::Unmasked as BitXor<i16>>::Output>, S>

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: i16) -> Self::Output

Performs the ^ operation. Read more
Source§

impl<T, S> BitXor<i16> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<i16>>::Output<<<T as TensorValue>::Unmasked as BitXor<i16>>::Output>, S>

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: i16) -> Self::Output

Performs the ^ operation. Read more
Source§

impl<T, S> BitXor<i32> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<i32>>::Output<<<T as TensorValue>::Unmasked as BitXor<i32>>::Output>, S>

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: i32) -> Self::Output

Performs the ^ operation. Read more
Source§

impl<T, S> BitXor<i32> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<i32>>::Output<<<T as TensorValue>::Unmasked as BitXor<i32>>::Output>, S>

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: i32) -> Self::Output

Performs the ^ operation. Read more
Source§

impl<T, S> BitXor<i64> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<i64>>::Output<<<T as TensorValue>::Unmasked as BitXor<i64>>::Output>, S>

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: i64) -> Self::Output

Performs the ^ operation. Read more
Source§

impl<T, S> BitXor<i64> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<i64>>::Output<<<T as TensorValue>::Unmasked as BitXor<i64>>::Output>, S>

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: i64) -> Self::Output

Performs the ^ operation. Read more
Source§

impl<T, S> BitXor<i8> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<i8>>::Output<<<T as TensorValue>::Unmasked as BitXor<i8>>::Output>, S>

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: i8) -> Self::Output

Performs the ^ operation. Read more
Source§

impl<T, S> BitXor<i8> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<i8>>::Output<<<T as TensorValue>::Unmasked as BitXor<i8>>::Output>, S>

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: i8) -> Self::Output

Performs the ^ operation. Read more
Source§

impl<T, S> BitXor<u16> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<u16>>::Output<<<T as TensorValue>::Unmasked as BitXor<u16>>::Output>, S>

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: u16) -> Self::Output

Performs the ^ operation. Read more
Source§

impl<T, S> BitXor<u16> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<u16>>::Output<<<T as TensorValue>::Unmasked as BitXor<u16>>::Output>, S>

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: u16) -> Self::Output

Performs the ^ operation. Read more
Source§

impl<T, S> BitXor<u32> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<u32>>::Output<<<T as TensorValue>::Unmasked as BitXor<u32>>::Output>, S>

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: u32) -> Self::Output

Performs the ^ operation. Read more
Source§

impl<T, S> BitXor<u32> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<u32>>::Output<<<T as TensorValue>::Unmasked as BitXor<u32>>::Output>, S>

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: u32) -> Self::Output

Performs the ^ operation. Read more
Source§

impl<T, S> BitXor<u64> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<u64>>::Output<<<T as TensorValue>::Unmasked as BitXor<u64>>::Output>, S>

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: u64) -> Self::Output

Performs the ^ operation. Read more
Source§

impl<T, S> BitXor<u64> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<u64>>::Output<<<T as TensorValue>::Unmasked as BitXor<u64>>::Output>, S>

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: u64) -> Self::Output

Performs the ^ operation. Read more
Source§

impl<T, S> BitXor<u8> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<u8>>::Output<<<T as TensorValue>::Unmasked as BitXor<u8>>::Output>, S>

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: u8) -> Self::Output

Performs the ^ operation. Read more
Source§

impl<T, S> BitXor<u8> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<u8>>::Output<<<T as TensorValue>::Unmasked as BitXor<u8>>::Output>, S>

The resulting type after applying the ^ operator.
Source§

fn bitxor(self, rhs: u8) -> Self::Output

Performs the ^ operation. Read more
Source§

impl<T: Clone + TensorValue, S: Clone> Clone for Tensor<T, S>
where T::Array: Clone,

Source§

fn clone(&self) -> Tensor<T, S>

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<T, S> Column for Tensor<T, S>
where T: TensorValue, S: Shape,

Source§

impl<T, S> Debug for Tensor<T, S>
where T: TensorValue, S: Shape,

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<T, S> Div<&Tensor<T, S>> for f32
where f32: TensorOp<T>, T: TensorValue<Unmasked = f32>, <f32 as TensorOp<T>>::Output<f32>: TensorValue, S: Shape,

Source§

type Output = Tensor<<f32 as TensorOp<T>>::Output<f32>, S>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, S> Div<&Tensor<T, S>> for f64
where f64: TensorOp<T>, T: TensorValue<Unmasked = f64>, <f64 as TensorOp<T>>::Output<f64>: TensorValue, S: Shape,

Source§

type Output = Tensor<<f64 as TensorOp<T>>::Output<f64>, S>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, S> Div<&Tensor<T, S>> for i16
where i16: TensorOp<T>, T: TensorValue<Unmasked = i16>, <i16 as TensorOp<T>>::Output<i16>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i16 as TensorOp<T>>::Output<i16>, S>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, S> Div<&Tensor<T, S>> for i32
where i32: TensorOp<T>, T: TensorValue<Unmasked = i32>, <i32 as TensorOp<T>>::Output<i32>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i32 as TensorOp<T>>::Output<i32>, S>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, S> Div<&Tensor<T, S>> for i64
where i64: TensorOp<T>, T: TensorValue<Unmasked = i64>, <i64 as TensorOp<T>>::Output<i64>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i64 as TensorOp<T>>::Output<i64>, S>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, S> Div<&Tensor<T, S>> for i8
where i8: TensorOp<T>, T: TensorValue<Unmasked = i8>, <i8 as TensorOp<T>>::Output<i8>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i8 as TensorOp<T>>::Output<i8>, S>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, S> Div<&Tensor<T, S>> for u16
where u16: TensorOp<T>, T: TensorValue<Unmasked = u16>, <u16 as TensorOp<T>>::Output<u16>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u16 as TensorOp<T>>::Output<u16>, S>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, S> Div<&Tensor<T, S>> for u32
where u32: TensorOp<T>, T: TensorValue<Unmasked = u32>, <u32 as TensorOp<T>>::Output<u32>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u32 as TensorOp<T>>::Output<u32>, S>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, S> Div<&Tensor<T, S>> for u64
where u64: TensorOp<T>, T: TensorValue<Unmasked = u64>, <u64 as TensorOp<T>>::Output<u64>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u64 as TensorOp<T>>::Output<u64>, S>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, S> Div<&Tensor<T, S>> for u8
where u8: TensorOp<T>, T: TensorValue<Unmasked = u8>, <u8 as TensorOp<T>>::Output<u8>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u8 as TensorOp<T>>::Output<u8>, S>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T1, T2, S1, S2> Div<&Tensor<T2, S2>> for &Tensor<T1, S1>
where T1: TensorOp<T2>, T2: TensorValue, T1::Unmasked: Div<T2::Unmasked>, <T1::Unmasked as Div<T2::Unmasked>>::Output: TensorValue, T1::Output<<T1::Unmasked as Div<T2::Unmasked>>::Output>: TensorValue, S1: Shape + NdimMax<S2>, S2: Shape,

Source§

type Output = Tensor<<T1 as TensorOp<T2>>::Output<<<T1 as TensorValue>::Unmasked as Div<<T2 as TensorValue>::Unmasked>>::Output>, <S1 as NdimMax<S2>>::Output>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Tensor<T2, S2>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T1, T2, S1, S2> Div<&Tensor<T2, S2>> for Tensor<T1, S1>
where T1: TensorOp<T2>, T2: TensorValue, T1::Unmasked: Div<T2::Unmasked>, <T1::Unmasked as Div<T2::Unmasked>>::Output: TensorValue, T1::Output<<T1::Unmasked as Div<T2::Unmasked>>::Output>: TensorValue, S1: Shape + NdimMax<S2>, S2: Shape,

Source§

type Output = Tensor<<T1 as TensorOp<T2>>::Output<<<T1 as TensorValue>::Unmasked as Div<<T2 as TensorValue>::Unmasked>>::Output>, <S1 as NdimMax<S2>>::Output>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: &Tensor<T2, S2>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, S> Div<Tensor<T, S>> for f32
where f32: TensorOp<T>, T: TensorValue<Unmasked = f32>, <f32 as TensorOp<T>>::Output<f32>: TensorValue, S: Shape,

Source§

type Output = Tensor<<f32 as TensorOp<T>>::Output<f32>, S>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Tensor<T, S>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, S> Div<Tensor<T, S>> for f64
where f64: TensorOp<T>, T: TensorValue<Unmasked = f64>, <f64 as TensorOp<T>>::Output<f64>: TensorValue, S: Shape,

Source§

type Output = Tensor<<f64 as TensorOp<T>>::Output<f64>, S>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Tensor<T, S>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, S> Div<Tensor<T, S>> for i16
where i16: TensorOp<T>, T: TensorValue<Unmasked = i16>, <i16 as TensorOp<T>>::Output<i16>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i16 as TensorOp<T>>::Output<i16>, S>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Tensor<T, S>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, S> Div<Tensor<T, S>> for i32
where i32: TensorOp<T>, T: TensorValue<Unmasked = i32>, <i32 as TensorOp<T>>::Output<i32>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i32 as TensorOp<T>>::Output<i32>, S>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Tensor<T, S>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, S> Div<Tensor<T, S>> for i64
where i64: TensorOp<T>, T: TensorValue<Unmasked = i64>, <i64 as TensorOp<T>>::Output<i64>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i64 as TensorOp<T>>::Output<i64>, S>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Tensor<T, S>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, S> Div<Tensor<T, S>> for i8
where i8: TensorOp<T>, T: TensorValue<Unmasked = i8>, <i8 as TensorOp<T>>::Output<i8>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i8 as TensorOp<T>>::Output<i8>, S>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Tensor<T, S>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, S> Div<Tensor<T, S>> for u16
where u16: TensorOp<T>, T: TensorValue<Unmasked = u16>, <u16 as TensorOp<T>>::Output<u16>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u16 as TensorOp<T>>::Output<u16>, S>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Tensor<T, S>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, S> Div<Tensor<T, S>> for u32
where u32: TensorOp<T>, T: TensorValue<Unmasked = u32>, <u32 as TensorOp<T>>::Output<u32>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u32 as TensorOp<T>>::Output<u32>, S>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Tensor<T, S>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, S> Div<Tensor<T, S>> for u64
where u64: TensorOp<T>, T: TensorValue<Unmasked = u64>, <u64 as TensorOp<T>>::Output<u64>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u64 as TensorOp<T>>::Output<u64>, S>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Tensor<T, S>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, S> Div<Tensor<T, S>> for u8
where u8: TensorOp<T>, T: TensorValue<Unmasked = u8>, <u8 as TensorOp<T>>::Output<u8>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u8 as TensorOp<T>>::Output<u8>, S>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Tensor<T, S>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T1, T2, S1, S2> Div<Tensor<T2, S2>> for &Tensor<T1, S1>
where T1: TensorOp<T2>, T2: TensorValue, T1::Unmasked: Div<T2::Unmasked>, <T1::Unmasked as Div<T2::Unmasked>>::Output: TensorValue, T1::Output<<T1::Unmasked as Div<T2::Unmasked>>::Output>: TensorValue, S1: Shape + NdimMax<S2>, S2: Shape,

Source§

type Output = Tensor<<T1 as TensorOp<T2>>::Output<<<T1 as TensorValue>::Unmasked as Div<<T2 as TensorValue>::Unmasked>>::Output>, <S1 as NdimMax<S2>>::Output>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Tensor<T2, S2>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T1, T2, S1, S2> Div<Tensor<T2, S2>> for Tensor<T1, S1>
where T1: TensorOp<T2>, T2: TensorValue, T1::Unmasked: Div<T2::Unmasked>, <T1::Unmasked as Div<T2::Unmasked>>::Output: TensorValue, T1::Output<<T1::Unmasked as Div<T2::Unmasked>>::Output>: TensorValue, S1: Shape + NdimMax<S2>, S2: Shape,

Source§

type Output = Tensor<<T1 as TensorOp<T2>>::Output<<<T1 as TensorValue>::Unmasked as Div<<T2 as TensorValue>::Unmasked>>::Output>, <S1 as NdimMax<S2>>::Output>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: Tensor<T2, S2>) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, S> Div<f32> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<f32>>::Output<<<T as TensorValue>::Unmasked as Div<f32>>::Output>, S>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: f32) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, S> Div<f32> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<f32>>::Output<<<T as TensorValue>::Unmasked as Div<f32>>::Output>, S>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: f32) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, S> Div<f64> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<f64>>::Output<<<T as TensorValue>::Unmasked as Div<f64>>::Output>, S>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: f64) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, S> Div<f64> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<f64>>::Output<<<T as TensorValue>::Unmasked as Div<f64>>::Output>, S>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: f64) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, S> Div<i16> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<i16>>::Output<<<T as TensorValue>::Unmasked as Div<i16>>::Output>, S>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: i16) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, S> Div<i16> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<i16>>::Output<<<T as TensorValue>::Unmasked as Div<i16>>::Output>, S>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: i16) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, S> Div<i32> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<i32>>::Output<<<T as TensorValue>::Unmasked as Div<i32>>::Output>, S>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: i32) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, S> Div<i32> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<i32>>::Output<<<T as TensorValue>::Unmasked as Div<i32>>::Output>, S>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: i32) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, S> Div<i64> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<i64>>::Output<<<T as TensorValue>::Unmasked as Div<i64>>::Output>, S>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: i64) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, S> Div<i64> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<i64>>::Output<<<T as TensorValue>::Unmasked as Div<i64>>::Output>, S>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: i64) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, S> Div<i8> for &Tensor<T, S>
where T: TensorOp<i8>, T::Unmasked: Div<i8>, <T::Unmasked as Div<i8>>::Output: TensorValue, T::Output<<T::Unmasked as Div<i8>>::Output>: TensorValue, S: Shape,

Source§

type Output = Tensor<<T as TensorOp<i8>>::Output<<<T as TensorValue>::Unmasked as Div<i8>>::Output>, S>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: i8) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, S> Div<i8> for Tensor<T, S>
where T: TensorOp<i8>, T::Unmasked: Div<i8>, <T::Unmasked as Div<i8>>::Output: TensorValue, T::Output<<T::Unmasked as Div<i8>>::Output>: TensorValue, S: Shape,

Source§

type Output = Tensor<<T as TensorOp<i8>>::Output<<<T as TensorValue>::Unmasked as Div<i8>>::Output>, S>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: i8) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, S> Div<u16> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<u16>>::Output<<<T as TensorValue>::Unmasked as Div<u16>>::Output>, S>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: u16) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, S> Div<u16> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<u16>>::Output<<<T as TensorValue>::Unmasked as Div<u16>>::Output>, S>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: u16) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, S> Div<u32> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<u32>>::Output<<<T as TensorValue>::Unmasked as Div<u32>>::Output>, S>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: u32) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, S> Div<u32> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<u32>>::Output<<<T as TensorValue>::Unmasked as Div<u32>>::Output>, S>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: u32) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, S> Div<u64> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<u64>>::Output<<<T as TensorValue>::Unmasked as Div<u64>>::Output>, S>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: u64) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, S> Div<u64> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<u64>>::Output<<<T as TensorValue>::Unmasked as Div<u64>>::Output>, S>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: u64) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, S> Div<u8> for &Tensor<T, S>
where T: TensorOp<u8>, T::Unmasked: Div<u8>, <T::Unmasked as Div<u8>>::Output: TensorValue, T::Output<<T::Unmasked as Div<u8>>::Output>: TensorValue, S: Shape,

Source§

type Output = Tensor<<T as TensorOp<u8>>::Output<<<T as TensorValue>::Unmasked as Div<u8>>::Output>, S>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: u8) -> Self::Output

Performs the / operation. Read more
Source§

impl<T, S> Div<u8> for Tensor<T, S>
where T: TensorOp<u8>, T::Unmasked: Div<u8>, <T::Unmasked as Div<u8>>::Output: TensorValue, T::Output<<T::Unmasked as Div<u8>>::Output>: TensorValue, S: Shape,

Source§

type Output = Tensor<<T as TensorOp<u8>>::Output<<<T as TensorValue>::Unmasked as Div<u8>>::Output>, S>

The resulting type after applying the / operator.
Source§

fn div(self, rhs: u8) -> Self::Output

Performs the / operation. Read more
Source§

impl<S: Shape> From<&Tensor<bool, S>> for Mask<S>

Source§

fn from(t: &Tensor<bool, S>) -> Self

Converts to this type from the input type.
Source§

impl<S: Shape> From<Mask<S>> for Tensor<bool, S>

Source§

fn from(m: Mask<S>) -> Self

Converts to this type from the input type.
Source§

impl<T> From<T> for Tensor<T, Const<0>>
where T: TensorValue,

Source§

fn from(value: T) -> Self

Converts to this type from the input type.
Source§

impl<T: TensorValue> From<Tensor<T, Const<1>>> for Vec<T>

Source§

fn from(value: Tensor<T, Const<1>>) -> Self

Converts to this type from the input type.
Source§

impl<S: Shape> From<Tensor<bool, S>> for Mask<S>

Source§

fn from(t: Tensor<bool, S>) -> Self

Converts to this type from the input type.
Source§

impl<T, const D1: usize, const D2: usize> From<Vec<[[T; D2]; D1]>> for Tensor<T, Const<3>>
where T: TensorValue,

Source§

fn from(value: Vec<[[T; D2]; D1]>) -> Self

Converts to this type from the input type.
Source§

impl<T, const D: usize> From<Vec<[T; D]>> for Tensor<T, Const<2>>
where T: TensorValue,

Source§

fn from(value: Vec<[T; D]>) -> Self

Converts to this type from the input type.
Source§

impl<T> From<Vec<T>> for Tensor<T, Const<1>>
where T: TensorValue,

Source§

fn from(value: Vec<T>) -> Self

Converts to this type from the input type.
Source§

impl<T> FromIterator<T> for Tensor<T, Const<1>>
where T: TensorValue,

Source§

fn from_iter<I: IntoIterator<Item = T>>(iter: I) -> Self

Creates a value from an iterator. Read more
Source§

impl<'a, T, S> IntoIterator for &'a Tensor<T, S>
where T: TensorValue, S: Shape,

Source§

type Item = T

The type of the elements being iterated over.
Source§

type IntoIter = TensorIter<T, S>

Which kind of iterator are we turning this into?
Source§

fn into_iter(self) -> Self::IntoIter

Creates an iterator from a value. Read more
Source§

impl<T, S> IntoIterator for Tensor<T, S>
where T: TensorValue, S: Shape,

Source§

type Item = T

The type of the elements being iterated over.
Source§

type IntoIter = TensorIter<T, S>

Which kind of iterator are we turning this into?
Source§

fn into_iter(self) -> Self::IntoIter

Creates an iterator from a value. Read more
Source§

impl<T, S> Mul<&Tensor<T, S>> for f32
where f32: TensorOp<T>, T: TensorValue<Unmasked = f32>, <f32 as TensorOp<T>>::Output<f32>: TensorValue, S: Shape,

Source§

type Output = Tensor<<f32 as TensorOp<T>>::Output<f32>, S>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, S> Mul<&Tensor<T, S>> for f64
where f64: TensorOp<T>, T: TensorValue<Unmasked = f64>, <f64 as TensorOp<T>>::Output<f64>: TensorValue, S: Shape,

Source§

type Output = Tensor<<f64 as TensorOp<T>>::Output<f64>, S>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, S> Mul<&Tensor<T, S>> for i16
where i16: TensorOp<T>, T: TensorValue<Unmasked = i16>, <i16 as TensorOp<T>>::Output<i16>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i16 as TensorOp<T>>::Output<i16>, S>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, S> Mul<&Tensor<T, S>> for i32
where i32: TensorOp<T>, T: TensorValue<Unmasked = i32>, <i32 as TensorOp<T>>::Output<i32>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i32 as TensorOp<T>>::Output<i32>, S>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, S> Mul<&Tensor<T, S>> for i64
where i64: TensorOp<T>, T: TensorValue<Unmasked = i64>, <i64 as TensorOp<T>>::Output<i64>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i64 as TensorOp<T>>::Output<i64>, S>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, S> Mul<&Tensor<T, S>> for i8
where i8: TensorOp<T>, T: TensorValue<Unmasked = i8>, <i8 as TensorOp<T>>::Output<i8>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i8 as TensorOp<T>>::Output<i8>, S>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, S> Mul<&Tensor<T, S>> for u16
where u16: TensorOp<T>, T: TensorValue<Unmasked = u16>, <u16 as TensorOp<T>>::Output<u16>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u16 as TensorOp<T>>::Output<u16>, S>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, S> Mul<&Tensor<T, S>> for u32
where u32: TensorOp<T>, T: TensorValue<Unmasked = u32>, <u32 as TensorOp<T>>::Output<u32>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u32 as TensorOp<T>>::Output<u32>, S>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, S> Mul<&Tensor<T, S>> for u64
where u64: TensorOp<T>, T: TensorValue<Unmasked = u64>, <u64 as TensorOp<T>>::Output<u64>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u64 as TensorOp<T>>::Output<u64>, S>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, S> Mul<&Tensor<T, S>> for u8
where u8: TensorOp<T>, T: TensorValue<Unmasked = u8>, <u8 as TensorOp<T>>::Output<u8>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u8 as TensorOp<T>>::Output<u8>, S>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T1, T2, S1, S2> Mul<&Tensor<T2, S2>> for &Tensor<T1, S1>
where T1: TensorOp<T2>, T2: TensorValue, T1::Unmasked: Mul<T2::Unmasked>, <T1::Unmasked as Mul<T2::Unmasked>>::Output: TensorValue, T1::Output<<T1::Unmasked as Mul<T2::Unmasked>>::Output>: TensorValue, S1: Shape + NdimMax<S2>, S2: Shape,

Source§

type Output = Tensor<<T1 as TensorOp<T2>>::Output<<<T1 as TensorValue>::Unmasked as Mul<<T2 as TensorValue>::Unmasked>>::Output>, <S1 as NdimMax<S2>>::Output>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Tensor<T2, S2>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T1, T2, S1, S2> Mul<&Tensor<T2, S2>> for Tensor<T1, S1>
where T1: TensorOp<T2>, T2: TensorValue, T1::Unmasked: Mul<T2::Unmasked>, <T1::Unmasked as Mul<T2::Unmasked>>::Output: TensorValue, T1::Output<<T1::Unmasked as Mul<T2::Unmasked>>::Output>: TensorValue, S1: Shape + NdimMax<S2>, S2: Shape,

Source§

type Output = Tensor<<T1 as TensorOp<T2>>::Output<<<T1 as TensorValue>::Unmasked as Mul<<T2 as TensorValue>::Unmasked>>::Output>, <S1 as NdimMax<S2>>::Output>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: &Tensor<T2, S2>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, S> Mul<Tensor<T, S>> for f32
where f32: TensorOp<T>, T: TensorValue<Unmasked = f32>, <f32 as TensorOp<T>>::Output<f32>: TensorValue, S: Shape,

Source§

type Output = Tensor<<f32 as TensorOp<T>>::Output<f32>, S>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Tensor<T, S>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, S> Mul<Tensor<T, S>> for f64
where f64: TensorOp<T>, T: TensorValue<Unmasked = f64>, <f64 as TensorOp<T>>::Output<f64>: TensorValue, S: Shape,

Source§

type Output = Tensor<<f64 as TensorOp<T>>::Output<f64>, S>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Tensor<T, S>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, S> Mul<Tensor<T, S>> for i16
where i16: TensorOp<T>, T: TensorValue<Unmasked = i16>, <i16 as TensorOp<T>>::Output<i16>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i16 as TensorOp<T>>::Output<i16>, S>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Tensor<T, S>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, S> Mul<Tensor<T, S>> for i32
where i32: TensorOp<T>, T: TensorValue<Unmasked = i32>, <i32 as TensorOp<T>>::Output<i32>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i32 as TensorOp<T>>::Output<i32>, S>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Tensor<T, S>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, S> Mul<Tensor<T, S>> for i64
where i64: TensorOp<T>, T: TensorValue<Unmasked = i64>, <i64 as TensorOp<T>>::Output<i64>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i64 as TensorOp<T>>::Output<i64>, S>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Tensor<T, S>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, S> Mul<Tensor<T, S>> for i8
where i8: TensorOp<T>, T: TensorValue<Unmasked = i8>, <i8 as TensorOp<T>>::Output<i8>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i8 as TensorOp<T>>::Output<i8>, S>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Tensor<T, S>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, S> Mul<Tensor<T, S>> for u16
where u16: TensorOp<T>, T: TensorValue<Unmasked = u16>, <u16 as TensorOp<T>>::Output<u16>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u16 as TensorOp<T>>::Output<u16>, S>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Tensor<T, S>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, S> Mul<Tensor<T, S>> for u32
where u32: TensorOp<T>, T: TensorValue<Unmasked = u32>, <u32 as TensorOp<T>>::Output<u32>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u32 as TensorOp<T>>::Output<u32>, S>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Tensor<T, S>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, S> Mul<Tensor<T, S>> for u64
where u64: TensorOp<T>, T: TensorValue<Unmasked = u64>, <u64 as TensorOp<T>>::Output<u64>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u64 as TensorOp<T>>::Output<u64>, S>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Tensor<T, S>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, S> Mul<Tensor<T, S>> for u8
where u8: TensorOp<T>, T: TensorValue<Unmasked = u8>, <u8 as TensorOp<T>>::Output<u8>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u8 as TensorOp<T>>::Output<u8>, S>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Tensor<T, S>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T1, T2, S1, S2> Mul<Tensor<T2, S2>> for &Tensor<T1, S1>
where T1: TensorOp<T2>, T2: TensorValue, T1::Unmasked: Mul<T2::Unmasked>, <T1::Unmasked as Mul<T2::Unmasked>>::Output: TensorValue, T1::Output<<T1::Unmasked as Mul<T2::Unmasked>>::Output>: TensorValue, S1: Shape + NdimMax<S2>, S2: Shape,

Source§

type Output = Tensor<<T1 as TensorOp<T2>>::Output<<<T1 as TensorValue>::Unmasked as Mul<<T2 as TensorValue>::Unmasked>>::Output>, <S1 as NdimMax<S2>>::Output>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Tensor<T2, S2>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T1, T2, S1, S2> Mul<Tensor<T2, S2>> for Tensor<T1, S1>
where T1: TensorOp<T2>, T2: TensorValue, T1::Unmasked: Mul<T2::Unmasked>, <T1::Unmasked as Mul<T2::Unmasked>>::Output: TensorValue, T1::Output<<T1::Unmasked as Mul<T2::Unmasked>>::Output>: TensorValue, S1: Shape + NdimMax<S2>, S2: Shape,

Source§

type Output = Tensor<<T1 as TensorOp<T2>>::Output<<<T1 as TensorValue>::Unmasked as Mul<<T2 as TensorValue>::Unmasked>>::Output>, <S1 as NdimMax<S2>>::Output>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: Tensor<T2, S2>) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, S> Mul<f32> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<f32>>::Output<<<T as TensorValue>::Unmasked as Mul<f32>>::Output>, S>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: f32) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, S> Mul<f32> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<f32>>::Output<<<T as TensorValue>::Unmasked as Mul<f32>>::Output>, S>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: f32) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, S> Mul<f64> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<f64>>::Output<<<T as TensorValue>::Unmasked as Mul<f64>>::Output>, S>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: f64) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, S> Mul<f64> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<f64>>::Output<<<T as TensorValue>::Unmasked as Mul<f64>>::Output>, S>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: f64) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, S> Mul<i16> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<i16>>::Output<<<T as TensorValue>::Unmasked as Mul<i16>>::Output>, S>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: i16) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, S> Mul<i16> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<i16>>::Output<<<T as TensorValue>::Unmasked as Mul<i16>>::Output>, S>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: i16) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, S> Mul<i32> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<i32>>::Output<<<T as TensorValue>::Unmasked as Mul<i32>>::Output>, S>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: i32) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, S> Mul<i32> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<i32>>::Output<<<T as TensorValue>::Unmasked as Mul<i32>>::Output>, S>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: i32) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, S> Mul<i64> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<i64>>::Output<<<T as TensorValue>::Unmasked as Mul<i64>>::Output>, S>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: i64) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, S> Mul<i64> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<i64>>::Output<<<T as TensorValue>::Unmasked as Mul<i64>>::Output>, S>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: i64) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, S> Mul<i8> for &Tensor<T, S>
where T: TensorOp<i8>, T::Unmasked: Mul<i8>, <T::Unmasked as Mul<i8>>::Output: TensorValue, T::Output<<T::Unmasked as Mul<i8>>::Output>: TensorValue, S: Shape,

Source§

type Output = Tensor<<T as TensorOp<i8>>::Output<<<T as TensorValue>::Unmasked as Mul<i8>>::Output>, S>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: i8) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, S> Mul<i8> for Tensor<T, S>
where T: TensorOp<i8>, T::Unmasked: Mul<i8>, <T::Unmasked as Mul<i8>>::Output: TensorValue, T::Output<<T::Unmasked as Mul<i8>>::Output>: TensorValue, S: Shape,

Source§

type Output = Tensor<<T as TensorOp<i8>>::Output<<<T as TensorValue>::Unmasked as Mul<i8>>::Output>, S>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: i8) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, S> Mul<u16> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<u16>>::Output<<<T as TensorValue>::Unmasked as Mul<u16>>::Output>, S>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: u16) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, S> Mul<u16> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<u16>>::Output<<<T as TensorValue>::Unmasked as Mul<u16>>::Output>, S>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: u16) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, S> Mul<u32> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<u32>>::Output<<<T as TensorValue>::Unmasked as Mul<u32>>::Output>, S>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: u32) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, S> Mul<u32> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<u32>>::Output<<<T as TensorValue>::Unmasked as Mul<u32>>::Output>, S>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: u32) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, S> Mul<u64> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<u64>>::Output<<<T as TensorValue>::Unmasked as Mul<u64>>::Output>, S>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: u64) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, S> Mul<u64> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<u64>>::Output<<<T as TensorValue>::Unmasked as Mul<u64>>::Output>, S>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: u64) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, S> Mul<u8> for &Tensor<T, S>
where T: TensorOp<u8>, T::Unmasked: Mul<u8>, <T::Unmasked as Mul<u8>>::Output: TensorValue, T::Output<<T::Unmasked as Mul<u8>>::Output>: TensorValue, S: Shape,

Source§

type Output = Tensor<<T as TensorOp<u8>>::Output<<<T as TensorValue>::Unmasked as Mul<u8>>::Output>, S>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: u8) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, S> Mul<u8> for Tensor<T, S>
where T: TensorOp<u8>, T::Unmasked: Mul<u8>, <T::Unmasked as Mul<u8>>::Output: TensorValue, T::Output<<T::Unmasked as Mul<u8>>::Output>: TensorValue, S: Shape,

Source§

type Output = Tensor<<T as TensorOp<u8>>::Output<<<T as TensorValue>::Unmasked as Mul<u8>>::Output>, S>

The resulting type after applying the * operator.
Source§

fn mul(self, rhs: u8) -> Self::Output

Performs the * operation. Read more
Source§

impl<T, S> Rem<&Tensor<T, S>> for f32
where f32: TensorOp<T>, T: TensorValue<Unmasked = f32>, <f32 as TensorOp<T>>::Output<f32>: TensorValue, S: Shape,

Source§

type Output = Tensor<<f32 as TensorOp<T>>::Output<f32>, S>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the % operation. Read more
Source§

impl<T, S> Rem<&Tensor<T, S>> for f64
where f64: TensorOp<T>, T: TensorValue<Unmasked = f64>, <f64 as TensorOp<T>>::Output<f64>: TensorValue, S: Shape,

Source§

type Output = Tensor<<f64 as TensorOp<T>>::Output<f64>, S>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the % operation. Read more
Source§

impl<T, S> Rem<&Tensor<T, S>> for i16
where i16: TensorOp<T>, T: TensorValue<Unmasked = i16>, <i16 as TensorOp<T>>::Output<i16>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i16 as TensorOp<T>>::Output<i16>, S>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the % operation. Read more
Source§

impl<T, S> Rem<&Tensor<T, S>> for i32
where i32: TensorOp<T>, T: TensorValue<Unmasked = i32>, <i32 as TensorOp<T>>::Output<i32>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i32 as TensorOp<T>>::Output<i32>, S>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the % operation. Read more
Source§

impl<T, S> Rem<&Tensor<T, S>> for i64
where i64: TensorOp<T>, T: TensorValue<Unmasked = i64>, <i64 as TensorOp<T>>::Output<i64>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i64 as TensorOp<T>>::Output<i64>, S>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the % operation. Read more
Source§

impl<T, S> Rem<&Tensor<T, S>> for i8
where i8: TensorOp<T>, T: TensorValue<Unmasked = i8>, <i8 as TensorOp<T>>::Output<i8>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i8 as TensorOp<T>>::Output<i8>, S>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the % operation. Read more
Source§

impl<T, S> Rem<&Tensor<T, S>> for u16
where u16: TensorOp<T>, T: TensorValue<Unmasked = u16>, <u16 as TensorOp<T>>::Output<u16>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u16 as TensorOp<T>>::Output<u16>, S>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the % operation. Read more
Source§

impl<T, S> Rem<&Tensor<T, S>> for u32
where u32: TensorOp<T>, T: TensorValue<Unmasked = u32>, <u32 as TensorOp<T>>::Output<u32>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u32 as TensorOp<T>>::Output<u32>, S>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the % operation. Read more
Source§

impl<T, S> Rem<&Tensor<T, S>> for u64
where u64: TensorOp<T>, T: TensorValue<Unmasked = u64>, <u64 as TensorOp<T>>::Output<u64>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u64 as TensorOp<T>>::Output<u64>, S>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the % operation. Read more
Source§

impl<T, S> Rem<&Tensor<T, S>> for u8
where u8: TensorOp<T>, T: TensorValue<Unmasked = u8>, <u8 as TensorOp<T>>::Output<u8>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u8 as TensorOp<T>>::Output<u8>, S>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the % operation. Read more
Source§

impl<T1, T2, S1, S2> Rem<&Tensor<T2, S2>> for &Tensor<T1, S1>
where T1: TensorOp<T2>, T2: TensorValue, T1::Unmasked: Rem<T2::Unmasked>, <T1::Unmasked as Rem<T2::Unmasked>>::Output: TensorValue, T1::Output<<T1::Unmasked as Rem<T2::Unmasked>>::Output>: TensorValue, S1: Shape + NdimMax<S2>, S2: Shape,

Source§

type Output = Tensor<<T1 as TensorOp<T2>>::Output<<<T1 as TensorValue>::Unmasked as Rem<<T2 as TensorValue>::Unmasked>>::Output>, <S1 as NdimMax<S2>>::Output>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &Tensor<T2, S2>) -> Self::Output

Performs the % operation. Read more
Source§

impl<T1, T2, S1, S2> Rem<&Tensor<T2, S2>> for Tensor<T1, S1>
where T1: TensorOp<T2>, T2: TensorValue, T1::Unmasked: Rem<T2::Unmasked>, <T1::Unmasked as Rem<T2::Unmasked>>::Output: TensorValue, T1::Output<<T1::Unmasked as Rem<T2::Unmasked>>::Output>: TensorValue, S1: Shape + NdimMax<S2>, S2: Shape,

Source§

type Output = Tensor<<T1 as TensorOp<T2>>::Output<<<T1 as TensorValue>::Unmasked as Rem<<T2 as TensorValue>::Unmasked>>::Output>, <S1 as NdimMax<S2>>::Output>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: &Tensor<T2, S2>) -> Self::Output

Performs the % operation. Read more
Source§

impl<T, S> Rem<Tensor<T, S>> for f32
where f32: TensorOp<T>, T: TensorValue<Unmasked = f32>, <f32 as TensorOp<T>>::Output<f32>: TensorValue, S: Shape,

Source§

type Output = Tensor<<f32 as TensorOp<T>>::Output<f32>, S>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: Tensor<T, S>) -> Self::Output

Performs the % operation. Read more
Source§

impl<T, S> Rem<Tensor<T, S>> for f64
where f64: TensorOp<T>, T: TensorValue<Unmasked = f64>, <f64 as TensorOp<T>>::Output<f64>: TensorValue, S: Shape,

Source§

type Output = Tensor<<f64 as TensorOp<T>>::Output<f64>, S>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: Tensor<T, S>) -> Self::Output

Performs the % operation. Read more
Source§

impl<T, S> Rem<Tensor<T, S>> for i16
where i16: TensorOp<T>, T: TensorValue<Unmasked = i16>, <i16 as TensorOp<T>>::Output<i16>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i16 as TensorOp<T>>::Output<i16>, S>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: Tensor<T, S>) -> Self::Output

Performs the % operation. Read more
Source§

impl<T, S> Rem<Tensor<T, S>> for i32
where i32: TensorOp<T>, T: TensorValue<Unmasked = i32>, <i32 as TensorOp<T>>::Output<i32>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i32 as TensorOp<T>>::Output<i32>, S>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: Tensor<T, S>) -> Self::Output

Performs the % operation. Read more
Source§

impl<T, S> Rem<Tensor<T, S>> for i64
where i64: TensorOp<T>, T: TensorValue<Unmasked = i64>, <i64 as TensorOp<T>>::Output<i64>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i64 as TensorOp<T>>::Output<i64>, S>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: Tensor<T, S>) -> Self::Output

Performs the % operation. Read more
Source§

impl<T, S> Rem<Tensor<T, S>> for i8
where i8: TensorOp<T>, T: TensorValue<Unmasked = i8>, <i8 as TensorOp<T>>::Output<i8>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i8 as TensorOp<T>>::Output<i8>, S>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: Tensor<T, S>) -> Self::Output

Performs the % operation. Read more
Source§

impl<T, S> Rem<Tensor<T, S>> for u16
where u16: TensorOp<T>, T: TensorValue<Unmasked = u16>, <u16 as TensorOp<T>>::Output<u16>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u16 as TensorOp<T>>::Output<u16>, S>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: Tensor<T, S>) -> Self::Output

Performs the % operation. Read more
Source§

impl<T, S> Rem<Tensor<T, S>> for u32
where u32: TensorOp<T>, T: TensorValue<Unmasked = u32>, <u32 as TensorOp<T>>::Output<u32>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u32 as TensorOp<T>>::Output<u32>, S>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: Tensor<T, S>) -> Self::Output

Performs the % operation. Read more
Source§

impl<T, S> Rem<Tensor<T, S>> for u64
where u64: TensorOp<T>, T: TensorValue<Unmasked = u64>, <u64 as TensorOp<T>>::Output<u64>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u64 as TensorOp<T>>::Output<u64>, S>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: Tensor<T, S>) -> Self::Output

Performs the % operation. Read more
Source§

impl<T, S> Rem<Tensor<T, S>> for u8
where u8: TensorOp<T>, T: TensorValue<Unmasked = u8>, <u8 as TensorOp<T>>::Output<u8>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u8 as TensorOp<T>>::Output<u8>, S>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: Tensor<T, S>) -> Self::Output

Performs the % operation. Read more
Source§

impl<T1, T2, S1, S2> Rem<Tensor<T2, S2>> for &Tensor<T1, S1>
where T1: TensorOp<T2>, T2: TensorValue, T1::Unmasked: Rem<T2::Unmasked>, <T1::Unmasked as Rem<T2::Unmasked>>::Output: TensorValue, T1::Output<<T1::Unmasked as Rem<T2::Unmasked>>::Output>: TensorValue, S1: Shape + NdimMax<S2>, S2: Shape,

Source§

type Output = Tensor<<T1 as TensorOp<T2>>::Output<<<T1 as TensorValue>::Unmasked as Rem<<T2 as TensorValue>::Unmasked>>::Output>, <S1 as NdimMax<S2>>::Output>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: Tensor<T2, S2>) -> Self::Output

Performs the % operation. Read more
Source§

impl<T1, T2, S1, S2> Rem<Tensor<T2, S2>> for Tensor<T1, S1>
where T1: TensorOp<T2>, T2: TensorValue, T1::Unmasked: Rem<T2::Unmasked>, <T1::Unmasked as Rem<T2::Unmasked>>::Output: TensorValue, T1::Output<<T1::Unmasked as Rem<T2::Unmasked>>::Output>: TensorValue, S1: Shape + NdimMax<S2>, S2: Shape,

Source§

type Output = Tensor<<T1 as TensorOp<T2>>::Output<<<T1 as TensorValue>::Unmasked as Rem<<T2 as TensorValue>::Unmasked>>::Output>, <S1 as NdimMax<S2>>::Output>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: Tensor<T2, S2>) -> Self::Output

Performs the % operation. Read more
Source§

impl<T, S> Rem<f32> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<f32>>::Output<<<T as TensorValue>::Unmasked as Rem<f32>>::Output>, S>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: f32) -> Self::Output

Performs the % operation. Read more
Source§

impl<T, S> Rem<f32> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<f32>>::Output<<<T as TensorValue>::Unmasked as Rem<f32>>::Output>, S>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: f32) -> Self::Output

Performs the % operation. Read more
Source§

impl<T, S> Rem<f64> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<f64>>::Output<<<T as TensorValue>::Unmasked as Rem<f64>>::Output>, S>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: f64) -> Self::Output

Performs the % operation. Read more
Source§

impl<T, S> Rem<f64> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<f64>>::Output<<<T as TensorValue>::Unmasked as Rem<f64>>::Output>, S>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: f64) -> Self::Output

Performs the % operation. Read more
Source§

impl<T, S> Rem<i16> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<i16>>::Output<<<T as TensorValue>::Unmasked as Rem<i16>>::Output>, S>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: i16) -> Self::Output

Performs the % operation. Read more
Source§

impl<T, S> Rem<i16> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<i16>>::Output<<<T as TensorValue>::Unmasked as Rem<i16>>::Output>, S>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: i16) -> Self::Output

Performs the % operation. Read more
Source§

impl<T, S> Rem<i32> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<i32>>::Output<<<T as TensorValue>::Unmasked as Rem<i32>>::Output>, S>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: i32) -> Self::Output

Performs the % operation. Read more
Source§

impl<T, S> Rem<i32> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<i32>>::Output<<<T as TensorValue>::Unmasked as Rem<i32>>::Output>, S>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: i32) -> Self::Output

Performs the % operation. Read more
Source§

impl<T, S> Rem<i64> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<i64>>::Output<<<T as TensorValue>::Unmasked as Rem<i64>>::Output>, S>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: i64) -> Self::Output

Performs the % operation. Read more
Source§

impl<T, S> Rem<i64> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<i64>>::Output<<<T as TensorValue>::Unmasked as Rem<i64>>::Output>, S>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: i64) -> Self::Output

Performs the % operation. Read more
Source§

impl<T, S> Rem<i8> for &Tensor<T, S>
where T: TensorOp<i8>, T::Unmasked: Rem<i8>, <T::Unmasked as Rem<i8>>::Output: TensorValue, T::Output<<T::Unmasked as Rem<i8>>::Output>: TensorValue, S: Shape,

Source§

type Output = Tensor<<T as TensorOp<i8>>::Output<<<T as TensorValue>::Unmasked as Rem<i8>>::Output>, S>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: i8) -> Self::Output

Performs the % operation. Read more
Source§

impl<T, S> Rem<i8> for Tensor<T, S>
where T: TensorOp<i8>, T::Unmasked: Rem<i8>, <T::Unmasked as Rem<i8>>::Output: TensorValue, T::Output<<T::Unmasked as Rem<i8>>::Output>: TensorValue, S: Shape,

Source§

type Output = Tensor<<T as TensorOp<i8>>::Output<<<T as TensorValue>::Unmasked as Rem<i8>>::Output>, S>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: i8) -> Self::Output

Performs the % operation. Read more
Source§

impl<T, S> Rem<u16> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<u16>>::Output<<<T as TensorValue>::Unmasked as Rem<u16>>::Output>, S>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: u16) -> Self::Output

Performs the % operation. Read more
Source§

impl<T, S> Rem<u16> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<u16>>::Output<<<T as TensorValue>::Unmasked as Rem<u16>>::Output>, S>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: u16) -> Self::Output

Performs the % operation. Read more
Source§

impl<T, S> Rem<u32> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<u32>>::Output<<<T as TensorValue>::Unmasked as Rem<u32>>::Output>, S>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: u32) -> Self::Output

Performs the % operation. Read more
Source§

impl<T, S> Rem<u32> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<u32>>::Output<<<T as TensorValue>::Unmasked as Rem<u32>>::Output>, S>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: u32) -> Self::Output

Performs the % operation. Read more
Source§

impl<T, S> Rem<u64> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<u64>>::Output<<<T as TensorValue>::Unmasked as Rem<u64>>::Output>, S>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: u64) -> Self::Output

Performs the % operation. Read more
Source§

impl<T, S> Rem<u64> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<u64>>::Output<<<T as TensorValue>::Unmasked as Rem<u64>>::Output>, S>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: u64) -> Self::Output

Performs the % operation. Read more
Source§

impl<T, S> Rem<u8> for &Tensor<T, S>
where T: TensorOp<u8>, T::Unmasked: Rem<u8>, <T::Unmasked as Rem<u8>>::Output: TensorValue, T::Output<<T::Unmasked as Rem<u8>>::Output>: TensorValue, S: Shape,

Source§

type Output = Tensor<<T as TensorOp<u8>>::Output<<<T as TensorValue>::Unmasked as Rem<u8>>::Output>, S>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: u8) -> Self::Output

Performs the % operation. Read more
Source§

impl<T, S> Rem<u8> for Tensor<T, S>
where T: TensorOp<u8>, T::Unmasked: Rem<u8>, <T::Unmasked as Rem<u8>>::Output: TensorValue, T::Output<<T::Unmasked as Rem<u8>>::Output>: TensorValue, S: Shape,

Source§

type Output = Tensor<<T as TensorOp<u8>>::Output<<<T as TensorValue>::Unmasked as Rem<u8>>::Output>, S>

The resulting type after applying the % operator.
Source§

fn rem(self, rhs: u8) -> Self::Output

Performs the % operation. Read more
Source§

impl<T, S> RowBatchBuilder<Tensor<T, S>> for TensorBuilder<T, S>
where T: TensorValue, S: Shape,

Source§

fn len(&self) -> usize

Source§

fn push(&mut self, row: Tensor<T, S>)

Source§

fn build_columns(&mut self) -> Result<Vec<ArrayRef>>

Source§

fn is_empty(&self) -> bool

Source§

fn build(&mut self, schema: Arc<Schema>) -> Result<RecordBatch, Error>

Source§

impl<T, S> RowFormat for Tensor<T, S>
where T: TensorValue, S: Shape,

Source§

const COLUMNS: usize = 1usize

Source§

type Builder = TensorBuilder<T, S>

Source§

type View = TensorRowView<T, S>

Source§

fn builder(fields: &[Arc<Field>]) -> Result<Self::Builder>

Source§

fn view( rows: usize, fields: &[Arc<Field>], arrays: &[ArrayRef], ) -> Result<Self::View>

Source§

impl<T, S> RowFormatView<Tensor<T, S>> for TensorRowView<T, S>
where T: TensorValue, S: Shape,

Source§

fn len(&self) -> usize

Returns the number of wrapped rows.
Source§

fn row(&self, i: usize) -> Tensor<T, S>

Returns the ith row. Read more
Source§

unsafe fn row_unchecked(&self, i: usize) -> Tensor<T, S>

Returns the ith row without bounds checking. Read more
Source§

fn is_empty(&self) -> bool

Returns true if the view contains 0 rows.
Source§

fn iter(&self) -> RowViewIter<R, Self>

Returns an iterator over the rows in this view.
Source§

impl<T, S> Sub<&Tensor<T, S>> for f32
where f32: TensorOp<T>, T: TensorValue<Unmasked = f32>, <f32 as TensorOp<T>>::Output<f32>: TensorValue, S: Shape,

Source§

type Output = Tensor<<f32 as TensorOp<T>>::Output<f32>, S>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the - operation. Read more
Source§

impl<T, S> Sub<&Tensor<T, S>> for f64
where f64: TensorOp<T>, T: TensorValue<Unmasked = f64>, <f64 as TensorOp<T>>::Output<f64>: TensorValue, S: Shape,

Source§

type Output = Tensor<<f64 as TensorOp<T>>::Output<f64>, S>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the - operation. Read more
Source§

impl<T, S> Sub<&Tensor<T, S>> for i16
where i16: TensorOp<T>, T: TensorValue<Unmasked = i16>, <i16 as TensorOp<T>>::Output<i16>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i16 as TensorOp<T>>::Output<i16>, S>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the - operation. Read more
Source§

impl<T, S> Sub<&Tensor<T, S>> for i32
where i32: TensorOp<T>, T: TensorValue<Unmasked = i32>, <i32 as TensorOp<T>>::Output<i32>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i32 as TensorOp<T>>::Output<i32>, S>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the - operation. Read more
Source§

impl<T, S> Sub<&Tensor<T, S>> for i64
where i64: TensorOp<T>, T: TensorValue<Unmasked = i64>, <i64 as TensorOp<T>>::Output<i64>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i64 as TensorOp<T>>::Output<i64>, S>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the - operation. Read more
Source§

impl<T, S> Sub<&Tensor<T, S>> for i8
where i8: TensorOp<T>, T: TensorValue<Unmasked = i8>, <i8 as TensorOp<T>>::Output<i8>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i8 as TensorOp<T>>::Output<i8>, S>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the - operation. Read more
Source§

impl<T, S> Sub<&Tensor<T, S>> for u16
where u16: TensorOp<T>, T: TensorValue<Unmasked = u16>, <u16 as TensorOp<T>>::Output<u16>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u16 as TensorOp<T>>::Output<u16>, S>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the - operation. Read more
Source§

impl<T, S> Sub<&Tensor<T, S>> for u32
where u32: TensorOp<T>, T: TensorValue<Unmasked = u32>, <u32 as TensorOp<T>>::Output<u32>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u32 as TensorOp<T>>::Output<u32>, S>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the - operation. Read more
Source§

impl<T, S> Sub<&Tensor<T, S>> for u64
where u64: TensorOp<T>, T: TensorValue<Unmasked = u64>, <u64 as TensorOp<T>>::Output<u64>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u64 as TensorOp<T>>::Output<u64>, S>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the - operation. Read more
Source§

impl<T, S> Sub<&Tensor<T, S>> for u8
where u8: TensorOp<T>, T: TensorValue<Unmasked = u8>, <u8 as TensorOp<T>>::Output<u8>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u8 as TensorOp<T>>::Output<u8>, S>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &Tensor<T, S>) -> Self::Output

Performs the - operation. Read more
Source§

impl<T1, T2, S1, S2> Sub<&Tensor<T2, S2>> for &Tensor<T1, S1>
where T1: TensorOp<T2>, T2: TensorValue, T1::Unmasked: Sub<T2::Unmasked>, <T1::Unmasked as Sub<T2::Unmasked>>::Output: TensorValue, T1::Output<<T1::Unmasked as Sub<T2::Unmasked>>::Output>: TensorValue, S1: Shape + NdimMax<S2>, S2: Shape,

Source§

type Output = Tensor<<T1 as TensorOp<T2>>::Output<<<T1 as TensorValue>::Unmasked as Sub<<T2 as TensorValue>::Unmasked>>::Output>, <S1 as NdimMax<S2>>::Output>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &Tensor<T2, S2>) -> Self::Output

Performs the - operation. Read more
Source§

impl<T1, T2, S1, S2> Sub<&Tensor<T2, S2>> for Tensor<T1, S1>
where T1: TensorOp<T2>, T2: TensorValue, T1::Unmasked: Sub<T2::Unmasked>, <T1::Unmasked as Sub<T2::Unmasked>>::Output: TensorValue, T1::Output<<T1::Unmasked as Sub<T2::Unmasked>>::Output>: TensorValue, S1: Shape + NdimMax<S2>, S2: Shape,

Source§

type Output = Tensor<<T1 as TensorOp<T2>>::Output<<<T1 as TensorValue>::Unmasked as Sub<<T2 as TensorValue>::Unmasked>>::Output>, <S1 as NdimMax<S2>>::Output>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: &Tensor<T2, S2>) -> Self::Output

Performs the - operation. Read more
Source§

impl<T, S> Sub<Tensor<T, S>> for f32
where f32: TensorOp<T>, T: TensorValue<Unmasked = f32>, <f32 as TensorOp<T>>::Output<f32>: TensorValue, S: Shape,

Source§

type Output = Tensor<<f32 as TensorOp<T>>::Output<f32>, S>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Tensor<T, S>) -> Self::Output

Performs the - operation. Read more
Source§

impl<T, S> Sub<Tensor<T, S>> for f64
where f64: TensorOp<T>, T: TensorValue<Unmasked = f64>, <f64 as TensorOp<T>>::Output<f64>: TensorValue, S: Shape,

Source§

type Output = Tensor<<f64 as TensorOp<T>>::Output<f64>, S>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Tensor<T, S>) -> Self::Output

Performs the - operation. Read more
Source§

impl<T, S> Sub<Tensor<T, S>> for i16
where i16: TensorOp<T>, T: TensorValue<Unmasked = i16>, <i16 as TensorOp<T>>::Output<i16>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i16 as TensorOp<T>>::Output<i16>, S>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Tensor<T, S>) -> Self::Output

Performs the - operation. Read more
Source§

impl<T, S> Sub<Tensor<T, S>> for i32
where i32: TensorOp<T>, T: TensorValue<Unmasked = i32>, <i32 as TensorOp<T>>::Output<i32>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i32 as TensorOp<T>>::Output<i32>, S>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Tensor<T, S>) -> Self::Output

Performs the - operation. Read more
Source§

impl<T, S> Sub<Tensor<T, S>> for i64
where i64: TensorOp<T>, T: TensorValue<Unmasked = i64>, <i64 as TensorOp<T>>::Output<i64>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i64 as TensorOp<T>>::Output<i64>, S>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Tensor<T, S>) -> Self::Output

Performs the - operation. Read more
Source§

impl<T, S> Sub<Tensor<T, S>> for i8
where i8: TensorOp<T>, T: TensorValue<Unmasked = i8>, <i8 as TensorOp<T>>::Output<i8>: TensorValue, S: Shape,

Source§

type Output = Tensor<<i8 as TensorOp<T>>::Output<i8>, S>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Tensor<T, S>) -> Self::Output

Performs the - operation. Read more
Source§

impl<T, S> Sub<Tensor<T, S>> for u16
where u16: TensorOp<T>, T: TensorValue<Unmasked = u16>, <u16 as TensorOp<T>>::Output<u16>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u16 as TensorOp<T>>::Output<u16>, S>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Tensor<T, S>) -> Self::Output

Performs the - operation. Read more
Source§

impl<T, S> Sub<Tensor<T, S>> for u32
where u32: TensorOp<T>, T: TensorValue<Unmasked = u32>, <u32 as TensorOp<T>>::Output<u32>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u32 as TensorOp<T>>::Output<u32>, S>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Tensor<T, S>) -> Self::Output

Performs the - operation. Read more
Source§

impl<T, S> Sub<Tensor<T, S>> for u64
where u64: TensorOp<T>, T: TensorValue<Unmasked = u64>, <u64 as TensorOp<T>>::Output<u64>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u64 as TensorOp<T>>::Output<u64>, S>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Tensor<T, S>) -> Self::Output

Performs the - operation. Read more
Source§

impl<T, S> Sub<Tensor<T, S>> for u8
where u8: TensorOp<T>, T: TensorValue<Unmasked = u8>, <u8 as TensorOp<T>>::Output<u8>: TensorValue, S: Shape,

Source§

type Output = Tensor<<u8 as TensorOp<T>>::Output<u8>, S>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Tensor<T, S>) -> Self::Output

Performs the - operation. Read more
Source§

impl<T1, T2, S1, S2> Sub<Tensor<T2, S2>> for &Tensor<T1, S1>
where T1: TensorOp<T2>, T2: TensorValue, T1::Unmasked: Sub<T2::Unmasked>, <T1::Unmasked as Sub<T2::Unmasked>>::Output: TensorValue, T1::Output<<T1::Unmasked as Sub<T2::Unmasked>>::Output>: TensorValue, S1: Shape + NdimMax<S2>, S2: Shape,

Source§

type Output = Tensor<<T1 as TensorOp<T2>>::Output<<<T1 as TensorValue>::Unmasked as Sub<<T2 as TensorValue>::Unmasked>>::Output>, <S1 as NdimMax<S2>>::Output>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Tensor<T2, S2>) -> Self::Output

Performs the - operation. Read more
Source§

impl<T1, T2, S1, S2> Sub<Tensor<T2, S2>> for Tensor<T1, S1>
where T1: TensorOp<T2>, T2: TensorValue, T1::Unmasked: Sub<T2::Unmasked>, <T1::Unmasked as Sub<T2::Unmasked>>::Output: TensorValue, T1::Output<<T1::Unmasked as Sub<T2::Unmasked>>::Output>: TensorValue, S1: Shape + NdimMax<S2>, S2: Shape,

Source§

type Output = Tensor<<T1 as TensorOp<T2>>::Output<<<T1 as TensorValue>::Unmasked as Sub<<T2 as TensorValue>::Unmasked>>::Output>, <S1 as NdimMax<S2>>::Output>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: Tensor<T2, S2>) -> Self::Output

Performs the - operation. Read more
Source§

impl<T, S> Sub<f32> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<f32>>::Output<<<T as TensorValue>::Unmasked as Sub<f32>>::Output>, S>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: f32) -> Self::Output

Performs the - operation. Read more
Source§

impl<T, S> Sub<f32> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<f32>>::Output<<<T as TensorValue>::Unmasked as Sub<f32>>::Output>, S>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: f32) -> Self::Output

Performs the - operation. Read more
Source§

impl<T, S> Sub<f64> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<f64>>::Output<<<T as TensorValue>::Unmasked as Sub<f64>>::Output>, S>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: f64) -> Self::Output

Performs the - operation. Read more
Source§

impl<T, S> Sub<f64> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<f64>>::Output<<<T as TensorValue>::Unmasked as Sub<f64>>::Output>, S>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: f64) -> Self::Output

Performs the - operation. Read more
Source§

impl<T, S> Sub<i16> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<i16>>::Output<<<T as TensorValue>::Unmasked as Sub<i16>>::Output>, S>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: i16) -> Self::Output

Performs the - operation. Read more
Source§

impl<T, S> Sub<i16> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<i16>>::Output<<<T as TensorValue>::Unmasked as Sub<i16>>::Output>, S>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: i16) -> Self::Output

Performs the - operation. Read more
Source§

impl<T, S> Sub<i32> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<i32>>::Output<<<T as TensorValue>::Unmasked as Sub<i32>>::Output>, S>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: i32) -> Self::Output

Performs the - operation. Read more
Source§

impl<T, S> Sub<i32> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<i32>>::Output<<<T as TensorValue>::Unmasked as Sub<i32>>::Output>, S>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: i32) -> Self::Output

Performs the - operation. Read more
Source§

impl<T, S> Sub<i64> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<i64>>::Output<<<T as TensorValue>::Unmasked as Sub<i64>>::Output>, S>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: i64) -> Self::Output

Performs the - operation. Read more
Source§

impl<T, S> Sub<i64> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<i64>>::Output<<<T as TensorValue>::Unmasked as Sub<i64>>::Output>, S>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: i64) -> Self::Output

Performs the - operation. Read more
Source§

impl<T, S> Sub<i8> for &Tensor<T, S>
where T: TensorOp<i8>, T::Unmasked: Sub<i8>, <T::Unmasked as Sub<i8>>::Output: TensorValue, T::Output<<T::Unmasked as Sub<i8>>::Output>: TensorValue, S: Shape,

Source§

type Output = Tensor<<T as TensorOp<i8>>::Output<<<T as TensorValue>::Unmasked as Sub<i8>>::Output>, S>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: i8) -> Self::Output

Performs the - operation. Read more
Source§

impl<T, S> Sub<i8> for Tensor<T, S>
where T: TensorOp<i8>, T::Unmasked: Sub<i8>, <T::Unmasked as Sub<i8>>::Output: TensorValue, T::Output<<T::Unmasked as Sub<i8>>::Output>: TensorValue, S: Shape,

Source§

type Output = Tensor<<T as TensorOp<i8>>::Output<<<T as TensorValue>::Unmasked as Sub<i8>>::Output>, S>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: i8) -> Self::Output

Performs the - operation. Read more
Source§

impl<T, S> Sub<u16> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<u16>>::Output<<<T as TensorValue>::Unmasked as Sub<u16>>::Output>, S>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: u16) -> Self::Output

Performs the - operation. Read more
Source§

impl<T, S> Sub<u16> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<u16>>::Output<<<T as TensorValue>::Unmasked as Sub<u16>>::Output>, S>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: u16) -> Self::Output

Performs the - operation. Read more
Source§

impl<T, S> Sub<u32> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<u32>>::Output<<<T as TensorValue>::Unmasked as Sub<u32>>::Output>, S>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: u32) -> Self::Output

Performs the - operation. Read more
Source§

impl<T, S> Sub<u32> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<u32>>::Output<<<T as TensorValue>::Unmasked as Sub<u32>>::Output>, S>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: u32) -> Self::Output

Performs the - operation. Read more
Source§

impl<T, S> Sub<u64> for &Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<u64>>::Output<<<T as TensorValue>::Unmasked as Sub<u64>>::Output>, S>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: u64) -> Self::Output

Performs the - operation. Read more
Source§

impl<T, S> Sub<u64> for Tensor<T, S>

Source§

type Output = Tensor<<T as TensorOp<u64>>::Output<<<T as TensorValue>::Unmasked as Sub<u64>>::Output>, S>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: u64) -> Self::Output

Performs the - operation. Read more
Source§

impl<T, S> Sub<u8> for &Tensor<T, S>
where T: TensorOp<u8>, T::Unmasked: Sub<u8>, <T::Unmasked as Sub<u8>>::Output: TensorValue, T::Output<<T::Unmasked as Sub<u8>>::Output>: TensorValue, S: Shape,

Source§

type Output = Tensor<<T as TensorOp<u8>>::Output<<<T as TensorValue>::Unmasked as Sub<u8>>::Output>, S>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: u8) -> Self::Output

Performs the - operation. Read more
Source§

impl<T, S> Sub<u8> for Tensor<T, S>
where T: TensorOp<u8>, T::Unmasked: Sub<u8>, <T::Unmasked as Sub<u8>>::Output: TensorValue, T::Output<<T::Unmasked as Sub<u8>>::Output>: TensorValue, S: Shape,

Source§

type Output = Tensor<<T as TensorOp<u8>>::Output<<<T as TensorValue>::Unmasked as Sub<u8>>::Output>, S>

The resulting type after applying the - operator.
Source§

fn sub(self, rhs: u8) -> Self::Output

Performs the - operation. Read more

Auto Trait Implementations§

§

impl<T, S> Freeze for Tensor<T, S>
where S: Freeze,

§

impl<T, S> RefUnwindSafe for Tensor<T, S>

§

impl<T, S> Send for Tensor<T, S>
where S: Send,

§

impl<T, S> Sync for Tensor<T, S>
where S: Sync,

§

impl<T, S> Unpin for Tensor<T, S>
where S: Unpin, T: Unpin,

§

impl<T, S> UnwindSafe for Tensor<T, S>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dst: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> Allocation for T
where T: RefUnwindSafe + Send + Sync,

Source§

impl<T> ErasedDestructor for T
where T: 'static,

Source§

impl<T> MaybeSendSync for T

Source§

impl<T, Rhs, Output> NumOps<Rhs, Output> for T
where T: Sub<Rhs, Output = Output> + Mul<Rhs, Output = Output> + Div<Rhs, Output = Output> + Add<Rhs, Output = Output> + Rem<Rhs, Output = Output>,

Source§

impl<T, Base> RefNum<Base> for T
where T: NumOps<Base, Base> + for<'r> NumOps<&'r Base, Base>,