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