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