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