Home
last modified time | relevance | path

Searched refs:to_categorical (Results 1 – 25 of 27) sorted by relevance

12

/external/tensorflow/tensorflow/python/keras/
Dcallbacks_v1_test.py64 y_test = np_utils.to_categorical(y_test)
65 y_train = np_utils.to_categorical(y_train)
172 y_test = np_utils.to_categorical(y_test)
173 y_train = np_utils.to_categorical(y_train)
275 y_test = np_utils.to_categorical(y_test)
276 y_train = np_utils.to_categorical(y_train)
370 y_test = np_utils.to_categorical(y_test)
371 y_train = np_utils.to_categorical(y_train)
481 y_test = np_utils.to_categorical(y_test)
482 y_train = np_utils.to_categorical(y_train)
Dcallbacks_test.py468 y_test = np_utils.to_categorical(y_test)
469 y_train = np_utils.to_categorical(y_train)
1015 y_test = np_utils.to_categorical(y_test)
1016 y_train = np_utils.to_categorical(y_train)
1162 y_test = np_utils.to_categorical(y_test)
1163 y_train = np_utils.to_categorical(y_train)
1233 y_test = np_utils.to_categorical(y_test)
1234 y_train = np_utils.to_categorical(y_train)
1340 y_test = np_utils.to_categorical(y_test)
1341 y_train = np_utils.to_categorical(y_train)
[all …]
Dregularizers_test.py55 y_train = np_utils.to_categorical(y_train, NUM_CLASSES)
56 y_test = np_utils.to_categorical(y_test, NUM_CLASSES)
Doptimizers_test.py57 y_train = np_utils.to_categorical(y_train)
/external/tensorflow/tensorflow/python/keras/tests/
Dintegration_test.py67 y_train = np_utils.to_categorical(y_train)
97 y_train = np_utils.to_categorical(y_train)
144 y_train = np_utils.to_categorical(y_train)
191 y_train = np_utils.to_categorical(y_train)
220 y_train = np_utils.to_categorical(y_train)
256 y_train = np_utils.to_categorical(y_train)
299 y_train = np_utils.to_categorical(y_train)
/external/tensorflow/tensorflow/python/keras/wrappers/
Dscikit_learn.py29 from tensorflow.python.keras.utils.np_utils import to_categorical
161 y = to_categorical(y)
300 y = to_categorical(y)
/external/tensorflow/tensorflow/python/keras/engine/
Dfeature_columns_integration_test.py68 y = np_utils.to_categorical(y, num_classes=20)
89 y = np_utils.to_categorical(y, num_classes=20)
153 y = np_utils.to_categorical(y, num_classes=20)
173 y = np_utils.to_categorical(y, num_classes=20)
/external/tensorflow/tensorflow/python/keras/integration_test/
Dlegacy_rnn_test.py65 y_train = tf.keras.utils.to_categorical(y_train)
98 y_train = tf.keras.utils.to_categorical(y_train)
131 y_train = tf.keras.utils.to_categorical(y_train)
168 y_train = tf.keras.utils.to_categorical(y_train)
212 y_train = tf.keras.utils.to_categorical(y_train)
/external/tensorflow/tensorflow/python/keras/utils/
Dnp_utils_test.py37 np_utils.to_categorical(label, num_classes) for label in labels]
Dnp_utils.py25 def to_categorical(y, num_classes=None, dtype='float32'): function
Dall_utils.py40 from tensorflow.python.keras.utils.np_utils import to_categorical
Dmulti_gpu_utils_test.py170 y_train = np_utils.to_categorical(y_train, num_classes)
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.keras.utils.pbtxt76 name: "to_categorical"
/external/tensorflow/tensorflow/compiler/xla/g3doc/tutorials/
Dautoclustering_xla.ipynb77 " y_train = tf.keras.utils.to_categorical(y_train, num_classes=10)\n",
78 " y_test = tf.keras.utils.to_categorical(y_test, num_classes=10)\n",
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.keras.utils.pbtxt80 name: "to_categorical"
/external/tensorflow/tensorflow/python/keras/benchmarks/keras_examples_benchmarks/
Dreuters_mlp_benchmark_test.py38 self.y_train = tf.keras.utils.to_categorical(self.y_train, self.num_classes)
Dmnist_conv_benchmark_test.py37 self.y_train = tf.keras.utils.to_categorical(self.y_train, self.num_classes)
Dmnist_hierarchical_rnn_benchmark_test.py35 self.y_train = tf.keras.utils.to_categorical(self.y_train, self.num_classes)
Dmnist_irnn_benchmark_test.py36 self.y_train = tf.keras.utils.to_categorical(self.y_train, self.num_classes)
Dcifar10_cnn_benchmark_test.py33 self.y_train = tf.keras.utils.to_categorical(self.y_train, self.num_classes)
Dmnist_conv_custom_training_benchmark_test.py40 y_train = tf.keras.utils.to_categorical(y_train, self.num_classes)
/external/tensorflow/tensorflow/python/keras/layers/
Dgru_v2_test.py107 y_train = np_utils.to_categorical(y_train, output_shape)
170 y_train = np_utils.to_categorical(y_train, rnn_state_size)
716 y_train = np_utils.to_categorical(y_train, self.output_shape)
779 y_train = np_utils.to_categorical(y_train, self.output_shape)
Dlstm_v2_test.py343 y_train = np_utils.to_categorical(y_train, rnn_state_size)
491 y_train = np_utils.to_categorical(y_train, output_shape)
888 y_train = np_utils.to_categorical(y_train, self.output_shape)
952 y_train = np_utils.to_categorical(y_train, self.output_shape)
1111 y_train = np_utils.to_categorical(y_train, test_config['output_shape'])
Dgru_test.py122 y_train = np_utils.to_categorical(y_train, units)
/external/tensorflow/tensorflow/python/keras/optimizer_v2/
Doptimizer_v2_test.py596 y = np_utils.to_categorical(y)
719 y = np_utils.to_categorical(y)
805 y = np_utils.to_categorical(y)
862 y = np_utils.to_categorical(y)

12