Files
2026-07-13 12:47:05 +08:00

119 lines
5.3 KiB
C++

/* ******************************************************************************
*
*
* This program and the accompanying materials are made available under the
* terms of the Apache License, Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0.
*
* See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations
* under the License.
*
* SPDX-License-Identifier: Apache-2.0
******************************************************************************/
#include <ConstMessages.h>
namespace sd {
const char *UNIQUE_TRANSFORM_STRICT_PREFIX = "__transform__strict__";
const char *UNIQUE_SCALAROP_PREFIX= "__scalarop__";
const char *OP_VALIDATION_FAIL_MSG = "Op validation failed";
const char *HAVE_PEEPHOLE = "Having the Peephole connections";
const char *HAVE_SEQLENARR = "Having theSequence length array";
const char *MSG_CELL_CLIPPING = "Cell clipping";
const char *TYPECHECK_MSG = "Checking the Type requirments for the NDArrays";
const char *NO_MSG = "";
const char *EXPECTED_TRUE = "expected to be True";
const char *EXPECTED_FALSE = "expected to be False";
const char *EXPECTED_NOT_SUPPORTED = "not supported";
const char *EXPECTED_EQ_MSG = "expected to be equal to";
const char *EXPECTED_NE_MSG = "expected to be different than";
const char *EXPECTED_LT_MSG = "expected to be less than";
const char *EXPECTED_LE_MSG = "expected to be less than or equal";
const char *EXPECTED_GT_MSG = "expected to be greater than";
const char *EXPECTED_GE_MSG = "expected to be greater than or equal";
const char *EXPECTED_IN = "expected to be one of these";
const char *IS_EMPTY_MSG_INPUT = IS_EMPTY_MSG_INPUT_;
const char *IS_EMPTY_MSG_INPUT0 = IS_EMPTY_MSG_INPUT_ "#0";
const char *IS_EMPTY_MSG_INPUT1 = IS_EMPTY_MSG_INPUT_ "#1";
const char *IS_EMPTY_MSG_INPUT2 = IS_EMPTY_MSG_INPUT_ "#2";
const char *IS_EMPTY_MSG_INPUT3 = IS_EMPTY_MSG_INPUT_ "#3";
const char *RANK_MSG_INPUT = RANK_MSG_INPUT_;
const char *RANK_MSG_INPUT0 = RANK_MSG_INPUT_ "#0";
const char *RANK_MSG_INPUT1 = RANK_MSG_INPUT_ "#1";
const char *RANK_MSG_INPUT2 = RANK_MSG_INPUT_ "#2";
const char *RANK_MSG_INPUT3 = RANK_MSG_INPUT_ "#3";
const char *LENGTH_MSG_INPUT = LENGTH_MSG_INPUT_;
const char *LENGTH_MSG_INPUT0 = LENGTH_MSG_INPUT_ "#0";
const char *LENGTH_MSG_INPUT1 = LENGTH_MSG_INPUT_ "#1";
const char *LENGTH_MSG_INPUT2 = LENGTH_MSG_INPUT_ "#2";
const char *LENGTH_MSG_INPUT3 = LENGTH_MSG_INPUT_ "#3";
const char *SHAPE_MSG_INPUT = SHAPE_MSG_INPUT_;
const char *SHAPE_MSG_INPUT0 = SHAPE_MSG_INPUT_ "#0";
const char *SHAPE_MSG_INPUT1 = SHAPE_MSG_INPUT_ "#1";
const char *SHAPE_MSG_INPUT2 = SHAPE_MSG_INPUT_ "#2";
const char *SHAPE_MSG_INPUT3 = SHAPE_MSG_INPUT_ "#3";
const char *TYPE_MSG_INPUT = TYPE_MSG_INPUT_;
const char *TYPE_MSG_INPUT0 = TYPE_MSG_INPUT_ "#0";
const char *TYPE_MSG_INPUT1 = TYPE_MSG_INPUT_ "#1";
const char *TYPE_MSG_INPUT2 = TYPE_MSG_INPUT_ "#2";
const char *TYPE_MSG_INPUT3 = TYPE_MSG_INPUT_ "#3";
const char *EWS_MSG_INPUT = EWS_MSG_INPUT_;
const char *EWS_MSG_INPUT0 = EWS_MSG_INPUT_ "#0";
const char *EWS_MSG_INPUT1 = EWS_MSG_INPUT_ "#1";
const char *EWS_MSG_INPUT2 = EWS_MSG_INPUT_ "#2";
const char *EWS_MSG_INPUT3 = EWS_MSG_INPUT_ "#3";
const char *ORDERING_MSG_INPUT = ORDERING_MSG_INPUT_;
const char *ORDERING_MSG_INPUT0 = ORDERING_MSG_INPUT_ "#0";
const char *ORDERING_MSG_INPUT1 = ORDERING_MSG_INPUT_ "#1";
const char *ORDERING_MSG_INPUT2 = ORDERING_MSG_INPUT_ "#2";
const char *ORDERING_MSG_INPUT3 = ORDERING_MSG_INPUT_ "#3";
const char *RANK_MSG_OUTPUT = RANK_MSG_OUTPUT_;
const char *RANK_MSG_OUTPUT0 = RANK_MSG_OUTPUT_ "#0";
const char *RANK_MSG_OUTPUT1 = RANK_MSG_OUTPUT_ "#1";
const char *RANK_MSG_OUTPUT2 = RANK_MSG_OUTPUT_ "#2";
const char *IS_EMPTY_MSG_OUTPUT = IS_EMPTY_MSG_OUTPUT_;
const char *IS_EMPTY_MSG_OUTPUT0 = IS_EMPTY_MSG_OUTPUT_ "#0";
const char *IS_EMPTY_MSG_OUTPUT1 = IS_EMPTY_MSG_OUTPUT_ "#1";
const char *IS_EMPTY_MSG_OUTPUT2 = IS_EMPTY_MSG_OUTPUT_ "#2";
const char *TYPE_MSG_OUTPUT = TYPE_MSG_OUTPUT_;
const char *TYPE_MSG_OUTPUT0 = TYPE_MSG_OUTPUT_ "#0";
const char *TYPE_MSG_OUTPUT1 = TYPE_MSG_OUTPUT_ "#1";
const char *TYPE_MSG_OUTPUT2 = TYPE_MSG_OUTPUT_ "#2";
const char *EWS_MSG_OUTPUT = EWS_MSG_OUTPUT_;
const char *EWS_MSG_OUTPUT0 = EWS_MSG_OUTPUT_ "#0";
const char *EWS_MSG_OUTPUT1 = EWS_MSG_OUTPUT_ "#1";
const char *EWS_MSG_OUTPUT2 = EWS_MSG_OUTPUT_ "#2";
const char *ORDERING_MSG_OUTPUT = ORDERING_MSG_OUTPUT_;
const char *ORDERING_MSG_OUTPUT0 = ORDERING_MSG_OUTPUT_ "#0";
const char *ORDERING_MSG_OUTPUT1 = ORDERING_MSG_OUTPUT_ "#1";
const char *ORDERING_MSG_OUTPUT2 = ORDERING_MSG_OUTPUT_ "#2";
const char *SHAPE_MSG_OUTPUT = SHAPE_MSG_OUTPUT_;
const char *SHAPE_MSG_OUTPUT0 = SHAPE_MSG_OUTPUT_ "#0";
const char *SHAPE_MSG_OUTPUT1 = SHAPE_MSG_OUTPUT_ "#1";
const char *SHAPE_MSG_OUTPUT2 = SHAPE_MSG_OUTPUT_ "#2";
const char *IS_USE_ONEDNN_MSG = "isUseONEDNN should be enabled to use ONEDNN";
const char *ONEDNN_STREAM_NOT_SUPPORTED = "ONEDNN stream is not supported";
const char *REQUIREMENTS_MEETS_MSG = "meets the requirements";
const char *REQUIREMENTS_FAILS_MSG = "fails the requirements";
} // namespace sd