class_docstr: Encoder that encodes long or float tensors into scaled integer tensors.
class_docstr_tok: ["Encoder","that","encodes","long","or","float","tensors","into","scaled","integer","tensors","."]
code: def scale(self):
      return self._scale
  
file_path: CrypTen/crypten/encoder.py
imports: import math
  import numpy
  import torch
  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