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