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