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