Function
scalation.modeling.autograd.Function
The Function base trait for all differentiable operations in the autograd system. A Function encapsulates both the forward computation (producing outputs) and the backward computation (propagating gradients). It also provides utility methods for handling unbroadcasting of shapes during the backward pass, ensuring correct gradient flow. Every custom operation should extend this trait and implement forward and backward.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class Absclass Addclass AddConstantclass BatchMatMulclass Ceilclass Clipclass Concatclass Divclass DivConstantclass Dotclass ELUclass Expclass Floorclass GRUCellFusedclass GeLUclass Identityclass LeakyReLUclass Logclass LogBaseclass MAELossclass MSELossclass MatMulclass Maxclass MaxScalarclass MaxValueclass Meanclass MeanAlongAxisclass Minclass MinScalarclass MinValueclass Mulclass MulConstantclass Negclass Permuteclass Powclass RNNCellFusedclass RNNFusedclass ReLUclass Reciprocalclass Reshapeclass Roundclass SSELossclass Sigmoidclass Signclass Sliceclass Softmaxclass Sqrtclass Stdclass StdAlongAxisclass Subclass SubConstantclass Sumclass Tanhclass Transposeclass Varianceclass VarianceAlongAxis
Members list
In this article