class_docstr: A dimension with a base dimension, used for calculating μP scaling.
  
  An `InfDim` object is made up of 2 numbers: a dimension and a base
  dimension. If the base dimension is None, then this object represents a
  "finite", or "non-width" dimension. Otherwise, it represents an "infinite",
  or "width" dimension.
code: def __init__(self, base_dim, dim):
      self.base_dim = base_dim
      self.dim = dim
  
imports: from copy import copy
label_desc: Use image node_id 1 to create a new InfDim object  with example: obj = InfDim(base_dim, dim)