Interface Label


public interface Label
A label for a tensor dimension. It handles both mapped dimensions with string labels and indexed dimensions with numeric labels. For mapped dimensions, a negative numeric label is assigned by LabelCache. For indexed dimension, the index itself is used as a positive numeric label.
Author:
glebashnik
  • Method Details

    • asNumeric

      long asNumeric()
    • asString

      String asString()
    • isEqualTo

      boolean isEqualTo(Label label)