2019-08-30 21:21:17 +08:00

12 lines
118 B
Python

import tensorflow as tf
text = tf.constant('Hello, world!')
@tf.function
def hello():
tf.print(text)
hello()