Struct tensorflow::ops::EmptyTensorList
source · [−]pub struct EmptyTensorList { /* private fields */ }
Expand description
Builder for the EmptyTensorList
operation.
Implementations
sourceimpl EmptyTensorList
impl EmptyTensorList
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,
element_shape: O0,
max_num_elements: O1,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>>(
&self,
element_shape: O0,
max_num_elements: O1,
scope: &mut Scope
) -> Result<Operation>
Builds the EmptyTensorList
operation.
sourcepub fn build_instance(
&self,
element_shape: Output,
max_num_elements: Output,
scope: &mut Scope
) -> Result<EmptyTensorListInst>
pub fn build_instance(
&self,
element_shape: Output,
max_num_elements: Output,
scope: &mut Scope
) -> Result<EmptyTensorListInst>
Builds a new instance of ‘EmptyTensorList’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations
sourceimpl Debug for EmptyTensorList
impl Debug for EmptyTensorList
sourceimpl Default for EmptyTensorList
impl Default for EmptyTensorList
sourcefn default() -> EmptyTensorList
fn default() -> EmptyTensorList
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for EmptyTensorList
impl Send for EmptyTensorList
impl Sync for EmptyTensorList
impl Unpin for EmptyTensorList
impl UnwindSafe for EmptyTensorList
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more