1 // Generated by the protocol buffer compiler.  DO NOT EDIT!
2 // source: tensorflow/core/framework/api_def.proto
3 
4 module tensorflow.api_def;
5 
6 import google.protobuf;
7 import tensorflow.attr_value;
8 
9 enum protocVersion = 3012004;
10 
11 class ApiDef
12 {
13     @Proto(1) string graphOpName = protoDefaultValue!(string);
14     @Proto(2) Visibility visibility = protoDefaultValue!(Visibility);
15     @Proto(3) ApiDef.Endpoint[] endpoint = protoDefaultValue!(ApiDef.Endpoint[]);
16     @Proto(4) ApiDef.Arg[] inArg = protoDefaultValue!(ApiDef.Arg[]);
17     @Proto(5) ApiDef.Arg[] outArg = protoDefaultValue!(ApiDef.Arg[]);
18     @Proto(6) ApiDef.Attr[] attr = protoDefaultValue!(ApiDef.Attr[]);
19     @Proto(7) string summary = protoDefaultValue!(string);
20     @Proto(8) string description = protoDefaultValue!(string);
21     @Proto(9) string descriptionPrefix = protoDefaultValue!(string);
22     @Proto(10) string descriptionSuffix = protoDefaultValue!(string);
23     @Proto(11) string[] argOrder = protoDefaultValue!(string[]);
24     @Proto(12) string deprecationMessage = protoDefaultValue!(string);
25     @Proto(13) int deprecationVersion = protoDefaultValue!(int);
26 
27     static class Endpoint
28     {
29         @Proto(1) string name = protoDefaultValue!(string);
30         @Proto(3) bool deprecated_ = protoDefaultValue!(bool);
31         @Proto(4) int deprecationVersion = protoDefaultValue!(int);
32     }
33 
34     static class Arg
35     {
36         @Proto(1) string name = protoDefaultValue!(string);
37         @Proto(2) string renameTo = protoDefaultValue!(string);
38         @Proto(3) string description = protoDefaultValue!(string);
39     }
40 
41     static class Attr
42     {
43         @Proto(1) string name = protoDefaultValue!(string);
44         @Proto(2) string renameTo = protoDefaultValue!(string);
45         @Proto(3) AttrValue defaultValue = protoDefaultValue!(AttrValue);
46         @Proto(4) string description = protoDefaultValue!(string);
47     }
48 
49     enum Visibility
50     {
51         DEFAULT_VISIBILITY = 0,
52         VISIBLE = 1,
53         SKIP = 2,
54         HIDDEN = 3,
55     }
56 }
57 
58 class ApiDefs
59 {
60     @Proto(1) ApiDef[] op = protoDefaultValue!(ApiDef[]);
61 }