InferenceContext对象的构造函数和析构函数。
~InferenceContext() = default;
InferenceContext(const InferenceContext &context) = delete;
InferenceContext(const InferenceContext &&context) = delete;
InferenceContext &operator=(const InferenceContext &context) = delete;
InferenceContext &operator=(const InferenceContext &&context) = delete
参数名 |
输入/输出 |
描述 |
---|---|---|
context |
输入 |
InferenceContext内容,供初始化使用。 |
InferenceContext构造函数返回InferenceContext类型的对象。
无。
无。