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