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