lf1-io / padl

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

Allow calling Pipeline without `..._apply` #438

Closed wuhu closed 2 years ago

wuhu commented 2 years ago

🛰️ Feature

Sometimes I just want to call a pipeline with out the extra stuff eval_, train_ or infer_ apply do (iterating over the batch, disabling gradient etc). This is especially useful when combining pipelines with non-padl code, without that, it's a bit awkward to do.

wuhu commented 2 years ago

this is actually working