Struct tensorflow::ops::SparseSlice
source · pub struct SparseSlice { /* private fields */ }
Expand description
Builder for the SparseSlice
operation.
Implementations§
source§impl SparseSlice
impl SparseSlice
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>, O3: Into<Output>, O4: Into<Output>>(
&self,
indices: O0,
values: O1,
shape: O2,
start: O3,
size: O4,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>, O3: Into<Output>, O4: Into<Output>>( &self, indices: O0, values: O1, shape: O2, start: O3, size: O4, scope: &mut Scope ) -> Result<Operation>
Builds the SparseSlice
operation.
sourcepub fn build_instance(
&self,
indices: Output,
values: Output,
shape: Output,
start: Output,
size: Output,
scope: &mut Scope
) -> Result<SparseSliceInst>
pub fn build_instance( &self, indices: Output, values: Output, shape: Output, start: Output, size: Output, scope: &mut Scope ) -> Result<SparseSliceInst>
Builds a new instance of ‘SparseSlice’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Debug for SparseSlice
impl Debug for SparseSlice
source§impl Default for SparseSlice
impl Default for SparseSlice
source§fn default() -> SparseSlice
fn default() -> SparseSlice
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for SparseSlice
impl Send for SparseSlice
impl Sync for SparseSlice
impl Unpin for SparseSlice
impl UnwindSafe for SparseSlice
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