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