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