浏览代码

Use 4 heads

/develop/centralizedcritic
Ervin Teng 4 年前
当前提交
9a3598eb
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      ml-agents/mlagents/trainers/torch/networks.py

2
ml-agents/mlagents/trainers/torch/networks.py


self.entity_encoder = EntityEmbeddings(
sum(_input_size), [sum(_input_size)], self.h_size
)
self.self_attn = ResidualSelfAttention(self.h_size, num_heads=1)
self.self_attn = ResidualSelfAttention(self.h_size)
encoder_input_size = self.h_size

正在加载...
取消
保存