public final class
TStringInitializer
Helper class for initializing a TString
tensor.
Public Constructors
TStringInitializer(NdArray<T> source, Function<T, byte[]> byteExtractor)
|
Public Methods
void | |
long |
computeRequiredSize()
Compute the minimum size for a tensor to hold all the data provided by the source.
|
Inherited Methods
Public Constructors
Public Methods
public long computeRequiredSize ()
Compute the minimum size for a tensor to hold all the data provided by the source.
Returns
- minimum tensor size, in bytes