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