Shark Deng

Interactive Designer @Shanju Design in Shanghai

touched caffe / mxnet / python / wordpress / bootstrap / Arduino / Raspberry Pi / webgl / three.js / PIXI / 3dMax

Email

Github

tf.contrib.layers.fully_connected

2019-11-18 21:21:29

 import tensorflow as tf

features = tf.constant([[[1, 2], [3, 4]]], dtype=tf.float32)  # [1, 2, 2]

fc = tf.contrib.layers.fully_connected(features, num_outputs=5)
se = tf.Session()
se.run(tf.global_variables_initializer())
print(se.run(fc))
print(fc.shape)

 



——By SharkDeng
如果你喜欢我的文章,欢迎红包赞赏

Leave a Reply

Your email address will not be published. Required fields are marked *