code: public Map<Integer, Map<ResourceType, Integer>> getCpuToResourcePartitioning() {
      if (cachedCpuToResourcePartitioning == null) {
        cachedCpuToResourcePartitioning =
            getUncachedCpuToResourcePartitioning(this);
      }
      return cachedCpuToResourcePartitioning;
    }
docs: Get and cache the cpu to resource partitioning for this object.
  
  @return Mapping of cpu to resources (cached)