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