xref: /aosp_15_r20/external/tensorflow/tensorflow/compiler/mlir/tfrt/analysis/analysis.proto (revision b6fb3261f9314811a0f4371741dbb8839866f948)
1syntax = "proto3";
2
3package mlir.tfrt;
4
5message CompatibilityAnalysisReportProto {
6  bool unknown_dialect = 1;
7  bool ref_variable = 2;
8  bool incompatible_variable = 3;
9  bool incompatible_attribute = 4;
10  bool control_flow_v1 = 5;
11  string method_name = 6;
12
13  // TODO(chky): add more checks, eg. tensor datatypes.
14}
15
16message CompatibilityAnalysisProto {
17  CompatibilityAnalysisReportProto summary = 1;
18
19  message OpInfo {
20    int32 count = 1;
21
22    CompatibilityAnalysisReportProto report = 2;
23  }
24
25  map<string, OpInfo> ops = 2;
26}
27