PAIR-code / lit

The Learning Interpretability Tool: Interactively analyze ML models to understand their behavior in an extensible and framework agnostic interface.
https://pair-code.github.io/lit
Apache License 2.0
3.45k stars 351 forks source link

Update keras import to fix build error. #1458

Closed copybara-service[bot] closed 4 months ago

copybara-service[bot] commented 4 months ago

Update keras import to fix build error.

from keras import ops or import keras are valid, but import keras.ops is no longer valid since ops is not a module in keras namespace, but points to the public API.

FUTURE_COPYBARA_INTEGRATE_REVIEW=https://github.com/pair-code/lit/pull/1454 from PAIR-code:iftenney-website-update-1.1.1+ 9afdf96867af6ecbb5cd825eec09c9fa4c7c7802