tf.executing_eagerly()

import os

import tensorflow as tf

import cProfile
tf.executing_eagerly()
 
x = [[2.]]
m = tf.matmul(x, x)
print("hello, {}".format(m))
hello, [[4.]]
posted @ 2022-08-19 22:51  luoganttcc  阅读(24)  评论(0)    收藏  举报