Struct tensorflow::eager::raw_ops::AssignVariableOp
source · pub struct AssignVariableOp { /* private fields */ }
Expand description
AssignVariableOp
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/AssignVariableOp
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 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>, T1: ToTensorHandle<'a>>(
&self,
ctx: &'a Context,
resource: &T0,
value: &T1
) -> Result<()>
pub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>>( &self, ctx: &'a Context, resource: &T0, value: &T1 ) -> Result<()>
Execute assign_variable_op.
Trait Implementations§
source§impl Clone for AssignVariableOp
impl Clone for AssignVariableOp
source§fn clone(&self) -> AssignVariableOp
fn clone(&self) -> AssignVariableOp
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 AssignVariableOp
impl Debug for AssignVariableOp
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