在用python使用TensorFlow的时候:
tf.reduce_sum函数中reduction_indices参数表示函数的处理维度。
reduction_indices参数的值默认的时候为None,默认把所有的数据求和,即结果是一维的。
reduction_indices参数的值为0的时候,是第0维对应位置相加。
reduction_indices参数的值为1的时候,是第1维对应位置相加。
以此类推。

reduction_indices参数设置意思

相关文章:

  • 2021-09-18
  • 2022-12-23
  • 2021-09-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-07
  • 2021-12-25
猜你喜欢
  • 2021-04-23
  • 2022-03-05
  • 2021-05-08
  • 2022-12-23
  • 2021-04-15
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案