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