Struct tensorflow::ops::SparseReshape
source · pub struct SparseReshape { /* private fields */ }
Expand description
Builder for the SparseReshape
operation.
Implementations§
source§impl SparseReshape
impl SparseReshape
sourcepub fn add_control_input(self, op: Operation) -> Self
pub fn add_control_input(self, op: Operation) -> Self
Adds a control input.
sourcepub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>>(
&self,
input_indices: O0,
input_shape: O1,
new_shape: O2,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>>( &self, input_indices: O0, input_shape: O1, new_shape: O2, scope: &mut Scope ) -> Result<Operation>
Builds the SparseReshape
operation.
sourcepub fn build_instance(
&self,
input_indices: Output,
input_shape: Output,
new_shape: Output,
scope: &mut Scope
) -> Result<SparseReshapeInst>
pub fn build_instance( &self, input_indices: Output, input_shape: Output, new_shape: Output, scope: &mut Scope ) -> Result<SparseReshapeInst>
Builds a new instance of ‘SparseReshape’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Debug for SparseReshape
impl Debug for SparseReshape
source§impl Default for SparseReshape
impl Default for SparseReshape
source§fn default() -> SparseReshape
fn default() -> SparseReshape
Returns the “default value” for a type. Read more
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