浏览代码

no need for large number of steps in test

/develop/singular-embeddings
vincentpierre 4 年前
当前提交
1cff7848
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      ml-agents/mlagents/trainers/tests/torch/test_attention.py

2
ml-agents/mlagents/trainers/tests/torch/test_attention.py


weight_decay=1e-6,
)
batch_size = 20
for _ in range(5000):
for _ in range(5):
center = torch.rand((batch_size, size))
key = torch.rand((batch_size, n_k, size))
with torch.no_grad():

正在加载...
取消
保存