浏览代码

Remove unused tf.placeholder (#3138)

/asymm-envs
GitHub 5 年前
当前提交
e536c09c
共有 1 个文件被更改,包括 0 次插入3 次删除
  1. 3
      ml-agents/mlagents/trainers/sac/models.py

3
ml-agents/mlagents/trainers/sac/models.py


rewards_holder = tf.placeholder(
shape=[None], dtype=tf.float32, name="{}_rewards".format(name)
)
rewards_holder = tf.placeholder(
shape=[None], dtype=tf.float32, name="{}_rewards".format(name)
)
self.rewards_holders[name] = rewards_holder
q1_losses = []

正在加载...
取消
保存