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