Class ScalarBytesTensor
java.lang.Object
com.linkedin.feathr.common.tensor.scalar.ScalarTensor
com.linkedin.feathr.common.tensor.scalar.ScalarBytesTensor
- All Implemented Interfaces:
TensorData
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.linkedin.feathr.common.tensor.scalar.ScalarTensor
cardinality, estimatedCardinality, getShape, getType, wrap, wrapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.linkedin.feathr.common.tensor.TensorData
getArity, isEmpty
-
Constructor Details
-
ScalarBytesTensor
public ScalarBytesTensor(byte[] value)
-
-
Method Details
-
getTypes
- Returns:
- the types of all dimensions and the value as a single array.
-
iterator
- Returns:
- an iterator over entries in the mapping from dimensions to the value.
-