lf1-io / padl

Functional deep learning
Apache License 2.0
106 stars 4 forks source link

Allow transforms with zero input. #412

Open wuhu opened 2 years ago

wuhu commented 2 years ago

🛰️ Feature

e.g.

@transform
def random_number():
    return random.rand()