Skip to content

Commit c7c7a91

Browse files
mvsuspnadiaya
authored andcommitted
Update cifar10_cnn.py (aws#455)
1 parent b6b9fee commit c7c7a91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sagemaker-python-sdk/tensorflow_keras_cifar10/cifar10_cnn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def serving_input_fn(hyperparameters):
9191
tensor = tf.placeholder(tf.float32, shape=[None, HEIGHT, WIDTH, DEPTH])
9292

9393
# The inputs key PREDICT_INPUTS matches the Keras InputLayer name
94-
inputs = {PREDICT_INPUTS: tensor}
94+
inputs = {INPUT_TENSOR_NAME: tensor}
9595
return tf.estimator.export.ServingInputReceiver(inputs, inputs)
9696

9797

0 commit comments

Comments
 (0)