class_docstr: Runs Wavenet generation in an auto-regressive manner using caching for
  speedup [PKC+16]_.
  
  Same arguments as WaveNet. In addition
  
  Parameters
  ----------
  pred_length
      Length of the prediction horizon
  num_samples
      Number of sample paths to generate in parallel in the graph
  temperature
      If set to 1.0 (default), sample according to estimated probabilities,
      if set to 0.0 most likely sample at each step is chosen.
  post_transform
      An optional post transform that will be applied to the samples
class_docstr_tok: ["Runs","Wavenet","generation","in","an","auto-regressive","manner","using","caching","for","speedup","[","PKC+16","]","_",".","Same","arguments","as","WaveNet",".","In","addition","Parameters","--","--","--","--","--","pred_length","Length","of","the","prediction","horizon","num_samples","Number","of","sample","paths","to","generate","in","parallel","in","the","graph","temperature","If","set","to","1.0","(","default",")",",","sample","according","to","estimated","probabilities",",","if","set","to","0.0","most","likely","sample","at","each","step","is","chosen",".","post_transform","An","optional","post","transform","that","will","be","applied","to","the","samples"]
code: def __init__(
      self,
      bin_values: List[float],
      num_samples: int,
      temperature: float = 1.0,
      **kwargs,
  ):
      super().__init__(bin_values=bin_values, **kwargs)
      self.num_samples = num_samples
      self.temperature = temperature
  
      with self.name_scope():
          self.post_transform = LookupValues(mx.nd.array(bin_values))
  
imports: import math
  from typing import List, Optional
  import mxnet
  from mxnet import gluon
  from mxnet.gluon import nn
  from gluonts.core.component import validated
  from gluonts.mx import Tensor
  from gluonts.mx.block.feature import FeatureEmbedder
label_desc: Use image node_id 1 to create a new WaveNetSampler object from inherited base classes: WaveNet with example: obj = WaveNetSampler(bin_values, num_samples, temperature)