Struct tensorflow::ops::SparseToSparseSetOperation
source · pub struct SparseToSparseSetOperation { /* private fields */ }
Expand description
Builder for the SparseToSparseSetOperation
operation.
Implementations§
source§impl SparseToSparseSetOperation
impl SparseToSparseSetOperation
sourcepub fn set_operation<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn set_operation<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the set_operation
attribute.
sourcepub fn validate_indices<ArgType: Into<bool>>(self, value: ArgType) -> Self
pub fn validate_indices<ArgType: Into<bool>>(self, value: ArgType) -> Self
Sets the validate_indices
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>>(
&self,
set1_indices: O0,
set1_values: O1,
set1_shape: O2,
set2_indices: O3,
set2_values: O4,
set2_shape: O5,
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>>( &self, set1_indices: O0, set1_values: O1, set1_shape: O2, set2_indices: O3, set2_values: O4, set2_shape: O5, scope: &mut Scope ) -> Result<Operation>
Builds the SparseToSparseSetOperation
operation.
sourcepub fn build_instance(
&self,
set1_indices: Output,
set1_values: Output,
set1_shape: Output,
set2_indices: Output,
set2_values: Output,
set2_shape: Output,
scope: &mut Scope
) -> Result<SparseToSparseSetOperationInst>
pub fn build_instance( &self, set1_indices: Output, set1_values: Output, set1_shape: Output, set2_indices: Output, set2_values: Output, set2_shape: Output, scope: &mut Scope ) -> Result<SparseToSparseSetOperationInst>
Builds a new instance of ‘SparseToSparseSetOperation’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Debug for SparseToSparseSetOperation
impl Debug for SparseToSparseSetOperation
source§impl Default for SparseToSparseSetOperation
impl Default for SparseToSparseSetOperation
source§fn default() -> SparseToSparseSetOperation
fn default() -> SparseToSparseSetOperation
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for SparseToSparseSetOperation
impl Send for SparseToSparseSetOperation
impl Sync for SparseToSparseSetOperation
impl Unpin for SparseToSparseSetOperation
impl UnwindSafe for SparseToSparseSetOperation
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