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