Struct tensorflow::ops::SparseCrossHashed
source · pub struct SparseCrossHashed { /* private fields */ }
Expand description
Builder for the SparseCrossHashed
operation.
Implementations§
source§impl SparseCrossHashed
impl SparseCrossHashed
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.
sourcepub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>, O3: Into<Output>, O4: Into<Output>, O5: Into<Output>, O6: Into<Output>>(
&self,
indices: O0,
values: O1,
shapes: O2,
dense_inputs: O3,
num_buckets: O4,
strong_hash: O5,
salt: O6,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>, O3: Into<Output>, O4: Into<Output>, O5: Into<Output>, O6: Into<Output>>( &self, indices: O0, values: O1, shapes: O2, dense_inputs: O3, num_buckets: O4, strong_hash: O5, salt: O6, scope: &mut Scope ) -> Result<Operation>
Builds the SparseCrossHashed
operation.
sourcepub fn build_instance(
&self,
indices: Vec<Output>,
values: Output,
shapes: Vec<Output>,
dense_inputs: Output,
num_buckets: Output,
strong_hash: Output,
salt: Output,
scope: &mut Scope
) -> Result<SparseCrossHashedInst>
pub fn build_instance( &self, indices: Vec<Output>, values: Output, shapes: Vec<Output>, dense_inputs: Output, num_buckets: Output, strong_hash: Output, salt: Output, scope: &mut Scope ) -> Result<SparseCrossHashedInst>
Builds a new instance of ‘SparseCrossHashed’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Debug for SparseCrossHashed
impl Debug for SparseCrossHashed
source§impl Default for SparseCrossHashed
impl Default for SparseCrossHashed
source§fn default() -> SparseCrossHashed
fn default() -> SparseCrossHashed
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for SparseCrossHashed
impl Send for SparseCrossHashed
impl Sync for SparseCrossHashed
impl Unpin for SparseCrossHashed
impl UnwindSafe for SparseCrossHashed
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