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