点此进入CSDN

点此添加QQ好友 加载失败时会显示




你的浏览器不支持播放哦!!nuttertools 您的浏览器不支持该播放!
摘要: import tensorflow as tf x = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12] with tf.Session() as sess: a = tf.reshape(x, [2, 2, 3]) a = sess.run(a) print(a) p 阅读全文
posted @ 2020-01-31 21:19 高颜值的殺生丸 阅读(549) 评论(0) 推荐(0)
摘要: from tensorflow.python.keras.preprocessing.image import load_img,img_to_array def main(): #tagert_size 修改图像大小 image = load_img("./bus/300.jpg",target_ 阅读全文
posted @ 2020-01-31 20:53 高颜值的殺生丸 阅读(865) 评论(0) 推荐(1)
摘要: 阅读全文
posted @ 2020-01-31 20:51 高颜值的殺生丸 阅读(135) 评论(0) 推荐(0)
摘要: import os os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2' import tensorflow as tf #tensorboard --logdir="./" # 命令行参数 python x.py --max_step=500 tf.app.flags. 阅读全文
posted @ 2020-01-31 19:40 高颜值的殺生丸 阅读(391) 评论(0) 推荐(0)
摘要: import os os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2' import tensorflow as tf #tensorboard --logdir="./" def linearregression(): with tf.variable_scope(" 阅读全文
posted @ 2020-01-31 19:28 高颜值的殺生丸 阅读(167) 评论(0) 推荐(0)
摘要: import os os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2' import tensorflow as tf #tensorboard --logdir="./" def linearregression(): with tf.variable_scope(" 阅读全文
posted @ 2020-01-31 19:10 高颜值的殺生丸 阅读(164) 评论(0) 推荐(0)
摘要: import os os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2' import tensorflow as tf def linearregression(): X = tf.random_normal([100,1],mean=0.0,stddev=1.0) y 阅读全文
posted @ 2020-01-31 18:10 高颜值的殺生丸 阅读(132) 评论(0) 推荐(0)

作者信息

昵称:

刘新宇

园龄:4年6个月


粉丝:1209


QQ:522414928