Struct tensorflow::eager::raw_ops::TemporaryVariable
source · pub struct TemporaryVariable { /* private fields */ }
Expand description
TemporaryVariable
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/TemporaryVariable
Implementations§
source§impl TemporaryVariable
impl TemporaryVariable
sourcepub fn var_name<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn var_name<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the var_name
attribute.
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>(&self, ctx: &'a Context) -> Result<TensorHandle<'a>>
pub fn call<'a>(&self, ctx: &'a Context) -> Result<TensorHandle<'a>>
Execute temporary_variable.
Trait Implementations§
source§impl Clone for TemporaryVariable
impl Clone for TemporaryVariable
source§fn clone(&self) -> TemporaryVariable
fn clone(&self) -> TemporaryVariable
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 TemporaryVariable
impl Debug for TemporaryVariable
Auto Trait Implementations§
impl RefUnwindSafe for TemporaryVariable
impl Send for TemporaryVariable
impl Sync for TemporaryVariable
impl Unpin for TemporaryVariable
impl UnwindSafe for TemporaryVariable
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