public class Hasher
extends java.lang.Object
| Constructor and Description |
|---|
Hasher() |
| Modifier and Type | Method and Description |
|---|---|
int |
apply(TensorData tensorData,
boolean dimOnly)
Get hash for tensorData optionally excluding value columns
|
static int |
getHash(ReadableTuple readableTuple,
int numCols) |
public static final Hasher INSTANCE
public int apply(TensorData tensorData, boolean dimOnly)
tensorData - input tensorData for hash is to be computeddimOnly - if true, only dimensions (non-value columns) are use in computationpublic static int getHash(ReadableTuple readableTuple, int numCols)