Struct tensorflow::eager::raw_ops::TensorMapLookup
source · pub struct TensorMapLookup { /* private fields */ }
Expand description
TensorMapLookup
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/TensorMapLookup
Implementations§
source§impl TensorMapLookup
impl TensorMapLookup
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 target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the `` attribute.
sourcepub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>>(
&self,
ctx: &'a Context,
input_handle: &T0,
key: &T1
) -> Result<TensorHandle<'a>>
pub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>>( &self, ctx: &'a Context, input_handle: &T0, key: &T1 ) -> Result<TensorHandle<'a>>
Execute tensor_map_lookup.
Trait Implementations§
source§impl Clone for TensorMapLookup
impl Clone for TensorMapLookup
source§fn clone(&self) -> TensorMapLookup
fn clone(&self) -> TensorMapLookup
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TensorMapLookup
impl Debug for TensorMapLookup
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