MCPcopy Create free account
hub / github.com/OpenMined/SyMPC / base

Method base

src/sympc/encoder/fp_encoder.py:110–116  ·  view source on GitHub ↗

Base for the FixedPrecision Encoder. Returns: int: base

(self)

Source from the content-addressed store, hash-verified

108
109 @property
110 def base(self) -> int: # noqa
111 """Base for the FixedPrecision Encoder.
112
113 Returns:
114 int: base
115 """
116 return self._base
117
118 @base.setter
119 def base(self, base: int) -> None:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected