public interface Axis
Base axis class for 0.4 and 0.5 axes.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the axis ID.
    Get the size of this axis.
    Get the type of this axis, see AxisType.
    void
    validate(List<? extends BaseTensor> tensors)
    Ensure the parameters of the axis are valid, possibly resolving references to other tensors and/or axes.
  • Method Details

    • getType

      AxisType getType()
      Get the type of this axis, see AxisType.
      Returns:
      The axis type.
    • getSize

      Size getSize()
      Get the size of this axis.
      Returns:
      The size, unless it's a 0.4 axis (these have no size).
    • getID

      String getID()
      Get the axis ID.
      Returns:
      The axis ID.
    • validate

      void validate(List<? extends BaseTensor> tensors)
      Ensure the parameters of the axis are valid, possibly resolving references to other tensors and/or axes.
      Parameters:
      tensors - Other tensors in the model, in case they are referenced in this axis.