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