Class ScalarFloatTensor

java.lang.Object
com.linkedin.feathr.common.tensor.scalar.ScalarTensor
com.linkedin.feathr.common.tensor.scalar.ScalarFloatTensor
All Implemented Interfaces:
TensorData

public class ScalarFloatTensor extends ScalarTensor
  • Constructor Details

    • ScalarFloatTensor

      public ScalarFloatTensor(float value)
  • Method Details

    • getTypes

      public Representable[] getTypes()
      Returns:
      the types of all dimensions and the value as a single array.
    • iterator

      public TensorIterator iterator()
      Returns:
      an iterator over entries in the mapping from dimensions to the value.