昇腾社区首页
中文
注册

预留接口

本章节列出的接口均为预留接口,后续有可能变更或废弃,不建议开发者使用,开发者无需关注。

OpDef

  • OpAttrDef &GetOrCreateAttr(const char *name);
  • static int OpDefRegister(const char *name, OpDefCreator creator);
  • OpCheckFuncHelper(const ge::AscendString &check_type, const ge::AscendString &op_type, OP_CHECK_FUNC func);
  • OpCheckFuncHelper(const ge::AscendString &op_type, PARAM_GENERALIZE_FUNC func);
  • OpParamDef &IgnoreContiguous(void);
  • ge::AscendString &GetParamName(void);
  • Option GetParamType(void);
  • std::vector<ge::DataType> &GetDataTypes(void);
  • std::vector<ge::Format> &GetFormats(void);
  • std::vector<ge::Format> &GetUnknownShapeFormats(void);
  • ge::AscendString &GetValueDepend(void);
  • bool GetAutoContiguous(void);
  • ge::AscendString &GetCfgDataType(void) const;
  • ge::AscendString &GetProtoDataType(void) const;
  • ge::AscendString &GetAttrDefaultVal(const char *brac);
  • std::vector<ge::AscendString> &GetCfgKeys(void);
  • std::map<ge::AscendString, ge::AscendString> &GetCfgInfo(void);
  • ge::AscendString &GetConfigValue(const char *key);
  • OpAICoreDef &SetOpSupportInfo(optiling::OP_CHECK_FUNC func);
  • OpAICoreDef &SetOpSpecInfo(optiling::OP_CHECK_FUNC func);
  • OpAICoreDef &SetParamGeneralize(optiling::PARAM_GENERALIZE_FUNC func);
  • optiling::OP_CHECK_FUNC &GetCheckSupport(void);
  • optiling::OP_CHECK_FUNC &GetOpSelectFormat(void);
  • optiling::OP_CHECK_FUNC &GetOpSupportInfo(void);
  • optiling::OP_CHECK_FUNC &GetOpSpecInfo(void);
  • optiling::PARAM_GENERALIZE_FUNC &GetParamGeneralize(void);
  • gert::OpImplKernelRegistry::InferShapeKernelFunc &GetInferShape(void);
  • gert::OpImplKernelRegistry::InferShapeRangeKernelFunc &GetInferShapeRange(void);
  • gert::OpImplKernelRegistry::InferDataTypeKernelFunc &GetInferDataType(void);