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