pub struct SparseCross { /* private fields */ }
Expand description
Builder for the SparseCross
operation.
Implementations§
Source§impl SparseCross
impl SparseCross
Sourcepub fn hashed_output<ArgType: Into<bool>>(self, value: ArgType) -> Self
pub fn hashed_output<ArgType: Into<bool>>(self, value: ArgType) -> Self
Sets the hashed_output
attribute.
Sourcepub fn num_buckets<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn num_buckets<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the num_buckets
attribute.
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 out_type<ArgType: Into<DataType>>(self, value: ArgType) -> Self
pub fn out_type<ArgType: Into<DataType>>(self, value: ArgType) -> Self
Sets the out_type
attribute.
Sourcepub fn internal_type<ArgType: Into<DataType>>(self, value: ArgType) -> Self
pub fn internal_type<ArgType: Into<DataType>>(self, value: ArgType) -> Self
Sets the internal_type
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 SparseCross
impl Debug for SparseCross
Source§impl Default for SparseCross
impl Default for SparseCross
Source§fn default() -> SparseCross
fn default() -> SparseCross
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SparseCross
impl RefUnwindSafe for SparseCross
impl Send for SparseCross
impl Sync for SparseCross
impl Unpin for SparseCross
impl UnwindSafe for SparseCross
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