Struct tensorflow::eager::raw_ops::VariableShape
source · pub struct VariableShape { /* private fields */ }
Expand description
VariableShape
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/VariableShape
Implementations§
source§impl VariableShape
impl VariableShape
sourcepub fn out_type<ArgType: Into<DataType>>(self, value: ArgType) -> Self
pub fn out_type<ArgType: Into<DataType>>(self, value: ArgType) -> Self
Sets the out_type
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>>(
&self,
ctx: &'a Context,
input: &T0
) -> Result<TensorHandle<'a>>
pub fn call<'a, T0: ToTensorHandle<'a>>( &self, ctx: &'a Context, input: &T0 ) -> Result<TensorHandle<'a>>
Execute variable_shape.
Trait Implementations§
source§impl Clone for VariableShape
impl Clone for VariableShape
source§fn clone(&self) -> VariableShape
fn clone(&self) -> VariableShape
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 VariableShape
impl Debug for VariableShape
Auto Trait Implementations§
impl RefUnwindSafe for VariableShape
impl Send for VariableShape
impl Sync for VariableShape
impl Unpin for VariableShape
impl UnwindSafe for VariableShape
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