Natural Logarithm (Log)#
API#
- class warp_nn.modules.operators.Log(*, requires_grad: bool = True)[source]#
Bases:
ModuleNatural Logarithm (Log) operation.
This class computes the element-wise natural logarithm:
\[\text{Log}(x) = \ln(x)\]- Parameters:
requires_grad – Whether the cached output arrays of the module require gradients.