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