mirror of
https://github.com/tengge1/ShadowEditor.git
synced 2026-01-25 15:08:11 +00:00
12 lines
110 B
Python
12 lines
110 B
Python
import tensorflow as tf
|
|
|
|
|
|
@tf.function
|
|
def add(a, b):
|
|
return a + b
|
|
|
|
|
|
result = add(4, 5)
|
|
|
|
tf.print(result)
|