载入中...
搜索中...
未找到
GpuGraph.h
浏览该文件的文档.
1#pragma once
2
3#include "tensor/Graph.h"
4
5namespace eve::agent::detail {
6// Private graph recipe. Feeds: packed weights, features, additive legal mask,
7// one-hot target, learning rate. Output: probabilities or updated packed weights.
9struct PolicyGraph {
11 int output = -1;
12};
14PolicyGraph makePolicyGraph(int features, int hidden, int actions, bool training);
15} // namespace eve::agent::detail
std::vector< ActionSpec > actions
Definition PlayHost.cpp:126
EVENGINE_API_DOMAINS public API.
Definition Graph.h:111
PolicyGraph makePolicyGraph(int f, int h, int a, bool training)
Make policy graph.
Definition GpuGraph.cpp:65
PolicyGraph public API.
Definition GpuGraph.h:9