Compute the natural logarithm of one plus each element in a tensor. There is a method version of this static function: Tensor.log1p.
$$\ln(1 + x) : \forall x \in T$$
const t = sm.randn([100]) // equivalent calls const a = t.log1p() const b = sm.log1p(t)
Tensor whose values will have one added before their natural logarithm is calculated
Generated using TypeDoc
Compute the natural logarithm of one plus each element in a tensor. There is a method version of this static function: Tensor.log1p.
$$\ln(1 + x) : \forall x \in T$$
Example
Returns