class_docstr: A class representing probability distributions.
class_docstr_tok: ["A","class","representing","probability","distributions","."]
docstr: Calculates quantiles for the given levels.
  
  Parameters
  ----------
  level
      Level values to use for computing the quantiles.
      `level` should be a 1d tensor of level values between 0 and 1.
  
  Returns
  -------
  quantiles
      Quantile values corresponding to the levels passed.
      The return shape is
  
         (num_levels, ...DISTRIBUTION_SHAPE...),
  
      where DISTRIBUTION_SHAPE is the shape of the underlying
      distribution.
docstr_tok: ["Calculates","quantiles","for","the","given","levels",".","Parameters","--","--","--","--","--","level","Level","values","to","use","for","computing","the","quantiles",".","`","level","`","should","be","a","1d","tensor","of","level","values","between","0","and","1",".","Returns","--","--","--","-","quantiles","Quantile","values","corresponding","to","the","levels","passed",".","The","return","shape","is","(","num_levels",",","...","DISTRIBUTION_SHAPE","...",")",",","where","DISTRIBUTION_SHAPE","is","the","shape","of","the","underlying","distribution","."]
code: def quantile(self, level: Tensor) -> Tensor:
      r"""
  
      Calculates quantiles for the given levels.
  
      Parameters
      ----------
      level
          Level values to use for computing the quantiles.
          `level` should be a 1d tensor of level values between 0 and 1.
  
      Returns
      -------
      quantiles
          Quantile values corresponding to the levels passed.
          The return shape is
  
             (num_levels, ...DISTRIBUTION_SHAPE...),
  
          where DISTRIBUTION_SHAPE is the shape of the underlying
          distribution.
      """
  
      return self._tensor_cdf_bisection(level)
  
imports: from typing import cast, Any, List, Optional, Tuple
  import mxnet
  import numpy
  from mxnet import autograd
  from gluonts.mx import Tensor
label_desc: Use image node_id 20 for calling the Distribution obj's underlying member method code with example usage: obj.quantile(level) and returns: self