다음을 통해 공유


TensorUInt8Bit.CreateFromIterable 메서드

정의

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

public:
 static TensorUInt8Bit ^ CreateFromIterable(IIterable<long long> ^ shape, IIterable<byte> ^ data);
 static TensorUInt8Bit CreateFromIterable(IIterable<long> const& shape, IIterable<byte> const& data);
public static TensorUInt8Bit CreateFromIterable(IEnumerable<long> shape, IEnumerable<byte> data);
function createFromIterable(shape, data)
Public Shared Function CreateFromIterable (shape As IEnumerable(Of Long), data As IEnumerable(Of Byte)) As TensorUInt8Bit

매개 변수

shape

IIterable<Int64>

IEnumerable<Int64>

Windows.Foundation.Collections.IIterable

IIterable<long>

버퍼의 크기입니다.

data

IIterable<Byte>

IEnumerable<Byte>

IIterable<byte>

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

반환

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

설명

Windows Server

Windows Server에서 이 API를 사용하려면 데스크톱 환경과 함께 Windows Server 2019를 사용해야 합니다.

스레드로부터의 안전성

이 API는 스레드로부터 안전합니다.

적용 대상