google-research

Форк
0
/
algorithm.proto 
39 строк · 1.5 Кб
1
// Copyright 2024 The Google Research Authors.
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

15
// A proto to serialize/deserialize an algorithm.
16

17
syntax = "proto2";
18

19
package automl_zero;
20

21
import "instruction.proto";
22

23
message SerializedAlgorithm {
24
  repeated SerializedInstruction setup_instructions = 1;
25
  repeated SerializedInstruction predict_instructions = 2;
26
  repeated SerializedInstruction learn_instructions = 3;
27
}
28

29
message SerializedInstruction {
30
  optional Op op = 1;                                 // Required.
31
  optional int32 in1 = 2;                             // Required.
32
  optional int32 in2 = 3;                             // Required.
33
  optional int32 out = 4;                             // Required.
34
  optional double activation_data = 5;                // Required.
35
  optional int32 index_data_0 = 6;                    // Required.
36
  optional float float_data_0 = 7;                    // Required.
37
  optional float float_data_1 = 8;                    // Required.
38
  optional float float_data_2 = 9;                    // Required.
39
}
40

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.