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