Skip to content

Cleanup FixedPrecisionTensor #2897

@iamtrask

Description

@iamtrask

Describe the bug
FixedPrecision tensor has become a catch-all for a myraid of functionality which have nothing to do with fixing precision. At present it seems to include:

  1. The ability to model Fixed Precision Numbers using underlying Integer representations
  2. BigInt functionality allowing for large precision
  3. Convolutional functionality
  4. many references to specific subclass types (such as AdditiveSharingTensor).
  5. an implementation of pow() which seems unrelated to FixedPrecisionRepresentation
  6. Newton-shulz inversion
  7. approximation of exponentiation
  8. approximation of sigmoid
  9. approximation of log
  10. etc...

All functionality other than (0) should be removed from this class and refactored into appropriate other classes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good first issue 🎓Perfect for beginners, welcome to OpenMined!Type: Refactor 🔨A complete overhaul of a file, feature, or codebase

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions