pub struct BinaryCmpDescriptor<const N: usize> {
pub kind: BinaryCmpKind,
pub shape: [i32; N],
pub element: ElementKind,
}Expand description
Descriptor for a binary comparison op.
shape is the OUTPUT tensor shape. element is the INPUT dtype —
the output is always u8. element must match the type parameter
T of the containing plan at select time.
Fields§
§kind: BinaryCmpKindWhich comparison op to apply.
shape: [i32; N]Output tensor shape.
element: ElementKindInput element type (output is always u8).
Trait Implementations§
Source§impl<const N: usize> Clone for BinaryCmpDescriptor<N>
impl<const N: usize> Clone for BinaryCmpDescriptor<N>
Source§fn clone(&self) -> BinaryCmpDescriptor<N>
fn clone(&self) -> BinaryCmpDescriptor<N>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<const N: usize> Copy for BinaryCmpDescriptor<N>
Auto Trait Implementations§
impl<const N: usize> Freeze for BinaryCmpDescriptor<N>
impl<const N: usize> RefUnwindSafe for BinaryCmpDescriptor<N>
impl<const N: usize> Send for BinaryCmpDescriptor<N>
impl<const N: usize> Sync for BinaryCmpDescriptor<N>
impl<const N: usize> Unpin for BinaryCmpDescriptor<N>
impl<const N: usize> UnsafeUnpin for BinaryCmpDescriptor<N>
impl<const N: usize> UnwindSafe for BinaryCmpDescriptor<N>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more