载入中...
搜索中...
未找到
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 继承关系图:
eve::agent::IPolicyBackend

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.

在文件 Agent.h 第 131 行定义.

成员函数说明

◆ available()

virtual Result< void > eve::agent::IGpuPolicyBackend::available ( ) const
pure virtual

Check live device availability without executing an environment callback.

◆ train()

virtual Result< Policy > eve::agent::IGpuPolicyBackend::train ( const Policy &  policy,
const Observation &  observation,
std::uint32_t  action,
double  rate 
)
pure virtual

GPU forward/backprop/update on a validated sample; publish owning weights atomically.

类成员变量说明

◆ capabilityName

constexpr const char* eve::agent::IGpuPolicyBackend::capabilityName = "agent.IGpuPolicyBackend"
staticconstexpr

在文件 Agent.h 第 133 行定义.


该类的文档由以下文件生成: