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