Skip to content

tensorplay.autograd.function

Classes

class Function [source]

python
Function()

Records operation history and defines formulas for differentiating ops.

Methods

apply(*args, **kwargs) [source]


backward(ctx, *grad_outputs) [source]

Defines a formula for differentiating the operation.


forward(ctx, *args, **kwargs) [source]

Performs the operation.


Released under the Apache 2.0 License.

📚DeepWiki