1 /** 2 * Copyright 2019-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 17 #ifndef MINDSPORE_CORE_BASE_FRAMEWORK_OP_NAME_H_ 18 #define MINDSPORE_CORE_BASE_FRAMEWORK_OP_NAME_H_ 19 namespace mindspore { 20 constexpr auto kGatherOpName = "Gather"; 21 22 // Attribute 23 constexpr auto kSetAttrOpName = "setattr"; 24 constexpr auto kRintOpName = "Rint"; 25 constexpr auto kReverseV2OpName = "ReverseV2"; 26 constexpr auto kNoRepeatNGramOpName = "NoRepeatNGram"; 27 constexpr auto kSearchSortedOpName = "SearchSorted"; 28 29 // Meta Function Graph 30 constexpr auto kJOpName = "J"; 31 constexpr auto kVmapOpName = "Vmap"; 32 constexpr auto kTaylorOpName = "Taylor"; 33 34 // Others 35 constexpr auto kLoadOpName = "Load"; 36 constexpr auto kDependOpName = "Depend"; 37 constexpr auto kidentityOpName = "identity"; 38 constexpr auto kEnvironCreateOpName = "EnvironCreate"; 39 constexpr auto kEnvironSetOpName = "EnvironSet"; 40 constexpr auto kEnvironGetOpName = "EnvironGet"; 41 constexpr auto kEnvironAddOpName = "EnvironAdd"; 42 constexpr auto kPopulationCountOpName = "PopulationCount"; 43 constexpr auto kEnvironDestroyAllOpName = "EnvironDestroyAll"; 44 constexpr auto kMutableOpName = "mutable"; 45 constexpr auto kGetGradOpName = "GetGrad"; 46 constexpr auto kSetSizeOpName = "SetSize"; 47 constexpr auto kIsInstanceOpName = "isinstance"; 48 constexpr auto kStringUpperOpName = "StringUpper"; 49 constexpr auto kStringLowerOpName = "StringLower"; 50 constexpr auto kHookBackwardName = "HookBackward"; 51 constexpr auto kCellBackwardHookName = "CellBackwardHook"; 52 53 // Framework 54 constexpr auto kUpdateStateOpName = "UpdateState"; 55 constexpr auto kReturnOpName = "Return"; 56 constexpr auto kSwitchOpName = "Switch"; 57 constexpr auto kSelectOpName = "Select"; 58 constexpr auto kCallOpName = "call"; 59 constexpr auto kMemCpyAsyncOpName = "memcpy_async"; 60 constexpr auto kPrintOpName = "Print"; 61 constexpr auto kPullOpName = "Pull"; 62 constexpr auto kPyExecuteOpName = "PyExecute"; 63 constexpr auto kPyInterpretOpName = "PyInterpret"; 64 constexpr auto kPushOpName = "Push"; 65 constexpr auto kQuantDTypeCastOpName = "QuantDTypeCast"; 66 constexpr auto kRpcRecvOpName = "RpcRecv"; 67 constexpr auto kRpcSendOpName = "RpcSend"; 68 constexpr auto kTensorMoveOpName = "TensorMove"; 69 constexpr auto kCheckValidOpName = "CheckValid"; 70 constexpr auto kMakeDictOpName = "make_dict"; 71 constexpr auto kSendOpName = "Send"; 72 constexpr auto kReceiveOpName = "Receive"; 73 constexpr auto kStreamSendOpName = "StreamSend"; 74 constexpr auto kStreamRecvOpName = "StreamRecv"; 75 constexpr auto kRaiseOpName = "raise"; 76 constexpr auto kFormatOpName = "Format"; 77 } // namespace mindspore 78 79 #endif // MINDSPORE_CORE_BASE_FRAMEWORK_OP_NAME_H_ 80