Compartilhar via


TensorUInt8Bit.Create Método

Definição

Sobrecargas

Create()

Cria um tensor inteiro sem sinal de 8 bits sem alocação de um buffer.

Create(IIterable<Int64>)

Cria um objeto tensor inteiro sem sinal de 8 bits e aloca um buffer de forma de tamanho.

Create()

Cria um tensor inteiro sem sinal de 8 bits sem alocação de um buffer.

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

Retornos

Um objeto tensor inteiro sem sinal de 8 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 sem sinal de 8 bits e aloca um buffer de forma de tamanho.

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

Parâmetros

shape

IIterable<Int64>

IEnumerable<Int64>

Windows.Foundation.Collections.IIterable

IIterable<long>

O tamanho do buffer.

Retornos

Um objeto tensor inteiro sem sinal de 8 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