class_docstr: Converts raw neural network output into a forecast and computes loss.
class_docstr_tok: ["Converts","raw","neural","network","output","into","a","forecast","and","computes","loss","."]
code: def dtype(self, dtype: Type):
      self._dtype = dtype
  
file_path: gluonts/src/gluonts/torch/distributions/output.py
imports: from typing import Callable, Dict, Optional, Tuple, Type
  import numpy
  import torch
  import torch.nn
  from gluonts.model.forecast_generator import ForecastGenerator
  from gluonts.torch.modules.lambda_layer import LambdaLayer
label_desc: Use image node_id 2 for calling the Output obj's underlying member method code with example usage: obj.dtype(dtype) without return types