![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
tensorflow
好好学习_天天向上de
加油ヾ(◍°∇°◍)ノ゙
展开
-
Session的两种使用方式
# -*- coding: utf-8 -*-# @Time : 2018/4/7 21:21# @Author : mgliu# @FileName: example.py# @Software: PyCharm Community Editionimport tensorflow as tfimport numpy as npmatrix1=tf.constant([[3,3]])ma...原创 2018-04-07 21:39:38 · 355 阅读 · 0 评论 -
tensorflow 添加一层
来源于莫凡Python的TensorFlow系列视频教程import tensorflow as tfdef add_layer(inputs,in_size,out_size,activation_function=None): Weights=tf.Variable(tf.random_normal([in_size,out_size])) biases=tf.Variable(t...转载 2018-04-08 14:02:39 · 374 阅读 · 0 评论