tensorflow
问简
问道至简
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
tensorflow 基本语法
数据定义常量c_1 = tf.constant(4)c_2 = tf.constant([4,3,2])变量v_1 = tf.Variable( rand_t )张量t_1 = tf.random_normal( [2,3] , mean =2.0, stddev=4 , seed =12 )t_2 = tf.truncated_normal([1,5] , stddev=2 )t_3 = tf.random_uniform([2,3] , maxval=4 , seed=12 )原创 2020-06-11 17:49:30 · 373 阅读 · 0 评论 -
tensorflow hello world
Tensorflow Hello Worldimport tensorflow as tfrow = tf.constant([0])print(row)version = tf.__version__print( version )p = tf.__path__print( p )原创 2020-06-09 14:10:30 · 169 阅读 · 0 评论
分享