Share via


TensorUInt16Bit.Create Metode

Definisi

Overload

Create()

Membuat objek tensor bilangan bulat tidak bertanda 16-bit tanpa mengalokasikan buffer.

Create(IIterable<Int64>)

Membuat objek tensor bilangan bulat tidak bertanda 16-bit dan mengalokasikan buffer bentuk ukuran.

Create()

Membuat objek tensor bilangan bulat tidak bertanda 16-bit tanpa mengalokasikan buffer.

public:
 static TensorUInt16Bit ^ Create();
/// [Windows.Foundation.Metadata.Overload("Create")]
 static TensorUInt16Bit Create();
[Windows.Foundation.Metadata.Overload("Create")]
public static TensorUInt16Bit Create();
function create()
Public Shared Function Create () As TensorUInt16Bit

Mengembalikan

Objek tensor bilangan bulat tidak bertanda 16-bit.

Atribut

Keterangan

Windows Server

Untuk menggunakan API ini di Windows Server, Anda harus menggunakan Windows Server 2019 dengan Pengalaman Desktop.

Keamanan utas

API ini aman untuk utas.

Berlaku untuk

Create(IIterable<Int64>)

Membuat objek tensor bilangan bulat tidak bertanda 16-bit dan mengalokasikan buffer bentuk ukuran.

public:
 static TensorUInt16Bit ^ Create(IIterable<long long> ^ shape);
/// [Windows.Foundation.Metadata.Overload("Create2")]
 static TensorUInt16Bit Create(IIterable<long> const& shape);
[Windows.Foundation.Metadata.Overload("Create2")]
public static TensorUInt16Bit Create(IEnumerable<long> shape);
function create(shape)
Public Shared Function Create (shape As IEnumerable(Of Long)) As TensorUInt16Bit

Parameter

shape

IIterable<Int64>

IEnumerable<Int64>

Windows.Foundation.Collections.IIterable

IIterable<long>

Ukuran buffer.

Mengembalikan

Objek tensor bilangan bulat tidak bertanda 16-bit dengan buffer dengan ukuran tertentu.

Atribut

Keterangan

Windows Server

Untuk menggunakan API ini di Windows Server, Anda harus menggunakan Windows Server 2019 dengan Pengalaman Desktop.

Keamanan utas

API ini aman untuk utas.

Berlaku untuk