tf-encrypted / moose

Secure distributed dataflow framework for encrypted machine learning and data processing
Apache License 2.0
57 stars 15 forks source link

Re-export edsl functions to pymoose namespace #1071

Closed jvmncs closed 2 years ago

jvmncs commented 2 years ago

This changes the convention of how one uses the edsl in pymoose scripts.

Before

from pymoose import edsl

@edsl.computation
def my_comp():
    return edsl.my_func(x)

After

import pymoose as pm

@pm.computation
def my_comp():
    return pm.my_func(x)