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