Skip to content

WARNING

该页面尚未翻译。 以下内容为英文原版。

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.


基于 Apache 2.0 许可发布。

📚DeepWiki