![]() |
ATLAS Offline Software
|
#include <TritonTool.h>
Public Member Functions | |
| TritonTool (const std::string &type, const std::string &name, const IInterface *parent) | |
| StatusCode | initialize () override final |
| virtual StatusCode | inference (InputDataMap &inputData, OutputDataMap &outputData) const override final |
| void | print () const override final |
Protected Member Functions | |
| TritonTool ()=delete | |
| TritonTool (const TritonTool &)=delete | |
| TritonTool & | operator= (const TritonTool &)=delete |
Protected Attributes | |
| StringProperty | m_modelName {this, "ModelName", "", "Model name"} |
| IntegerProperty | m_port {this, "Port", 8001, "Port ID for Triton server"} |
| StringProperty | m_modelVersion {this, "ModelVersion", "", "Model version, empty for latest"} |
| FloatProperty | m_clientTimeout {this, "ClientTimeout", 0, "Client timeout in milliseconds, 0 for no timeout"} |
| StringProperty | m_url {this, "URL", "", "Triton URL"} |
| BooleanProperty | m_useSSL {this, "UseSSL", false, "Use SSL for Triton server connection"} |
Private Member Functions | |
| tc::InferenceServerGrpcClient * | getClient () const |
| template<typename T> | |
| StatusCode | prepareInput (const std::string &name, const std::vector< int64_t > &shape, const std::vector< T > &data, std::vector< std::shared_ptr< tc::InferInput > > &inputs) const |
| template<typename T> | |
| StatusCode | extractOutput (const std::string &name, const std::shared_ptr< tc::InferResult > &result, std::vector< T > &outputVec) const |
Private Attributes | |
| std::unique_ptr< tc::InferOptions > | m_options |
Definition at line 30 of file TritonTool.h.
| AthInfer::TritonTool::TritonTool | ( | const std::string & | type, |
| const std::string & | name, | ||
| const IInterface * | parent ) |
Definition at line 7 of file TritonTool.cxx.
|
protecteddelete |
|
protecteddelete |
|
private |
Definition at line 39 of file TritonTool.h.
|
private |
Definition at line 24 of file TritonTool.cxx.
|
finaloverridevirtual |
Definition at line 44 of file TritonTool.cxx.
|
finaloverride |
Definition at line 15 of file TritonTool.cxx.
|
protecteddelete |
|
private |
Definition at line 11 of file TritonTool.h.
|
inlinefinaloverride |
Definition at line 40 of file TritonTool.h.
|
protected |
Definition at line 50 of file TritonTool.h.
|
protected |
Definition at line 47 of file TritonTool.h.
|
protected |
Definition at line 49 of file TritonTool.h.
|
private |
Definition at line 56 of file TritonTool.h.
|
protected |
Definition at line 48 of file TritonTool.h.
|
protected |
Definition at line 51 of file TritonTool.h.
|
protected |
Definition at line 52 of file TritonTool.h.