Struct tensorflow::ops::SparseCrossV2
source · 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 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