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