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