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