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