• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /**
2  * Copyright 2023 Huawei Technologies Co., Ltd
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 #ifndef MINDSPORE_CCSRC_BACKEND_KERNEL_GRAPH_KERNEL_GRAPH_KERNEL_JSON_FLAGS_H_
17 #define MINDSPORE_CCSRC_BACKEND_KERNEL_GRAPH_KERNEL_GRAPH_KERNEL_JSON_FLAGS_H_
18 namespace mindspore::graphkernel {
19 constexpr auto kJsonKeyOpDesc = "op_desc";
20 constexpr auto kJsonKeyAttr = "attr";
21 constexpr auto kJsonKeyInputDesc = "input_desc";
22 constexpr auto kJsonKeyFormat = "format";
23 constexpr auto kJsonKeyInferDataType = "infer_data_type";
24 constexpr auto kJsonKeyInferShape = "infer_shape";
25 constexpr auto kJsonKeyShape = "shape";
26 constexpr auto kJsonKeySymbolicShape = "symbolic_shape";
27 constexpr auto kJsonKeySymbolCalcExpr = "symbol_calc_expr";
28 constexpr auto kJsonKeyDataType = "data_type";
29 constexpr auto kJsonKeyDataformat = "data_format";
30 constexpr auto kJsonKeyOutputDesc = "output_desc";
31 constexpr auto kJsonKeyName = "name";
32 constexpr auto kJsonKeyTensorName = "tensor_name";
33 constexpr auto kJsonKeyValue = "value";
34 constexpr auto kJsonKeyImplPath = "impl_path";
35 constexpr auto kJsonKeyProcess = "process";
36 constexpr auto kJsonKeyComposite = "composite";
37 constexpr auto kJsonKeyId = "id";
38 constexpr auto kJsonKeyOp = "op";
39 constexpr auto kJsonKeyPtrAddress = "ptr_address";
40 constexpr auto kJsonKeyCompositeGraph = "composite_graph";
41 constexpr auto kJsonKeyPlatform = "platform";
42 constexpr auto kJsonKeyOpFullName = "op_full_name";
43 constexpr auto kJsonKeyParallelFusion = "parallel_fusion";
44 constexpr auto kJsonKeyFusionType = "fusion_type";
45 constexpr auto kJsonKeySubGraph = "sub_graph";
46 constexpr auto kJsonKeyCoreNum = "core_num";
47 constexpr auto kJsonKeyTypeInfo = "type_info";
48 constexpr auto kJsonKeyRecomputeOps = "recompute_ops";
49 constexpr auto kJsonKeyBufferStitch = "buffer_stitch";
50 constexpr auto kJsonKeyStitchOp = "stitch_op";
51 constexpr auto kJsonKeyStitchAtomicOp = "stitch_atomic_op";
52 constexpr auto kJsonKeyVersion = "version";
53 constexpr auto kJsonKeyTargetInfo = "target_info";
54 constexpr auto kJsonKeyComputeCapability = "compute_capability";
55 constexpr auto kJsonKeySmCount = "sm_count";
56 constexpr auto kJsonKeySystem = "system";
57 constexpr auto kJsonKeyArch = "arch";
58 constexpr auto kJsonKeyCpuFeature = "feature";
59 constexpr auto kJsonKeyCpuType = "cpu";
60 constexpr auto kJsonKeyNodeName = "node_name";
61 constexpr auto kJsonKeyDynamicInputIndex = "dynamic_input_index";
62 }  // namespace mindspore::graphkernel
63 #endif
64