Struct tensorflow::eager::raw_ops::SparseCross
source · pub struct SparseCross { /* private fields */ }
Expand description
SparseCross
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/SparseCross
Implementations§
source§impl SparseCross
impl SparseCross
sourcepub fn hashed_output<ArgType: Into<bool>>(self, value: ArgType) -> Self
pub fn hashed_output<ArgType: Into<bool>>(self, value: ArgType) -> Self
Sets the hashed_output
attribute.
sourcepub fn num_buckets<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn num_buckets<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the num_buckets
attribute.
sourcepub fn out_type<ArgType: Into<DataType>>(self, value: ArgType) -> Self
pub fn out_type<ArgType: Into<DataType>>(self, value: ArgType) -> Self
Sets the out_type
attribute.
sourcepub fn internal_type<ArgType: Into<DataType>>(self, value: ArgType) -> Self
pub fn internal_type<ArgType: Into<DataType>>(self, value: ArgType) -> Self
Sets the internal_type
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>, T2: ToTensorHandle<'a>, T3: ToTensorHandle<'a>>(
&self,
ctx: &'a Context,
indices: &[&T0],
values: &T1,
shapes: &[&T2],
dense_inputs: &T3
) -> Result<[TensorHandle<'a>; 3]>
pub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>, T2: ToTensorHandle<'a>, T3: ToTensorHandle<'a>>( &self, ctx: &'a Context, indices: &[&T0], values: &T1, shapes: &[&T2], dense_inputs: &T3 ) -> Result<[TensorHandle<'a>; 3]>
Execute sparse_cross.
Trait Implementations§
source§impl Clone for SparseCross
impl Clone for SparseCross
source§fn clone(&self) -> SparseCross
fn clone(&self) -> SparseCross
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 SparseCross
impl Debug for SparseCross
Auto Trait Implementations§
impl RefUnwindSafe for SparseCross
impl Send for SparseCross
impl Sync for SparseCross
impl Unpin for SparseCross
impl UnwindSafe for SparseCross
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