Skip to content

Comment on Keras Core: Keras for TensorFlow, Jax, and PyTorch

Comments

If I want to use this brave new keras with torch.compile, what does that look like?

We are still working on this feature. We try to have it in model.compile(jit_compile=True). https://github.com/keras-team/keras-core/blob/v0.1.0/keras_c...

Wait so what happens if I use a model with torch backend now and call .compile()? Does it just return and then do normal torch jit when .fit() (or whatever the keras notation is, i have forgotten most of it) is called?

A lot of this seems like abstraction for abstractions sake. When would someone actually use this?

Same question for the decorator tf.function ?

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.