pub struct SparseCrossV2 { /* private fields */ }
Expand description
Builder for the SparseCrossV2
operation.
Implementations§
Source§impl SparseCrossV2
impl SparseCrossV2
Sourcepub fn sparse_types<ArgType: Into<Vec<DataType>>>(self, value: ArgType) -> Self
pub fn sparse_types<ArgType: Into<Vec<DataType>>>(self, value: ArgType) -> Self
Sets the sparse_types
attribute.
Sourcepub fn dense_types<ArgType: Into<Vec<DataType>>>(self, value: ArgType) -> Self
pub fn dense_types<ArgType: Into<Vec<DataType>>>(self, value: ArgType) -> Self
Sets the dense_types
attribute.
Sourcepub fn add_control_input(self, op: Operation) -> Self
pub fn add_control_input(self, op: Operation) -> Self
Adds a control input.
Trait Implementations§
Source§impl Debug for SparseCrossV2
impl Debug for SparseCrossV2
Source§impl Default for SparseCrossV2
impl Default for SparseCrossV2
Source§fn default() -> SparseCrossV2
fn default() -> SparseCrossV2
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SparseCrossV2
impl RefUnwindSafe for SparseCrossV2
impl Send for SparseCrossV2
impl Sync for SparseCrossV2
impl Unpin for SparseCrossV2
impl UnwindSafe for SparseCrossV2
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