Package ai.djl.metric

Class Dimension


  • public class Dimension
    extends java.lang.Object
    A class represents a metric dimension.
    • Constructor Summary

      Constructors 
      Constructor Description
      Dimension()
      Constructs a new Dimension instance.
      Dimension​(java.lang.String name, java.lang.String value)
      Constructs a new Dimension instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getName()
      Returns the dimension name.
      java.lang.String getValue()
      Returns the dimension value.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Dimension

        public Dimension()
        Constructs a new Dimension instance.
      • Dimension

        public Dimension​(java.lang.String name,
                         java.lang.String value)
        Constructs a new Dimension instance.
        Parameters:
        name - the dimension name
        value - the dimension value
    • Method Detail

      • getName

        public java.lang.String getName()
        Returns the dimension name.
        Returns:
        the dimension name
      • getValue

        public java.lang.String getValue()
        Returns the dimension value.
        Returns:
        the dimension value