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