Share via


TensorInt8Bit.CreateFromShapeArrayAndDataArray(Int64[], Byte[]) 메서드

정의

8비트 부호 있는 정수 텐서 개체를 만들고, 크기 셰이프의 버퍼를 할당하고, 모든 데이터를 복사합니다.

public:
 static TensorInt8Bit ^ CreateFromShapeArrayAndDataArray(Platform::Array <long long> ^ shape, Platform::Array <byte> ^ data);
 static TensorInt8Bit CreateFromShapeArrayAndDataArray(winrt::array_view <long> const& shape, winrt::array_view <byte> const& data);
public static TensorInt8Bit CreateFromShapeArrayAndDataArray(long[] shape, byte[] data);
function createFromShapeArrayAndDataArray(shape, data)
Public Shared Function CreateFromShapeArrayAndDataArray (shape As Long(), data As Byte()) As TensorInt8Bit

매개 변수

shape

Int64[]

long long[]

long[]

버퍼의 크기입니다.

data

Byte[]

byte[]

버퍼에 복사할 데이터입니다.

반환

지정된 데이터를 포함하는 버퍼가 있는 8비트 부속 정수 텐서 개체입니다.

Windows 요구 사항

디바이스 패밀리
Windows 10, version 1903 (10.0.18362.0에서 도입되었습니다.)
API contract
Windows.AI.MachineLearning.MachineLearningContract (v2.0에서 도입되었습니다.)

적용 대상