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