pub struct CompositeTensorVariantToComponents { /* private fields */ }
Expand description
Builder for the CompositeTensorVariantToComponents
operation.
Implementations§
source§impl CompositeTensorVariantToComponents
impl CompositeTensorVariantToComponents
sourcepub fn metadata<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn metadata<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the metadata
attribute.
sourcepub fn Tcomponents<ArgType: Into<Vec<DataType>>>(self, value: ArgType) -> Self
pub fn Tcomponents<ArgType: Into<Vec<DataType>>>(self, value: ArgType) -> Self
Sets the Tcomponents
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,
encoded: O0,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>>( &self, encoded: O0, scope: &mut Scope ) -> Result<Operation>
Builds the CompositeTensorVariantToComponents
operation.
sourcepub fn build_instance(
&self,
encoded: Output,
scope: &mut Scope
) -> Result<CompositeTensorVariantToComponentsInst>
pub fn build_instance( &self, encoded: Output, scope: &mut Scope ) -> Result<CompositeTensorVariantToComponentsInst>
Builds a new instance of ‘CompositeTensorVariantToComponents’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Default for CompositeTensorVariantToComponents
impl Default for CompositeTensorVariantToComponents
source§fn default() -> CompositeTensorVariantToComponents
fn default() -> CompositeTensorVariantToComponents
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for CompositeTensorVariantToComponents
impl Send for CompositeTensorVariantToComponents
impl Sync for CompositeTensorVariantToComponents
impl Unpin for CompositeTensorVariantToComponents
impl UnwindSafe for CompositeTensorVariantToComponents
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