NumSharp
NumSharp copied to clipboard
NDArray Split
Given the following Python code:
a = [1, 2, 3, 99, 99, 3, 2, 1]
a1, a2, a3 = np.split(a, [3, 5])
print(a1, a2, a3)
Translated to F#:
let a = [|1;2;3;99;99;3;2;1|]
let a1,a2,a3 = np.split(a,[|3,5|])
When trying to call split, I get the following error
typecheck error The field, constructor or member 'split' is not defined
Calling split on its own without any input arguments, also returns the same error.
Is split implemented in NumSharp?