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