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