InferenceContext Constructor and Destructor
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
√ |
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Header File/Library File
- Header file: #include <graph/inference_context.h>
- Library file: libgraph.so
Function Usage
Constructs and destructs an object of class InferenceContext.
Prototype
1 2 3 4 5 | ~InferenceContext() = default InferenceContext(const InferenceContext &context) = delete InferenceContext(const InferenceContext &&context) = delete InferenceContext &operator=(const InferenceContext &context) = delete InferenceContext &operator=(const InferenceContext &&context) = delete |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
context |
Input |
InferenceContext content, which is used for initialization. |
Returns
Object of class InferenceContext.
Exception Handling
None
Restrictions
None
Parent topic: InferenceContext