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