Tensor.Split<T>(ReadOnlyTensorSpan<T>, IntPtr, IntPtr) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
generic <typename T>
static cli::array <System::Numerics::Tensors::Tensor<T> ^> ^ Split(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % input, IntPtr numSplits, IntPtr axis);
public static System.Numerics.Tensors.Tensor<T>[] Split<T> (scoped in System.Numerics.Tensors.ReadOnlyTensorSpan<T> input, IntPtr numSplits, IntPtr axis);
static member Split : ReadOnlyTensorSpan * nativeint * nativeint -> System.Numerics.Tensors.Tensor<'T>[]
Public Function Split(Of T) (ByRef input As ReadOnlyTensorSpan(Of T), numSplits As IntPtr, axis As IntPtr) As Tensor(Of T)()
Type Parameters
- T
Parameters
- input
- ReadOnlyTensorSpan<T>
- numSplits
-
IntPtr
nativeint
- axis
-
IntPtr
nativeint
Returns
Tensor<T>[]
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for