Performance issues in src/python/tensorflow_cloud/core/tests/testdata/keras_tuner_cifar_example.py(P2)
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 383
- Forks
- 93
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 1
Description
Hello,I found a performance issue in src/python/tensorflow_cloud/core/tests/testdata/keras_tuner_cifar_example.py ,
train_dataset = train_dataset.map was called without num_parallel_calls.
I think it will increase the efficiency of your program if you add this.
The same issues also exist in test_dataset = test_dataset.map
Here is the documemtation of tensorflow to support this thing.
Looking forward to your reply. Btw, I am very glad to create a PR to fix it if you are too busy.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in src/python/tensorflow_cloud/core/tests/testdata/keras_tuner_cifar_example.py at the train_dataset.map call around line 105 and the test_dataset.map call around line 107. Review the TensorFlow Dataset.map documentation linked in the issue, and consider the work done when both calls use an appropriate parallel-call setting.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, tensorflow
- Domain
- machine-learning, performance
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100