SciSharp / NumSharp

High Performance Computation for N-D Tensors in .NET, similar API to NumPy.
https://github.com/SciSharp
Apache License 2.0
1.34k stars 188 forks source link

Added support for user defined decimal precision for np.around() and TensorEngine.Round() #453

Closed shashi4u closed 7 months ago

shashi4u commented 3 years ago

In response to issue #452,

I added new overloads for np.around(), np.round_() and TensorEngine.Round() methods with argument decimals (int) to round the values of NDArray to user specified precision

shashi4u commented 3 years ago

I have build the solution locally and it built without any errors. However, the AppVeyor build failed with error: NETSDK1004: Assets file 'C:\projects\numsharp\src\NumSharp.Bitmap\obj\project.assets.json' not found. Run a NuGet package restore

Am I missing something here?