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 */ 16 17syntax = "proto2"; 18 19package mindspore.prntpb; 20 21message TensorProto { 22 // The shape of the tensor. 23 repeated int64 dims = 1; 24 // The type of the tensor. 25 required string tensor_type = 2; 26 // The data of the tensor. 27 required bytes tensor_content = 3; 28} 29 30 31message Print { 32 message Value { 33 oneof value { 34 string desc = 1; 35 TensorProto tensor = 2; 36 } 37 } 38 repeated Value value = 1; 39} 40