Struct tensorflow::eager::raw_ops::SparseReshape
source · pub struct SparseReshape { /* private fields */ }
Expand description
SparseReshape
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/SparseReshape
Implementations§
source§impl SparseReshape
impl SparseReshape
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>>(
&self,
ctx: &'a Context,
input_indices: &T0,
input_shape: &T1,
new_shape: &T2
) -> Result<[TensorHandle<'a>; 2]>
pub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>, T2: ToTensorHandle<'a>>( &self, ctx: &'a Context, input_indices: &T0, input_shape: &T1, new_shape: &T2 ) -> Result<[TensorHandle<'a>; 2]>
Execute sparse_reshape.
Trait Implementations§
source§impl Clone for SparseReshape
impl Clone for SparseReshape
source§fn clone(&self) -> SparseReshape
fn clone(&self) -> SparseReshape
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 SparseReshape
impl Debug for SparseReshape
Auto Trait Implementations§
impl RefUnwindSafe for SparseReshape
impl Send for SparseReshape
impl Sync for SparseReshape
impl Unpin for SparseReshape
impl UnwindSafe for SparseReshape
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