ByteSequenceProvider

public class ByteSequenceProvider

Produces sequence of bytes to be stored in a ByteSequenceTensorBuffer.

Public Constructors

ByteSequenceProvider(NdArray<T> source, Function<T, byte[]> byteExtractor)
Constructor

Public Methods

Iterator<byte[]>

Inherited Methods

Public Constructors

public ByteSequenceProvider (NdArray<T> source, Function<T, byte[]> byteExtractor)

Constructor

Parameters
source source of data
byteExtractor method that converts one value of the source into a sequence of bytes

Public Methods

public Iterator<byte[]> iterator ()