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.
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 Freeze for TensorListReserve
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