开发者
下载
[object Object][object Object]

全量芯片支持。

[object Object]
  • 头文件:#include <graph/graph.h>
  • 库文件:libgraph.so
[object Object]

用户算子缓存接口,通过此接口可以将不带连接关系的算子缓存在图中,用于查询和对象获取。

[object Object]
[object Object]
[object Object][object Object]undefined
[object Object][object Object]undefined
[object Object]

此接口为非必须接口。主要用于用户在多个函数间切换时,operator对象可能因为是局部变量而无法被多个函数获取,此时operator可以注册在graph中,通过graph获取先前创建的operator对象,但注册到graph后,此operator对象除非graph销毁,否则一直存在。