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