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