Struct tensorflow::ops::DenseToSparseSetOperation
source · [−]pub struct DenseToSparseSetOperation { /* private fields */ }
Expand description
Builder for the DenseToSparseSetOperation
operation.
Implementations
sourceimpl 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
sourceimpl Debug for DenseToSparseSetOperation
impl Debug for DenseToSparseSetOperation
sourceimpl Default for DenseToSparseSetOperation
impl Default for DenseToSparseSetOperation
sourcefn 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more