Class Label

java.lang.Object
com.yahoo.tensor.impl.Label

public class Label extends Object
A label is a value of a mapped dimension of a tensor. This class provides a mapping of labels to numbers which allow for more efficient computation with mapped tensor dimensions.
Author:
baldersheim
  • Constructor Details

    • Label

      public Label()
  • Method Details

    • toNumber

      public static long toNumber(String s)
    • fromNumber

      public static String fromNumber(long v)