Tensor<T>.ITensor<Tensor<T>,T>.CreateUninitialized Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Overload
ITensor<Tensor<T>,T>.CreateUninitialized(ReadOnlySpan<IntPtr>, Boolean) |
Membuat Tensor<T> dan tidak menginisialisasinya. Jika |
ITensor<Tensor<T>,T>.CreateUninitialized(ReadOnlySpan<IntPtr>, ReadOnlySpan<IntPtr>, Boolean) |
Membuat Tensor<T> dan tidak menginisialisasinya. Jika |
ITensor<Tensor<T>,T>.CreateUninitialized(ReadOnlySpan<IntPtr>, Boolean)
- Sumber:
- Tensor.cs
Membuat Tensor<T> dan tidak menginisialisasinya. Jika pinned
benar, memori akan disematkan.
static System::Numerics::Tensors::Tensor<T> ^ System.Numerics.Tensors.ITensor<System.Numerics.Tensors.Tensor<T>,T>.CreateUninitialized(ReadOnlySpan<IntPtr> lengths, bool pinned) = System::Numerics::Tensors::ITensor<System::Numerics::Tensors::Tensor<T> ^, T>::CreateUninitialized;
static System.Numerics.Tensors.Tensor<T> ITensor<Tensor<T>,T>.CreateUninitialized (ReadOnlySpan<IntPtr> lengths, bool pinned);
static member System.Numerics.Tensors.ITensor<System.Numerics.Tensors.Tensor<T>,T>.CreateUninitialized : ReadOnlySpan<nativeint> * bool -> System.Numerics.Tensors.Tensor<'T>
Shared Function CreateUninitialized (lengths As ReadOnlySpan(Of IntPtr), pinned As Boolean) As Tensor(Of T) Implements ITensor(Of Tensor(Of T), T).CreateUninitialized
Parameter
- lengths
-
ReadOnlySpan<nativeint>
ReadOnlySpan<T> menunjukkan panjang setiap dimensi.
Mengembalikan
Penerapan
Berlaku untuk
ITensor<Tensor<T>,T>.CreateUninitialized(ReadOnlySpan<IntPtr>, ReadOnlySpan<IntPtr>, Boolean)
- Sumber:
- Tensor.cs
Membuat Tensor<T> dan tidak menginisialisasinya. Jika pinned
benar, memori akan disematkan.
static System::Numerics::Tensors::Tensor<T> ^ System.Numerics.Tensors.ITensor<System.Numerics.Tensors.Tensor<T>,T>.CreateUninitialized(ReadOnlySpan<IntPtr> lengths, ReadOnlySpan<IntPtr> strides, bool pinned) = System::Numerics::Tensors::ITensor<System::Numerics::Tensors::Tensor<T> ^, T>::CreateUninitialized;
static System.Numerics.Tensors.Tensor<T> ITensor<Tensor<T>,T>.CreateUninitialized (ReadOnlySpan<IntPtr> lengths, ReadOnlySpan<IntPtr> strides, bool pinned);
static member System.Numerics.Tensors.ITensor<System.Numerics.Tensors.Tensor<T>,T>.CreateUninitialized : ReadOnlySpan<nativeint> * ReadOnlySpan<nativeint> * bool -> System.Numerics.Tensors.Tensor<'T>
Shared Function CreateUninitialized (lengths As ReadOnlySpan(Of IntPtr), strides As ReadOnlySpan(Of IntPtr), pinned As Boolean) As Tensor(Of T) Implements ITensor(Of Tensor(Of T), T).CreateUninitialized
Parameter
- lengths
-
ReadOnlySpan<nativeint>
ReadOnlySpan<T> menunjukkan panjang setiap dimensi.
- strides
-
ReadOnlySpan<nativeint>
ReadOnlySpan<T> yang menunjukkan langkah setiap dimensi.