GetInstance
函数功能
获取TensorContext单例对象。
函数原型
static std::shared_ptr<TensorContext> GetInstance();
返回参数说明
数据结构 |
说明 |
---|---|
std::shared_ptr<TensorContext> |
TensorContext单例对象。 |
父主题: TensorContext
获取TensorContext单例对象。
static std::shared_ptr<TensorContext> GetInstance();
数据结构 |
说明 |
---|---|
std::shared_ptr<TensorContext> |
TensorContext单例对象。 |