class_docstr: A lookup table mapping bin indices to values.
  
  Parameters
  ----------
  bin_values
      Tensor of bin values with shape (num_bins, ).
class_docstr_tok: ["A","lookup","table","mapping","bin","indices","to","values",".","Parameters","--","--","--","--","--","bin_values","Tensor","of","bin","values","with","shape","(","num_bins",",",")","."]
code: def forward(self, indices: torch.Tensor) -> torch.Tensor:
      assert isinstance(self.bin_values, torch.Tensor)
      indices = torch.clamp(indices, 0, self.bin_values.shape[0] - 1)
      return torch.index_select(
          self.bin_values, 0, indices.reshape(-1)
      ).view_as(indices)
  
imports: import torch
  import torch.nn
  from gluonts.core.component import validated
label_desc: Use image node_id 2 for calling the LookupValues obj's underlying member method code with example usage: obj.forward(indices) and returns: torch