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_STRUCTURE_OP_NAME_H_ 18 #define MINDSPORE_CORE_BASE_STRUCTURE_OP_NAME_H_ 19 20 namespace mindspore { 21 // String 22 constexpr auto kStringEqOpName = "string_eq"; 23 constexpr auto kStringLtOpName = "string_lt"; 24 constexpr auto kStringGtOpName = "string_gt"; 25 constexpr auto kStringLeOpName = "string_le"; 26 constexpr auto kStringGeOpName = "string_ge"; 27 constexpr auto kStringConcatOpName = "string_concat"; 28 constexpr auto kStringNotOpName = "string_not"; 29 constexpr auto kStringInOpName = "string_in"; 30 constexpr auto kStringMulOpName = "string_mul"; 31 constexpr auto kStringGetItemOpName = "string_getitem"; 32 33 constexpr auto kGetNextOpName = "GetNext"; 34 constexpr auto kGetNextFromQueueOpName = "GetNextFromQueue"; 35 constexpr auto kDynamicGetNextV2OpName = "DynamicGetNextV2"; 36 constexpr auto kDynamicGetNextAscendOpName = "DynamicGetNextAscend"; 37 38 // Statements 39 constexpr auto kVmapStackAssignOpName = "VmapStackAssign"; 40 constexpr auto kVmapUnstackAssignOpName = "VmapUnstackAssign"; 41 constexpr auto kSliceGetItemOpName = "SliceGetItem"; 42 constexpr auto kCondOpName = "Cond"; 43 constexpr auto kDynamicBroadcastGradientArgsOpName = "DynamicBroadcastGradientArgs"; 44 45 constexpr auto kHistogramFixedWidthOpName = "HistogramFixedWidth"; 46 constexpr auto kHistogramFixedWidthDOpName = "HistogramFixedWidthD"; 47 constexpr auto kStackDestroyOpName = "StackDestroy"; 48 constexpr auto kStackInitOpName = "StackInit"; 49 constexpr auto kStackPopOpName = "StackPop"; 50 constexpr auto kStackPushOpName = "StackPush"; 51 constexpr auto kStopGradientOpName = "StopGradient"; 52 constexpr auto kMakeSliceOpName = "make_slice"; 53 constexpr auto kJoinedStrOpName = "JoinedStr"; 54 } // namespace mindspore 55 56 #endif // MINDSPORE_CORE_BASE_STRUCTURE_OP_NAME_H_ 57