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