Struct tensorflow::eager::raw_ops::DestroyTemporaryVariable
source · pub struct DestroyTemporaryVariable { /* private fields */ }
Expand description
DestroyTemporaryVariable
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/DestroyTemporaryVariable
Implementations§
source§impl DestroyTemporaryVariable
impl DestroyTemporaryVariable
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, T0: ToTensorHandle<'a>>(
&self,
ctx: &'a Context,
ref_: &T0
) -> Result<TensorHandle<'a>>
pub fn call<'a, T0: ToTensorHandle<'a>>( &self, ctx: &'a Context, ref_: &T0 ) -> Result<TensorHandle<'a>>
Execute destroy_temporary_variable.
Trait Implementations§
source§impl Clone for DestroyTemporaryVariable
impl Clone for DestroyTemporaryVariable
source§fn clone(&self) -> DestroyTemporaryVariable
fn clone(&self) -> DestroyTemporaryVariable
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 DestroyTemporaryVariable
impl Debug for DestroyTemporaryVariable
Auto Trait Implementations§
impl RefUnwindSafe for DestroyTemporaryVariable
impl Send for DestroyTemporaryVariable
impl Sync for DestroyTemporaryVariable
impl Unpin for DestroyTemporaryVariable
impl UnwindSafe for DestroyTemporaryVariable
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