SciSharp / NumSharp

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

mask setter #387

Closed Oceania2018 closed 4 years ago

Oceania2018 commented 4 years ago

I've made it only work for 1d mask, otherwise throw exception. It solves my current issue.

Nucs commented 4 years ago

You can't have a getter with full support for broadcasting, slicing, non-copy slicing with full n-d support. But then only add a 1d support setter for non-sliced arrays.