pub struct SegmentProdDescriptor {
pub num_inputs: i32,
pub embedding_dim: i32,
pub num_segments: i32,
pub element: ElementKind,
}Expand description
Descriptor for a segment_prod op.
Fields§
§num_inputs: i32Number of input rows.
embedding_dim: i32Embedding / feature dim.
num_segments: i32Total number of segments.
element: ElementKindValue element type.
Trait Implementations§
Source§impl Clone for SegmentProdDescriptor
impl Clone for SegmentProdDescriptor
Source§fn clone(&self) -> SegmentProdDescriptor
fn clone(&self) -> SegmentProdDescriptor
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 Copy for SegmentProdDescriptor
Auto Trait Implementations§
impl Freeze for SegmentProdDescriptor
impl RefUnwindSafe for SegmentProdDescriptor
impl Send for SegmentProdDescriptor
impl Sync for SegmentProdDescriptor
impl Unpin for SegmentProdDescriptor
impl UnsafeUnpin for SegmentProdDescriptor
impl UnwindSafe for SegmentProdDescriptor
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