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