Struct tensorflow::eager::raw_ops::SparseCountSparseOutput
source · pub struct SparseCountSparseOutput { /* private fields */ }
Expand description
SparseCountSparseOutput
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/SparseCountSparseOutput
Implementations§
source§impl SparseCountSparseOutput
impl SparseCountSparseOutput
sourcepub fn minlength<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn minlength<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the minlength
attribute.
sourcepub fn maxlength<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn maxlength<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the maxlength
attribute.
sourcepub fn binary_output<ArgType: Into<bool>>(self, value: ArgType) -> Self
pub fn binary_output<ArgType: Into<bool>>(self, value: ArgType) -> Self
Sets the binary_output
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,
dense_shape: &T2,
weights: &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, dense_shape: &T2, weights: &T3 ) -> Result<[TensorHandle<'a>; 3]>
Execute sparse_count_sparse_output.
Trait Implementations§
source§impl Clone for SparseCountSparseOutput
impl Clone for SparseCountSparseOutput
source§fn clone(&self) -> SparseCountSparseOutput
fn clone(&self) -> SparseCountSparseOutput
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 SparseCountSparseOutput
impl Debug for SparseCountSparseOutput
Auto Trait Implementations§
impl RefUnwindSafe for SparseCountSparseOutput
impl Send for SparseCountSparseOutput
impl Sync for SparseCountSparseOutput
impl Unpin for SparseCountSparseOutput
impl UnwindSafe for SparseCountSparseOutput
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