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