深度学习之TensorFlow(二)

u59296 21 0 PDF 2021-01-16 22:01:01

TensorFlow基本语法1.安装验证代码2.程序结构3.矩阵操作 1.安装验证代码 # 允许 Python 访问 TensorFlow 所有的类、方法和符号 import tensorflow as tf import os # 忽略级别 2 及以下的消息(级别 1 是提示,级别 2 是警告,级别 3 是错误) os.environ['TF_CPP_MIN_LOG_LEVEL']='2' # 图像定义,仅仅一个节点 message = tf.constant(welcome to the exciting of deep neural networks!) # 通过会话执行计算图,这部

用户评论
请输入评论内容
评分:
暂无评论