警告:Your CPU supports instructions that this TensorFlow bi
发布时间:2020-12-14 05:14:42 所属栏目:大数据 来源:网络整理
导读:? 加入 import os os.environ[ ‘ TF_CPP_MIN_LOG_LEVEL ‘ ] = ‘ 2 ‘ ? demo: import os os.environ[ ‘ TF_CPP_MIN_LOG_LEVEL ‘ ] = ‘ 2 ‘ import tensorflow as tftf.enable_eager_execution()print(tf.add( 1 , 2 ).numpy())hello = tf.constant(
? 加入 import os os.environ[‘TF_CPP_MIN_LOG_LEVEL‘] = ‘2‘ ? demo: import os os.environ[‘TF_CPP_MIN_LOG_LEVEL‘] = ‘2‘ import tensorflow as tf tf.enable_eager_execution() print(tf.add(1,2).numpy()) hello = tf.constant(‘Hello,TensorFlow!‘) print(hello.numpy()) (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |