Class ScalarDoubleTensor

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

public class ScalarDoubleTensor extends ScalarTensor
  • Constructor Details

    • ScalarDoubleTensor

      public ScalarDoubleTensor(double 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.