浏览代码

Add comment

/develop-newnormalization
Ervin Teng 5 年前
当前提交
0046ea2d
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1
      ml-agents/mlagents/trainers/models.py

1
ml-agents/mlagents/trainers/models.py


steps_increment = tf.shape(vector_input)[0]
total_new_steps = tf.add(self.normalization_steps, steps_increment)
# Needed to fix tensorflow's inability to cast
unref_norm_steps = tf.cast(tf.identity(self.normalization_steps), tf.float32)
unref_norm_step_inc = tf.cast(steps_increment, tf.float32)
new_mean = (

正在加载...
取消
保存