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