Tensor.Split<T>(ReadOnlyTensorSpan<T>, Int32, IntPtr) メソッド

定義

指定したTensor<T>に沿ってsplitCountdimensionに分割します。 特定の dimension でテンソルを均等に分割できない場合は、例外がスローされます。

public:
generic <typename T>
 static cli::array <System::Numerics::Tensors::Tensor<T> ^> ^ Split(System::Numerics::Tensors::ReadOnlyTensorSpan<T> % tensor, int splitCount, IntPtr dimension);
public static System.Numerics.Tensors.Tensor<T>[] Split<T>(scoped in System.Numerics.Tensors.ReadOnlyTensorSpan<T> tensor, int splitCount, IntPtr dimension);
static member Split : ReadOnlyTensorSpan * int * nativeint -> System.Numerics.Tensors.Tensor<'T>[]
Public Function Split(Of T) (ByRef tensor As ReadOnlyTensorSpan(Of T), splitCount As Integer, dimension As IntPtr) As Tensor(Of T)()

型パラメーター

T

パラメーター

tensor
ReadOnlyTensorSpan<T>

Tensor<T> と入力します。

splitCount
Int32

を分割する回数 tensor

dimension
IntPtr

nativeint

分割する軸。

返品

Tensor<T>[]

適用対象