-
Notifications
You must be signed in to change notification settings - Fork 211
Closed
Description
torch.log10(torch.tensor(new float[] {10, 20, 30}))
[3], type = Float32, device = cpu
2.3026 2.9957 3.4012
Expected:
1.0000, 1.3010, 1.4771
src\TorchSharp\Tensor\Tensor.Math.cs
/// <summary>
/// Returns a new tensorwith the logarithm to the base 10 of the elements of input.
/// </summary>
/// <param name="input">The input tensor.</param>
public static Tensor log10(Tensor input) => input.log();
Metadata
Metadata
Assignees
Labels
No labels