Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ To release a new version, please update the changelog as followed:
- Remove `private_method` decorator (#PR 1025)
- Copy original model's `trainable_weights` and `nontrainable_weights` when initializing `ModelLayer` (#PR 1026)
- Copy original model's `trainable_weights` and `nontrainable_weights` when initializing `LayerList` (#PR 1029)
- remove redundant parts in `model.all_layers` (#PR 1029)
- Remove redundant parts in `model.all_layers` (#PR 1029)
- Replace `tf.image.resize_image_with_crop_or_pad` with `tf.image.resize_with_crop_or_pad` (#PR 1032)

### Removed

Expand All @@ -122,7 +123,7 @@ To release a new version, please update the changelog as followed:

- @zsdonghao
- @ChrisWu1997: #1010 #1015 #1025 #1030
- @warshallrho: #1017 #1021 #1026 #1029
- @warshallrho: #1017 #1021 #1026 #1029 #1032
- @ArnoldLIULJ: #1023
- @JingqingZ: #1023

Expand Down
2 changes: 1 addition & 1 deletion examples/basic_tutorials/tutorial_cifar10_cnn_static.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def _map_fn_train(img, target):

def _map_fn_test(img, target):
# 1. Crop the central [height, width] of the image.
img = tf.image.resize_image_with_crop_or_pad(img, 24, 24)
img = tf.image.resize_with_crop_or_pad(img, 24, 24)
# 2. Subtract off the mean and divide by the variance of the pixels.
img = tf.image.per_image_standardization(img)
img = tf.reshape(img, (24, 24, 3))
Expand Down