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