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