随笔分类 - tensorflow
摘要:ref: Broadcasting Tensorflow - Learning Tensorflow When we operate on arrays of different dimensionality, they can combine in different ways, either e
阅读全文
摘要:def embedding(inputs, vocab_size, num_units, zero_pad=True, scale=True, scope="embedding", reuse=None): '''Embeds a given tensor. Args: inputs: A `Ten
阅读全文
摘要:An overconfident model is not calibrated and its predicted probabilities are consistently higher than the accuracy. For example, it may predict 0.9 fo
阅读全文
摘要:由于生产环境目前还以1.13版本为主, 而google为了推进2.x已经下架了大部分官方教程, 这里简单做一些记录 1. name_scope / variable_scope 注意 tf.get_variable 不受 name_scope 影响 https://blog.csdn.net/u01
阅读全文
摘要:二分类模型做了3个实现 1. tensorflow lower API 实现逻辑回归二分类2. tensorflow senior API 实现二分类(sigmod函数由API内部默认实现)3. sklearn 的逻辑回归包用于比较输出 需要注意的是 tensorflow 中对于函数输出 nan 与
阅读全文

浙公网安备 33010602011771号