Struct tensorflow::eager::raw_ops::ResourceCountUpTo
source · pub struct ResourceCountUpTo { /* private fields */ }
Expand description
ResourceCountUpTo
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/ResourceCountUpTo
Implementations§
source§impl ResourceCountUpTo
impl ResourceCountUpTo
sourcepub fn target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the `` attribute.
sourcepub fn call<'a, T0: ToTensorHandle<'a>>(
&self,
ctx: &'a Context,
resource: &T0
) -> Result<TensorHandle<'a>>
pub fn call<'a, T0: ToTensorHandle<'a>>( &self, ctx: &'a Context, resource: &T0 ) -> Result<TensorHandle<'a>>
Execute resource_count_up_to.
Trait Implementations§
source§impl Clone for ResourceCountUpTo
impl Clone for ResourceCountUpTo
source§fn clone(&self) -> ResourceCountUpTo
fn clone(&self) -> ResourceCountUpTo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ResourceCountUpTo
impl Debug for ResourceCountUpTo
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