You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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();
The text was updated successfully, but these errors were encountered:
Expected:
src\TorchSharp\Tensor\Tensor.Math.cs
The text was updated successfully, but these errors were encountered: