top | item 46518030

(no title)

ekzhang | 1 month ago

I don’t think tf.tidy() is a sound API under jvp/grad transformations, also it prevents you from using async which makes it incompatible with GPU backends (or blocks the page), a pretty big issue. https://github.com/tensorflow/tfjs/issues/5468

Thanks for the feedback though, just explaining how we arrived at this API. I hope you’d at least try it out — hopefully you will see when developing that the refs are more flexible than alternatives.

discuss

order

mlajtos|1 month ago

I'll grind jax-js more and see if refs become invisible then. Thanks for a great project!