Struct tensorflow::eager::raw_ops::AssignSubVariableOp
source · pub struct AssignSubVariableOp { /* private fields */ }
Expand description
AssignSubVariableOp
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/AssignSubVariableOp
Implementations§
source§impl AssignSubVariableOp
impl AssignSubVariableOp
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_sub_variable_op.
Trait Implementations§
source§impl Clone for AssignSubVariableOp
impl Clone for AssignSubVariableOp
source§fn clone(&self) -> AssignSubVariableOp
fn clone(&self) -> AssignSubVariableOp
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 AssignSubVariableOp
impl Debug for AssignSubVariableOp
Auto Trait Implementations§
impl RefUnwindSafe for AssignSubVariableOp
impl Send for AssignSubVariableOp
impl Sync for AssignSubVariableOp
impl Unpin for AssignSubVariableOp
impl UnwindSafe for AssignSubVariableOp
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