LearningTensorFlow
LearningTensorFlow copied to clipboard
Tensorflow 2.0 Tutorials
Hello! I've found a performance issue in /Project: `batch()` should be called before `map()`, which could make your program more efficient. Here is [the tensorflow document](https://tensorflow.google.cn/guide/data_performance?hl=zh_cn#vectorized_mapping) to support it. Detailed...
Hello, I found a performance issue in the definition of `test`, Project/NeuralMachineTranslation/model/test.py, [`tf.expand_dims(input=[1],axis=0)`](https://github.com/XierHacker/LearningTensorFlow/blob/c1c9be585efc524e06cca7f970bf7fe3f46cda4a/Project/NeuralMachineTranslation/model/test.py#L134) will be called repeatedly during program execution, resulting in reduced efficiency. I think it should be created...
Hello,I found a performance issue in `11.TFRecord/read_cifar10.py` , [dataset=dataset.map(map_func=_parse_data)](https://github.com/XierHacker/LearningTensorFlow/blob/c1c9be585efc524e06cca7f970bf7fe3f46cda4a/11.TFRecord/read_cifar10.py#L31) was called without **num_parallel_calls**. I think it will increase the efficiency of your program if you add this. The same issues...