Searched refs:from_tensor_slices (Results 1 – 25 of 186) sorted by relevance
12345678
/external/tensorflow/tensorflow/python/data/kernel_tests/ |
D | concatenate_test.py | 45 input_dataset = dataset_ops.Dataset.from_tensor_slices(input_components) 46 dataset_to_concatenate = dataset_ops.Dataset.from_tensor_slices( 77 input_dataset = dataset_ops.Dataset.from_tensor_slices(input_components) 78 dataset_to_concatenate = dataset_ops.Dataset.from_tensor_slices( 109 input_dataset = dataset_ops.Dataset.from_tensor_slices(input_components) 110 dataset_to_concatenate = dataset_ops.Dataset.from_tensor_slices( 127 input_dataset = dataset_ops.Dataset.from_tensor_slices(input_components) 128 dataset_to_concatenate = dataset_ops.Dataset.from_tensor_slices( 143 input_dataset = dataset_ops.Dataset.from_tensor_slices(input_components) 144 dataset_to_concatenate = dataset_ops.Dataset.from_tensor_slices(
|
D | flat_map_test.py | 48 dataset = dataset_ops.Dataset.from_tensor_slices(components).flat_map( 59 dataset = dataset_ops.Dataset.from_tensor_slices(components).flat_map( 60 lambda x: dataset_ops.Dataset.from_tensor_slices(x).flat_map( 75 dataset_ops.Dataset.from_tensor_slices(components).flat_map( 76 lambda x: dataset_ops.Dataset.from_tensor_slices(x).flat_map( 122 return dataset_ops.Dataset.from_tensor_slices( 143 return dataset_ops.Dataset.from_tensor_slices(x.stack()) 161 return dataset_ops.Dataset.from_tensor_slices(
|
D | from_tensor_slices_test.py | 47 dataset = dataset_ops.Dataset.from_tensor_slices(components) 64 ds = dataset_ops.Dataset.from_tensor_slices(dss) 72 ds = dataset_ops.Dataset.from_tensor_slices(dss) 83 ds = ds.flat_map(dataset_ops.Dataset.from_tensor_slices) 99 dataset = dataset_ops.Dataset.from_tensor_slices(components) 148 dataset = dataset_ops.Dataset.from_tensor_slices(components) 192 dataset = dataset_ops.Dataset.from_tensor_slices(components) 215 dataset = dataset_ops.Dataset.from_tensor_slices(components) 239 dataset = dataset_ops.Dataset.from_tensor_slices(components) 290 dataset = dataset_ops.Dataset.from_tensor_slices(components) [all …]
|
D | padded_batch_test.py | 52 dataset = dataset_ops.Dataset.from_tensor_slices(seq_lens).map( 90 dataset_ops.Dataset.from_tensor_slices( 99 dataset_ops.Dataset.from_tensor_slices( 111 dataset_ops.Dataset.from_tensor_slices( 124 dataset_ops.Dataset.from_tensor_slices( 147 dataset_ops.Dataset.from_tensor_slices(random_seq_lens).map(fill_tuple) 316 (dataset_ops.Dataset.from_tensor_slices([1, 2, 3, 4]).map(fill), 317 dataset_ops.Dataset.from_tensor_slices([1, 2, 3, 4]).map(fill)))
|
D | iterator_test.py | 63 dataset = dataset_ops.Dataset.from_tensor_slices(component).map(add) 73 dataset_ops.Dataset.from_tensor_slices([0.0, 1.0, 2.0]) 90 dataset_ops.Dataset.from_tensor_slices(components).map(_map_fn) 117 dataset_ops.Dataset.from_tensor_slices(tensor_components) 145 dataset_ops.Dataset.from_tensor_slices(components) 408 dataset_3 = dataset_ops.Dataset.from_tensor_slices([1, 2, 3]) 409 dataset_4 = dataset_ops.Dataset.from_tensor_slices([10, 20, 30, 40]) 466 dataset_3 = dataset_ops.Dataset.from_tensor_slices([1, 2, 3]) 467 dataset_4 = dataset_ops.Dataset.from_tensor_slices([10, 20, 30, 40]) 531 dataset = dataset_ops.Dataset.from_tensor_slices([1, 2, 3]) [all …]
|
D | iterator_cluster_test.py | 53 dataset_3 = dataset_ops.Dataset.from_tensor_slices([1, 2, 3]) 69 dataset_3 = dataset_ops.Dataset.from_tensor_slices([1, 2, 3]) 134 input_sentences = dataset_ops.Dataset.from_tensor_slices( 170 dataset_ops.Dataset.from_tensor_slices(components).map(_map_fn)
|
D | unbatch_test.py | 48 data = dataset_ops.Dataset.from_tensor_slices(data) 67 data = dataset_ops.Dataset.from_tensor_slices(data) 130 data = dataset_ops.Dataset.from_tensor_slices(data) 143 data = dataset_ops.Dataset.from_tensor_slices(data) 212 data = dataset_ops.Dataset.from_tensor_slices(components)
|
D | interleave_test.py | 187 dataset = dataset_ops.Dataset.from_tensor_slices(input_values).repeat( 216 dataset = dataset_ops.Dataset.from_tensor_slices(input_values).map( 239 return dataset_ops.Dataset.from_tensor_slices( 281 dataset = dataset_ops.Dataset.from_tensor_slices(input_values).repeat( 345 dataset = dataset_ops.Dataset.from_tensor_slices(elements)
|
/external/tensorflow/tensorflow/python/keras/engine/ |
D | training_dataset_test.py | 69 dataset = dataset_ops.Dataset.from_tensor_slices((inputs, targets)) 104 dataset = dataset_ops.Dataset.from_tensor_slices((inputs, targets)) 177 dataset_tuple = dataset_ops.Dataset.from_tensor_slices( 192 dataset_dict = dataset_ops.Dataset.from_tensor_slices( 200 predict_dataset_dict = dataset_ops.Dataset.from_tensor_slices(input_dict) 221 dataset = dataset_ops.Dataset.from_tensor_slices( 244 ds = dataset_ops.Dataset.from_tensor_slices( 267 dataset = dataset_ops.Dataset.from_tensor_slices((inputs, targets)) 295 train_dataset = dataset_ops.Dataset.from_tensor_slices( 297 val_dataset = dataset_ops.Dataset.from_tensor_slices( [all …]
|
D | feature_columns_integration_test.py | 91 ds1 = dataset_ops.Dataset.from_tensor_slices(x) 92 ds2 = dataset_ops.Dataset.from_tensor_slices(y) 129 ds = dataset_ops.Dataset.from_tensor_slices((inp_x, inp_y)).batch(5) 175 ds1 = dataset_ops.Dataset.from_tensor_slices(x) 176 ds2 = dataset_ops.Dataset.from_tensor_slices(y) 287 ds1 = dataset_ops.Dataset.from_tensor_slices(x) 288 ds2 = dataset_ops.Dataset.from_tensor_slices(y)
|
/external/tensorflow/tensorflow/python/autograph/operators/ |
D | py_builtins_test.py | 59 dataset = dataset_ops.DatasetV2.from_tensor_slices([-1, 2, 3]) 68 dataset_1 = dataset_ops.DatasetV2.from_tensor_slices([-1, 2, 3]) 69 dataset_2 = dataset_ops.DatasetV2.from_tensor_slices([1, -2, 3]) 79 dataset_1 = dataset_ops.DatasetV2.from_tensor_slices([-1, 2, 3]) 80 dataset_2 = dataset_ops.DatasetV2.from_tensor_slices([1, -2, 3]) 81 dataset_3 = dataset_ops.DatasetV2.from_tensor_slices([-1, -2, -3]) 128 dataset = dataset_ops.DatasetV2.from_tensor_slices([3, 2, 1]) 134 dataset = dataset_ops.DatasetV2.from_tensor_slices([3, 2, 1]) 234 dataset = dataset_ops.DatasetV2.from_tensor_slices(['a', 'c']) 249 ds1 = dataset_ops.DatasetV2.from_tensor_slices([-11, -12, 4]) [all …]
|
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/optimization/ |
D | choose_fastest_dataset_test.py | 36 dataset = dataset_ops.Dataset.from_tensor_slices([0, 1, 2, 3, 4]) 45 dataset = dataset_ops.Dataset.from_tensor_slices([0, 1, 2, 3, 4]) 87 dataset_a = dataset_ops.Dataset.from_tensor_slices(slices_a) 88 dataset_b = dataset_ops.Dataset.from_tensor_slices(slices_b)
|
/external/tensorflow/tensorflow/python/keras/layers/preprocessing/ |
D | preprocessing_stage_functional_test.py | 96 adapt_data = dataset_ops.Dataset.from_tensor_slices(one_array) 150 adapt_data = dataset_ops.Dataset.from_tensor_slices( 223 adapt_data = dataset_ops.Dataset.from_tensor_slices( 235 adapt_data = dataset_ops.Dataset.from_tensor_slices({ 322 adapt_data = dataset_ops.Dataset.from_tensor_slices( 357 adapt_data = dataset_ops.Dataset.from_tensor_slices((one_array, one_array)) 392 adapt_data = dataset_ops.Dataset.from_tensor_slices((one_array,) * 3) 431 ds_x0 = dataset_ops.Dataset.from_tensor_slices(np.ones((12, 10, 10, 3))) 432 ds_x1 = dataset_ops.Dataset.from_tensor_slices(np.ones((12, 10, 10, 3))) 433 ds_x2 = dataset_ops.Dataset.from_tensor_slices(np.ones((12, 10, 10, 3))) [all …]
|
/external/tensorflow/tensorflow/python/data/benchmarks/ |
D | from_tensor_slices_benchmark.py | 73 dataset_ops.Dataset.from_tensor_slices(input_data).repeat( 91 dataset_ops.Dataset.from_tensor_slices( 122 dataset, dataset_ops.Dataset.from_tensor_slices) 140 dataset_ops.Dataset.from_tensor_slices(input_data).batch(
|
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/ |
D | group_by_window_test.py | 61 input_dataset = dataset_ops.Dataset.from_tensor_slices( 91 input_dataset = dataset_ops.Dataset.from_tensor_slices( 157 input_dataset = dataset_ops.Dataset.from_tensor_slices(math_ops.range( 191 dataset = dataset_ops.Dataset.from_tensor_slices(components).apply( 212 dataset = dataset_ops.Dataset.from_tensor_slices( 234 dataset = dataset_ops.Dataset.from_tensor_slices(components).repeat( 252 dataset = dataset_ops.Dataset.from_tensor_slices(components).apply( 285 dataset = dataset_ops.Dataset.from_tensor_slices( 306 dataset = dataset_ops.Dataset.from_tensor_slices(
|
D | ignore_errors_test.py | 48 dataset_ops.Dataset.from_tensor_slices(components) 62 dataset_ops.Dataset.from_tensor_slices(components).map( 80 dataset_ops.Dataset.from_tensor_slices(components).map( 104 dataset_ops.Dataset.from_tensor_slices(filenames).map( 153 a = dataset_ops.Dataset.from_tensor_slices([1., 2., 0., 4.])
|
D | take_while_test.py | 50 dataset_ops.Dataset.from_tensor_slices) 86 dataset = dataset_ops.Dataset.from_tensor_slices(string).apply( 111 dataset = dataset_ops.Dataset.from_tensor_slices(boolean_array).apply(
|
D | rejection_resample_test.py | 46 dataset = dataset_ops.Dataset.from_tensor_slices(classes).shuffle( 83 dataset = dataset_ops.Dataset.from_tensor_slices(data_np) 108 dataset = dataset_ops.Dataset.from_tensor_slices(data_np)
|
D | data_service_ops_test.py | 83 ds = dataset_ops.Dataset.from_tensor_slices([1, 5, 3, 2, 8]) 306 ds = dataset_ops.Dataset.from_tensor_slices(consumers) 368 host_dataset = dataset_ops.Dataset.from_tensor_slices( 378 ds = dataset_ops.Dataset.from_tensor_slices(host_datasets) 488 ds = dataset_ops.Dataset.from_tensor_slices(elements) 533 ds = dataset_ops.Dataset.from_tensor_slices(vals) 542 ds = dataset_ops.Dataset.from_tensor_slices(elements) 543 ds = ds.interleave(lambda x: dataset_ops.Dataset.from_tensor_slices([x])) 552 ds = dataset_ops.Dataset.from_tensor_slices(elements) 554 lambda x: dataset_ops.Dataset.from_tensor_slices([x]), [all …]
|
/external/tensorflow/tensorflow/python/keras/distribute/ |
D | keras_metrics_test.py | 49 return dataset_ops.Dataset.from_tensor_slices({ 62 return dataset_ops.Dataset.from_tensor_slices({ 69 return dataset_ops.Dataset.from_tensor_slices({
|
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/serialization/ |
D | concatenate_dataset_serialization_test.py | 40 return dataset_ops.Dataset.from_tensor_slices(input_components).concatenate( 41 dataset_ops.Dataset.from_tensor_slices(to_concatenate_components))
|
D | sequence_dataset_serialization_test.py | 36 return dataset_ops.Dataset.from_tensor_slices(components).skip(count) 67 return dataset_ops.Dataset.from_tensor_slices(components).take(count) 97 return dataset_ops.Dataset.from_tensor_slices(components).take(
|
D | flat_map_dataset_serialization_test.py | 81 return dataset_ops.Dataset.from_tensor_slices([defun_fn(x)]) 94 lambda _: dataset_ops.Dataset.from_tensor_slices([test_var])) 123 return dataset_ops.Dataset.from_tensor_slices(
|
D | padded_batch_dataset_serialization_test.py | 40 return dataset_ops.Dataset.from_tensor_slices(seq_lens).map( 57 return dataset_ops.Dataset.from_tensor_slices(seq_lens).map(
|
D | interleave_dataset_serialization_test.py | 39 return dataset_ops.Dataset.from_tensor_slices(input_values).repeat( 70 return dataset_ops.Dataset.from_tensor_slices(
|
12345678