Skip to content

Commit 9659c55

Browse files
committed
Updated Large-scale multi-label text classification example for Keras v3
1 parent a3f7572 commit 9659c55

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Diff for: examples/nlp/.DS_Store

6 KB
Binary file not shown.

Diff for: examples/nlp/multi_label_classification.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,9 @@
3030
## Imports
3131
"""
3232

33-
from tensorflow.keras import layers
34-
from tensorflow import keras
33+
import keras
34+
from keras import layers
35+
3536
import tensorflow as tf
3637

3738
from sklearn.model_selection import train_test_split

0 commit comments

Comments
 (0)