Compartilhar via


TensorInt32Bit.Create Método

Definição

Sobrecargas

Create()

Cria um objeto tensor inteiro com sinal de 32 bits sem alocar um buffer.

Create(IIterable<Int64>)

Cria um objeto tensor inteiro com sinal de 32 bits e aloca um buffer de forma de tamanho.

Create()

Cria um objeto tensor inteiro com sinal de 32 bits sem alocar um buffer.

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

Retornos

Um objeto tensor inteiro com sinal de 32 bits.

Atributos

Comentários

Windows Server

Para usar essa API no Windows Server, você deve usar o Windows Server 2019 com a Experiência Desktop.

Acesso thread-safe

Essa API é thread-safe.

Aplica-se a

Create(IIterable<Int64>)

Cria um objeto tensor inteiro com sinal de 32 bits e aloca um buffer de forma de tamanho.

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

Parâmetros

shape

IIterable<Int64>

IEnumerable<Int64>

Windows.Foundation.Collections.IIterable

IIterable<long>

O tamanho do buffer.

Retornos

Um objeto tensor inteiro com sinal de 32 bits com um buffer do tamanho fornecido.

Atributos

Comentários

Windows Server

Para usar essa API no Windows Server, você deve usar o Windows Server 2019 com a Experiência Desktop.

Acesso thread-safe

Essa API é thread-safe.

Aplica-se a