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