Tensor Back End.Log 1p In Place<T> Method
Computes the logarithm of the elements of a tensor in place.
Definition
Namespace: Numerics.NET.Tensors
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 9.0.3
C#
This tensor with the elements replaced with their logarithm.
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 9.0.3
public virtual Tensor<T> Log1pInPlace<T>(
Tensor<T> value,
Tensor<bool>? mask = null
)
Parameters
- value Tensor<T>
- A tensor.
- mask Tensor<Boolean> (Optional)
- Optional. A boolean tensor that specifies whether the operation should be performed at the location. If omitted, the operation is performed everywhere.
Type Parameters
- T
- The type of the elements of the tensor.
Return Value
Tensor<T>This tensor with the elements replaced with their logarithm.
Exceptions
Argument | value is null. |