 |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef NN_SHARING_SVC_H
6 #define NN_SHARING_SVC_H
22 std::size_t
hash()
const;
34 using extends::extends;
38 virtual std::shared_ptr<const GNN>
get(
39 const std::string& nn_name,
42 using val_t = std::shared_ptr<const GNN>;
43 std::unordered_map<detail::NNKey, val_t, detail::NNHasher>
m_gnns;
47 ,
"Toggle running the inference through Triton"};
49 ,
"Timeout value for Triton client"};
51 ,
"Triton server port"};
52 Gaudi::Property<std::string>
m_tritonUrl {
this,
"TritonUrl",
""
53 ,
"Triton server URL"};
55 ,
"Connect to the Triton server over SSL"};
This file contains "getter" functions used for accessing tagger inputs from the EDM.
Gaudi::Property< std::string > m_tritonUrl
Gaudi::Property< bool > m_useTriton
Gaudi::Property< float > m_tritonTimeout
::StatusCode StatusCode
StatusCode definition for legacy code.
std::size_t operator()(const NNKey &o) const
std::unordered_map< detail::NNKey, val_t, detail::NNHasher > m_gnns
void initTritonPathToName()
Gaudi::Property< bool > m_tritonUseSsl
bool operator==(const NNKey &) const
virtual StatusCode initialize() override
std::map< std::string, std::string > m_tritonPathToName
virtual std::shared_ptr< const GNN > get(const std::string &nn_name, const GNNOptions &opts) override
Gaudi::Property< int > m_tritonPort
std::unordered_map< std::string, val_t > m_base_gnns
std::shared_ptr< const GNN > val_t