Searched refs:to_categorical (Results 1 – 25 of 27) sorted by relevance
12
/external/tensorflow/tensorflow/python/keras/ |
D | callbacks_v1_test.py | 64 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)
|
D | callbacks_test.py | 468 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 …]
|
D | regularizers_test.py | 55 y_train = np_utils.to_categorical(y_train, NUM_CLASSES) 56 y_test = np_utils.to_categorical(y_test, NUM_CLASSES)
|
D | optimizers_test.py | 57 y_train = np_utils.to_categorical(y_train)
|
/external/tensorflow/tensorflow/python/keras/tests/ |
D | integration_test.py | 67 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/ |
D | scikit_learn.py | 29 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/ |
D | feature_columns_integration_test.py | 68 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/ |
D | legacy_rnn_test.py | 65 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/ |
D | np_utils_test.py | 37 np_utils.to_categorical(label, num_classes) for label in labels]
|
D | np_utils.py | 25 def to_categorical(y, num_classes=None, dtype='float32'): function
|
D | all_utils.py | 40 from tensorflow.python.keras.utils.np_utils import to_categorical
|
D | multi_gpu_utils_test.py | 170 y_train = np_utils.to_categorical(y_train, num_classes)
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.keras.utils.pbtxt | 76 name: "to_categorical"
|
/external/tensorflow/tensorflow/compiler/xla/g3doc/tutorials/ |
D | autoclustering_xla.ipynb | 77 " 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/ |
D | tensorflow.keras.utils.pbtxt | 80 name: "to_categorical"
|
/external/tensorflow/tensorflow/python/keras/benchmarks/keras_examples_benchmarks/ |
D | reuters_mlp_benchmark_test.py | 38 self.y_train = tf.keras.utils.to_categorical(self.y_train, self.num_classes)
|
D | mnist_conv_benchmark_test.py | 37 self.y_train = tf.keras.utils.to_categorical(self.y_train, self.num_classes)
|
D | mnist_hierarchical_rnn_benchmark_test.py | 35 self.y_train = tf.keras.utils.to_categorical(self.y_train, self.num_classes)
|
D | mnist_irnn_benchmark_test.py | 36 self.y_train = tf.keras.utils.to_categorical(self.y_train, self.num_classes)
|
D | cifar10_cnn_benchmark_test.py | 33 self.y_train = tf.keras.utils.to_categorical(self.y_train, self.num_classes)
|
D | mnist_conv_custom_training_benchmark_test.py | 40 y_train = tf.keras.utils.to_categorical(y_train, self.num_classes)
|
/external/tensorflow/tensorflow/python/keras/layers/ |
D | gru_v2_test.py | 107 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)
|
D | lstm_v2_test.py | 343 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'])
|
D | gru_test.py | 122 y_train = np_utils.to_categorical(y_train, units)
|
/external/tensorflow/tensorflow/python/keras/optimizer_v2/ |
D | optimizer_v2_test.py | 596 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