()
| 236 | |
| 237 | |
| 238 | def test_tfrecord_reader_alias(): |
| 239 | tfrecord = os.path.join(get_dali_extra_path(), "db", "tfrecord", "train") |
| 240 | tfrecord_idx = os.path.join(get_dali_extra_path(), "db", "tfrecord", "train.idx") |
| 241 | new_pipe = tfrecord_pipe(fn.readers.tfrecord, tfrecord, tfrecord_idx) |
| 242 | legacy_pipe = tfrecord_pipe(fn.tfrecord_reader, tfrecord, tfrecord_idx) |
| 243 | compare_pipelines(new_pipe, legacy_pipe, batch_size_alias_test, 50) |
| 244 | |
| 245 | |
| 246 | @pipeline_def(batch_size=batch_size_alias_test, device_id=0, num_threads=4) |
nothing calls this directly
no test coverage detected