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
boolean |
equals(Object arg0)
|
final Class<?> |
getClass()
|
int |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
String |
toString()
|
final void |
wait(long arg0, int arg1)
|
final void |
wait(long arg0)
|
final void |
wait()
|
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