class_docstr: The Base Distance Class.
docstr: Calculate the distance between x and y. a and b should be in same shape.
  
  :param x: the first tensor
  :param y: the second tensor
  :return: the absolute distance between x and y
docstr_tok: ["Calculate","the","distance","between","x","and","y.","a","and","b","should","be","in","same","shape",".",":","param","x",":","the","first","tensor",":","param","y",":","the","second","tensor",":","return",":","the","absolute","distance","between","x","and","y"]
code: def abs_dist(self, x, y):
      """
      Calculate the distance between x and y. a and b should be in same shape.
  
      :param x: the first tensor
      :param y: the second tensor
      :return: the absolute distance between x and y
      """
      pass
  
imports: import math
  import numpy
  from bigdl.chronos.detector.anomaly.abstract import AnomalyDetector
  from bigdl.nano.utils.common import invalidInputError
  from abc import ABC, abstractmethod
label_desc: Use image node_id 1 for calling the Distance obj's underlying member method code with example usage: obj.abs_dist(x, y) without return types