class_docstr: Scale a tensor representing points
class_docstr_tok: ["Scale","a","tensor","representing","points"]
code: def encodes(self, x: TensorPoint):
      return _scale_pnts(
          x, self._get_sz(x), self.do_scale, self.y_first
      )
  
imports: from __future__ import annotations
  from ..torch_basics import *
  from ..data.all import *
  from PIL import Image
  from matplotlib import patches, patheffects
label_desc: Use image node_id 7 for calling the PointScaler obj's underlying member method code with example usage: obj.encodes(x) and returns: _scale_pnts