shaoheshaohe 发表于 2020-9-6 09:08:11

TensorFlow四舍五入:tf.round函数

tf.round 函数round(    x,    name=None)定义在:tensorflow/python/ops/math_ops.py.请参阅指南:数学函数>基本数学函数将张量的值四舍五入为最接近的整数,元素.
均匀的舍入.也被称为banker四舍五入.如果要根据当前系统舍入模式进行舍入,请使用tf :: cint.
页: [1]
查看完整版本: TensorFlow四舍五入:tf.round函数