Struct tensorflow::ops::TensorListElementShape
source · 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.
sourcepub fn build<O0: Into<Output>>(
&self,
input_handle: O0,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>>( &self, input_handle: O0, scope: &mut Scope ) -> Result<Operation>
Builds the TensorListElementShape
operation.
sourcepub fn build_instance(
&self,
input_handle: Output,
scope: &mut Scope
) -> Result<TensorListElementShapeInst>
pub fn build_instance( &self, input_handle: Output, scope: &mut Scope ) -> Result<TensorListElementShapeInst>
Builds a new instance of ‘TensorListElementShape’ Operation with it’s Outputs and Inputs exposed as methods.
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 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