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