载入中...
搜索中...
未找到
eve::agent::IGpuPolicyBackend类 参考abstract
Optional GPU policy service, registered independently of eager tensor CPU. @ownership Same synchronous borrowing contract as IPolicyBackend; revoke before destruction. @thread Device owner thread only. No callbacks, reentry or device teardown during a call. 更多...
#include <Agent.h>
类 eve::agent::IGpuPolicyBackend 继承关系图:
Public 成员函数 | |
| virtual Result< void > | available () const =0 |
| Check live device availability without executing an environment callback. | |
| virtual Result< Policy > | train (const Policy &policy, const Observation &observation, std::uint32_t action, double rate)=0 |
| GPU forward/backprop/update on a validated sample; publish owning weights atomically. | |
Public 成员函数 继承自 eve::agent::IPolicyBackend | |
| virtual | ~IPolicyBackend ()=default |
| Releases IPolicyBackend resources. | |
| virtual std::string | name () const =0 |
| Owning device/backend label; must describe the actual execution path. | |
| virtual Result< std::vector< double > > | evaluate (const Policy &policy, const Observation &observation)=0 |
| Evaluate inputs validated by agent::infer; return masked probabilities or structured failure. | |
静态 Public 属性 | |
| static constexpr const char * | capabilityName = "agent.IGpuPolicyBackend" |
静态 Public 属性 继承自 eve::agent::IPolicyBackend | |
| static constexpr const char * | capabilityName = "agent.IPolicyBackend" |
详细描述
Optional GPU policy service, registered independently of eager tensor CPU. @ownership Same synchronous borrowing contract as IPolicyBackend; revoke before destruction. @thread Device owner thread only. No callbacks, reentry or device teardown during a call.
成员函数说明
◆ available()
|
pure virtual |
Check live device availability without executing an environment callback.
◆ train()
|
pure virtual |
GPU forward/backprop/update on a validated sample; publish owning weights atomically.
类成员变量说明
◆ capabilityName
|
staticconstexpr |
该类的文档由以下文件生成:
- src/modules/agent/Agent.h
Public 成员函数 继承自