class_docstr: GKSummary is a summary of a stream of numbers, which can be used to estimate quantiles.
  
  Examples:
      >>> summary = GKSummary(0.001)
      >>> summary += torch.tensor([1.0, 2.0, 3.0])
      >>> summary += torch.tensor([4.0, 5.0, 6.0])
      >>> summary2 = GKSummary(0.001)
      >>> summary2 += torch.tensor([7.0, 8.0, 9.0, 10.0])
      >>> summary = summary + summary2
      >>> summary.queries([0.1, 0.2, 0.7, 0.8])
      [1.0, 2.0, 7.0, 8.0]
class_docstr_tok: ["GKSummary","is","a","summary","of","a","stream","of","numbers",",","which","can","be","used","to","estimate","quantiles",".","Examples",":",">",">",">","summary","=","GKSummary","(","0.001",")",">",">",">","summary","+=","torch.tensor","(","[","1.0",",","2.0",",","3.0","]",")",">",">",">","summary","+=","torch.tensor","(","[","4.0",",","5.0",",","6.0","]",")",">",">",">","summary2","=","GKSummary","(","0.001",")",">",">",">","summary2","+=","torch.tensor","(","[","7.0",",","8.0",",","9.0",",","10.0","]",")",">",">",">","summary","=","summary","+","summary2",">",">",">","summary.queries","(","[","0.1",",","0.2",",","0.7",",","0.8","]",")","[","1.0",",","2.0",",","7.0",",","8.0","]"]
docstr: return quantile values of q.
docstr_tok: ["return","quantile","values","of","q","."]
code: def queries(self, q: List[float]) -> List[float]:
      """return quantile values of q."""
      return self._get_summary().queries(q)
  
file_path: FATE/python/fate/arch/tensor/inside/_op_quantile.py
imports: from typing import List, Union
  import numpy
  import torch
  from fate_utils import quantile
label_desc: Use image node_id 7 for calling the GKSummary obj's underlying member method code with example usage: obj.queries(q) and returns: self