• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/**
2 * Copyright 2020 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 */
16syntax = "proto3";
17
18option cc_enable_arenas = true;
19package mindspore;
20
21enum DataType {
22  MS_FLOAT32 = 0;
23  MS_FLOAT16 = 1;
24  MS_INT8 = 2;
25  MS_INT32 = 3;
26  MS_UINT8 = 4;
27  MS_INT16 = 6;
28  MS_UINT16 = 7;
29  MS_UINT32 = 8;
30  MS_INT64 = 9;
31  MS_UINT64 = 10;
32  MS_FLOAT64 = 11;
33  MS_BOOL = 12;
34  MS_STRING = 13;
35  MS_DUAL_SUB_INT8 = 14;
36  MS_DUAL_SUB_UINT8 = 15;
37  MS_COMPLEX64 = 16;
38  MS_COMPLEX128 = 17;
39  MS_QINT8 = 18;
40  MS_QINT16 = 19;
41  MS_QINT32 = 20;
42  MS_QUINT8 = 21;
43  MS_QUINT16 = 22;
44  MS_RESOURCE = 23;
45  MS_STRING_REF = 24;
46  MS_DUAL = 25;
47  MS_UNKNOWN = 26;
48}
49