2019年1月2日

tf.truncated_normal()

摘要: tf.truncated_normal(shape, mean=0.0, stddev=1.0, dtype=tf.float32, seed=None, name=None)1从截断的正态分布中输出随机值。 生成的值服从具有指定平均值和标准偏差的正态分布,如果生成的值大于平均值2个标准偏差的值则丢 阅读全文

posted @ 2019-01-02 14:58 AI大道理 阅读(660) 评论(0) 推荐(0)

tf.FIFOQueue()

摘要: Tensorflow–tf.FIFOQueue详解描述tf.FIFOQueue根据先进先出(FIFO)的原则创建一个队列。队列是Tensorflow的一种数据结构,每个队列的元素都是包含一个或多个张量的元组,每个元组都有静态的类型和尺寸。入列和出列可以支持一次一个元素,或一次一批元素。它继承于Ten 阅读全文

posted @ 2019-01-02 11:19 AI大道理 阅读(428) 评论(0) 推荐(0)

np.hsplit()

摘要: numpy.hsplit Split an array into multiple sub-arrays horizontally (column-wise). Please refer to the split documentation. hsplit is equivalent to spli 阅读全文

posted @ 2019-01-02 11:18 AI大道理 阅读(1615) 评论(0) 推荐(0)

np.frombuffer()

摘要: numpy.frombuffer Interpret a buffer as a 1-dimensional array. An object that exposes the buffer interface. Data-type of the returned array; default: f 阅读全文

posted @ 2019-01-02 10:35 AI大道理 阅读(5261) 评论(0) 推荐(0)

Python内置函数详解——总结篇

摘要: https://www.cnblogs.com/sesshoumaru/category/894935.html 2个多月来,将3.5版本中的68个内置函数,按顺序逐个进行了自认为详细的解析,现在是时候进行个总结了。为了方便记忆,将这些内置函数进行了如下分类: 数学运算(7个) 类型转换(24个) 阅读全文

posted @ 2019-01-02 08:21 AI大道理 阅读(505) 评论(0) 推荐(0)

eval()

摘要: 英文文档: This function can also be used to execute arbitrary code objects (such as those created by compile()). In this case pass a code object instead o 阅读全文

posted @ 2019-01-02 08:17 AI大道理 阅读(338) 评论(0) 推荐(0)

导航