blob: c28591d529c79c32a657bdeda5f8d2a554e32641 [file] [log] [blame]
Matthew Haddone86fd342021-09-07 16:12:21 +01001# Copyright (c) 2021, ARM Limited.
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15class ErrorIf(object):
16 MaxDimExceeded = "MaxDimExceeded"
17 StrideSmallerEqualZero = "StrideSmallerEqualZero"
18 StrideLargerEqualMax = "StrideLargerEqualMax"
19 StrideLargerDimension = "StrideLargerDimension"
20 OffsetSmallerEqualMin = "OffsetSmallerEqualMin"
21 OffsetLargerEqualMax = "OffsetLargerEqualMax"
22 ShiftNotZero = "ShiftNotZero"
23 ShiftSmallerOne = "ShiftSmallerOne"
24 ShiftLargerEleven = "ShiftLargerEleven"
Matthew Haddon848efb42021-09-09 12:30:53 +010025 WrongInputType = "WrongInputType"
26 WrongOutputType = "WrongOutputType"
27 WrongInputList = "WrongInputList"
28 WrongOutputList = "WrongOutputList"
29 WrongRank = "WrongRank"
Matthew Haddon693ba9e2021-09-22 11:24:37 +010030 BatchMismatch = "BatchMismatch"
31 ChannelMismatch = "ChannelMismatch"
Matthew Haddoneacff9a2021-09-24 14:42:13 +010032 RankMismatch = "RankMismatch"
Matthew Haddone86fd342021-09-07 16:12:21 +010033