Struct tensorflow::eager::raw_ops::SparseCrossHashed
source · pub struct SparseCrossHashed { /* private fields */ }
Expand description
SparseCrossHashed
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/SparseCrossHashed
Implementations§
source§impl SparseCrossHashed
impl SparseCrossHashed
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>, T2: ToTensorHandle<'a>, T3: ToTensorHandle<'a>, T4: ToTensorHandle<'a>, T5: ToTensorHandle<'a>, T6: ToTensorHandle<'a>>(
&self,
ctx: &'a Context,
indices: &[&T0],
values: &T1,
shapes: &[&T2],
dense_inputs: &T3,
num_buckets: &T4,
strong_hash: &T5,
salt: &T6
) -> Result<[TensorHandle<'a>; 3]>
pub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>, T2: ToTensorHandle<'a>, T3: ToTensorHandle<'a>, T4: ToTensorHandle<'a>, T5: ToTensorHandle<'a>, T6: ToTensorHandle<'a>>( &self, ctx: &'a Context, indices: &[&T0], values: &T1, shapes: &[&T2], dense_inputs: &T3, num_buckets: &T4, strong_hash: &T5, salt: &T6 ) -> Result<[TensorHandle<'a>; 3]>
Execute sparse_cross_hashed.
Trait Implementations§
source§impl Clone for SparseCrossHashed
impl Clone for SparseCrossHashed
source§fn clone(&self) -> SparseCrossHashed
fn clone(&self) -> SparseCrossHashed
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 SparseCrossHashed
impl Debug for SparseCrossHashed
Auto Trait Implementations§
impl RefUnwindSafe for SparseCrossHashed
impl Send for SparseCrossHashed
impl Sync for SparseCrossHashed
impl Unpin for SparseCrossHashed
impl UnwindSafe for SparseCrossHashed
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