• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1syntax = "proto3";
2
3package tensorflow.core.platform;
4
5option cc_enable_arenas = true;
6option go_package = "github.com/tensorflow/tensorflow/tensorflow/go/core/protobuf/for_core_protos_go_proto";
7
8// If included as a payload, this message contains the error source information
9// where the error was raised.
10// URI: "type.googleapis.com/tensorflow.core.platform.ErrorSourceProto"
11message ErrorSourceProto {
12  enum ErrorSource {
13    UNKNOWN = 0;
14    TPU_COMPILE_OP = 1;
15    // Old bridge.
16    TF_XLA_BRIDGE = 2;
17    // TPUBridge.
18    MLIR_BRIDGE_PHASE_1 = 3;
19    // LegalizeToHlo.
20    MLIR_BRIDGE_PHASE_2 = 4;
21    // eager::RemoteMgr.
22    EAGER_REMOTE_MGR = 5;
23  }
24  ErrorSource error_source = 1;
25}
26