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