Struct tensorflow::ops::TensorListSetItem
source · [−]pub struct TensorListSetItem { /* private fields */ }
Expand description
Builder for the TensorListSetItem
operation.
Implementations
sourceimpl 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 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
sourceimpl Debug for TensorListSetItem
impl Debug for TensorListSetItem
sourceimpl Default for TensorListSetItem
impl Default for TensorListSetItem
sourcefn 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more