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