图构建器类,用于C++用户构建计算图,该类提供了创建输入等图元素的方法, 以及设置私有属性、构建最终图、服务C++的ES generated API的内联函数内部调用C的ES generated API转换逻辑等功能。 `c++ #include "esgraphbuilder.h" ` `c++ explicit EsGraphBuilder(const char *name); template std::uniqueptr CreateTensor(const std::vector &value, const std::vector &dims, DataType dt,Format