2019-09-01 18:43:38 +08:00

12 lines
118 B
Python

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