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