Struct tensorflow::ops::ConditionalAccumulator
source · [−]pub struct ConditionalAccumulator { /* private fields */ }
Expand description
Builder for the ConditionalAccumulator
operation.
Implementations
sourceimpl ConditionalAccumulator
impl ConditionalAccumulator
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 ConditionalAccumulator
operation.
sourcepub fn build_instance(
&self,
scope: &mut Scope
) -> Result<ConditionalAccumulatorInst>
pub fn build_instance(
&self,
scope: &mut Scope
) -> Result<ConditionalAccumulatorInst>
Builds a new instance of ‘ConditionalAccumulator’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations
sourceimpl Debug for ConditionalAccumulator
impl Debug for ConditionalAccumulator
sourceimpl Default for ConditionalAccumulator
impl Default for ConditionalAccumulator
sourcefn default() -> ConditionalAccumulator
fn default() -> ConditionalAccumulator
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for ConditionalAccumulator
impl Send for ConditionalAccumulator
impl Sync for ConditionalAccumulator
impl Unpin for ConditionalAccumulator
impl UnwindSafe for ConditionalAccumulator
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more