Struct tensorflow::ops::NthElement
source · [−]pub struct NthElement { /* private fields */ }
Expand description
Builder for the NthElement
operation.
Implementations
sourceimpl 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
sourceimpl Debug for NthElement
impl Debug for NthElement
sourceimpl Default for NthElement
impl Default for NthElement
sourcefn 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more