Update example code to use TensorFlow 2.0 behaviour
Hi @yishuangP Can you please review this PR ? Thank you! Hi @yishuangP Can you please review this PR ? Thank you! Hi @yishuangP Can you please review this PR ? Thank you! Hi @JunyoungLim Can you please review this PR ? Thank you! Hi @JunyoungLim Can you please review this PR ? Thank you!
The sample code provided in the inference guide is outdated. This commit replaces the deprecated tf.Session and tf.placeholder with their TensorFlow 2.0 equivalents. This update ensures that the code is compatible with the latest version of TensorFlow.

Thanks.