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