class_docstr: Encoder that encodes long or float tensors into scaled integer tensors.
code: def scale(self):
      return self._scale
  
file_path: FATE/python/fate/arch/protocol/mpc/encoder.py
imports: import math
  import numpy
  import torch
  from fate.arch.tensor import DTensor
  from .common.tensor_types import is_float_tensor, is_int_tensor
  from .config import cfg
  from .cryptensor import CrypTensor
label_desc: Use image node_id 5 for calling the FixedPointEncoder obj's underlying member method code with example usage: obj.scale() and returns: self