We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
slice.IsEllipsis
1 parent 74ae84f commit f7ba7f2Copy full SHA for f7ba7f2
src/NumSharp.Core/Backends/Unmanaged/UnmanagedStorage.Slicing.cs
@@ -19,6 +19,10 @@ public UnmanagedStorage GetView(params Slice[] slices)
19
if (slices == null)
20
throw new ArgumentNullException(nameof(slices));
21
22
+ foreach (var slice in slices)
23
+ if (slice.IsEllipsis)
24
+ throw new NotSupportedException("Ellipsis slicing '...' is not supported by NumSharp.");
25
+
26
//handle memory slice if possible
27
if (!_shape.IsSliced)
28
{
0 commit comments