pub struct TensorListElementShape { /* private fields */ }
Expand description
Builder for the TensorListElementShape
operation.
Implementations§
Source§impl TensorListElementShape
impl TensorListElementShape
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 TensorListElementShape
impl Debug for TensorListElementShape
Source§impl Default for TensorListElementShape
impl Default for TensorListElementShape
Source§fn default() -> TensorListElementShape
fn default() -> TensorListElementShape
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TensorListElementShape
impl RefUnwindSafe for TensorListElementShape
impl Send for TensorListElementShape
impl Sync for TensorListElementShape
impl Unpin for TensorListElementShape
impl UnwindSafe for TensorListElementShape
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