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