/external/tensorflow/tensorflow/python/keras/preprocessing/ |
D | text_dataset.py | 32 label_mode='int', argument 131 if label_mode not in {'int', 'categorical', 'binary', None}: 134 'or None. Received: %s' % (label_mode,)) 135 if labels is None or label_mode is None: 137 label_mode = None 152 if label_mode == 'binary' and len(class_names) != 2: 165 label_mode=label_mode, 179 label_mode, argument 186 if label_mode: 187 label_ds = dataset_utils.labels_to_dataset(labels, label_mode, num_classes)
|
D | image_dataset.py | 38 label_mode='int', argument 163 if label_mode not in {'int', 'categorical', 'binary', None}: 166 'or None. Received: %s' % (label_mode,)) 167 if labels is None or label_mode is None: 169 label_mode = None 195 if label_mode == 'binary' and len(class_names) != 2: 210 label_mode=label_mode, 229 label_mode, argument 239 if label_mode: 240 label_ds = dataset_utils.labels_to_dataset(labels, label_mode, num_classes)
|
D | text_dataset_test.py | 81 directory, batch_size=5, label_mode=None, max_length=10) 98 directory, batch_size=8, label_mode='int', max_length=10) 108 directory, batch_size=8, label_mode='binary') 117 directory, batch_size=8, label_mode='categorical') 128 directory, batch_size=8, label_mode=None) 138 directory, batch_size=8, label_mode=None) 143 directory, batch_size=8, label_mode=None) 151 directory, batch_size=8, label_mode='int') 160 directory, batch_size=8, label_mode='categorical') 195 directory, batch_size=8, label_mode=None, follow_links=True) [all …]
|
D | image_dataset_test.py | 127 directory, batch_size=8, image_size=(18, 18), label_mode='int') 136 directory, batch_size=8, image_size=(18, 18), label_mode='binary') 145 directory, batch_size=8, image_size=(18, 18), label_mode='categorical') 159 directory, batch_size=8, image_size=(18, 18), label_mode='int') 175 directory, batch_size=8, image_size=(18, 18), label_mode=None) 188 directory, batch_size=8, image_size=(18, 18), label_mode=None) 193 directory, batch_size=8, image_size=(18, 18), label_mode=None) 201 directory, batch_size=8, image_size=(18, 18), label_mode='int') 210 directory, batch_size=8, image_size=(18, 18), label_mode='categorical') 275 directory, batch_size=8, image_size=(18, 18), label_mode=None, [all …]
|
D | dataset_utils.py | 201 def labels_to_dataset(labels, label_mode, num_classes): argument 213 if label_mode == 'binary': 216 elif label_mode == 'categorical':
|
/external/tensorflow/tensorflow/python/keras/datasets/ |
D | cifar100.py | 32 def load_data(label_mode='fine'): argument 59 if label_mode not in ['fine', 'coarse']: 72 x_train, y_train = load_batch(fpath, label_key=label_mode + '_labels') 75 x_test, y_test = load_batch(fpath, label_key=label_mode + '_labels')
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.keras.preprocessing.pbtxt | 17 …argspec: "args=[\'directory\', \'labels\', \'label_mode\', \'class_names\', \'color_mode\', \'batc… 21 …argspec: "args=[\'directory\', \'labels\', \'label_mode\', \'class_names\', \'batch_size\', \'max_…
|
D | tensorflow.keras.datasets.cifar100.pbtxt | 5 argspec: "args=[\'label_mode\'], varargs=None, keywords=None, defaults=[\'fine\'], "
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.keras.datasets.cifar100.pbtxt | 5 argspec: "args=[\'label_mode\'], varargs=None, keywords=None, defaults=[\'fine\'], "
|