class_docstr: Abstract class representing predictions.
class_docstr_tok: ["Abstract","class","representing","predictions","."]
docstr: Return the dimensionality of the forecast object.
code: def dim(self) -> int:
      """
      Return the dimensionality of the forecast object.
      """
      raise NotImplementedError()
  
imports: import re
  import logging
  from dataclasses import field
  from typing import Callable, Dict, List, Optional, Union, Tuple
  import numpy
  import pandas
  from gluonts.core.component import validated
  from gluonts.pydantic import dataclass
  from gluonts import maybe
label_desc: Use image node_id 9 for calling the Forecast obj's underlying member method code with example usage: obj.dim() without return types