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