Move error_codes.proto part 2.
Move the usages to protobuf/error_codes.proto PiperOrigin-RevId: 270414415
This commit is contained in:
parent
db85dbe6b6
commit
8cd3ca309b
tensorflow
@ -22,11 +22,11 @@ limitations under the License.
|
|||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include "tensorflow/core/framework/cost_graph.pb.h"
|
#include "tensorflow/core/framework/cost_graph.pb.h"
|
||||||
#include "tensorflow/core/lib/core/error_codes.pb.h"
|
|
||||||
#include "tensorflow/core/lib/core/status.h"
|
#include "tensorflow/core/lib/core/status.h"
|
||||||
#include "tensorflow/core/platform/macros.h"
|
#include "tensorflow/core/platform/macros.h"
|
||||||
#include "tensorflow/core/platform/mutex.h"
|
#include "tensorflow/core/platform/mutex.h"
|
||||||
#include "tensorflow/core/protobuf/config.pb.h"
|
#include "tensorflow/core/protobuf/config.pb.h"
|
||||||
|
#include "tensorflow/core/protobuf/error_codes.pb.h"
|
||||||
|
|
||||||
namespace tensorflow {
|
namespace tensorflow {
|
||||||
|
|
||||||
|
@ -17,11 +17,11 @@ limitations under the License.
|
|||||||
|
|
||||||
#include "tensorflow/cc/training/queue_runner.h"
|
#include "tensorflow/cc/training/queue_runner.h"
|
||||||
#include "tensorflow/core/lib/core/blocking_counter.h"
|
#include "tensorflow/core/lib/core/blocking_counter.h"
|
||||||
#include "tensorflow/core/lib/core/error_codes.pb.h"
|
|
||||||
#include "tensorflow/core/lib/core/notification.h"
|
#include "tensorflow/core/lib/core/notification.h"
|
||||||
#include "tensorflow/core/lib/core/status_test_util.h"
|
#include "tensorflow/core/lib/core/status_test_util.h"
|
||||||
#include "tensorflow/core/platform/env.h"
|
#include "tensorflow/core/platform/env.h"
|
||||||
#include "tensorflow/core/platform/test.h"
|
#include "tensorflow/core/platform/test.h"
|
||||||
|
#include "tensorflow/core/protobuf/error_codes.pb.h"
|
||||||
#include "tensorflow/core/public/session.h"
|
#include "tensorflow/core/public/session.h"
|
||||||
|
|
||||||
namespace tensorflow {
|
namespace tensorflow {
|
||||||
|
@ -23,11 +23,11 @@ limitations under the License.
|
|||||||
|
|
||||||
#include "tensorflow/cc/training/coordinator.h"
|
#include "tensorflow/cc/training/coordinator.h"
|
||||||
#include "tensorflow/core/lib/core/blocking_counter.h"
|
#include "tensorflow/core/lib/core/blocking_counter.h"
|
||||||
#include "tensorflow/core/lib/core/error_codes.pb.h"
|
|
||||||
#include "tensorflow/core/lib/core/status.h"
|
#include "tensorflow/core/lib/core/status.h"
|
||||||
#include "tensorflow/core/lib/core/threadpool.h"
|
#include "tensorflow/core/lib/core/threadpool.h"
|
||||||
#include "tensorflow/core/platform/mutex.h"
|
#include "tensorflow/core/platform/mutex.h"
|
||||||
#include "tensorflow/core/protobuf/config.pb.h"
|
#include "tensorflow/core/protobuf/config.pb.h"
|
||||||
|
#include "tensorflow/core/protobuf/error_codes.pb.h"
|
||||||
#include "tensorflow/core/protobuf/queue_runner.pb.h"
|
#include "tensorflow/core/protobuf/queue_runner.pb.h"
|
||||||
#include "tensorflow/core/public/session.h"
|
#include "tensorflow/core/public/session.h"
|
||||||
|
|
||||||
|
@ -25,11 +25,11 @@ limitations under the License.
|
|||||||
#include "tensorflow/core/framework/tensor.h"
|
#include "tensorflow/core/framework/tensor.h"
|
||||||
#include "tensorflow/core/framework/tensor_shape.h"
|
#include "tensorflow/core/framework/tensor_shape.h"
|
||||||
#include "tensorflow/core/framework/types.pb.h"
|
#include "tensorflow/core/framework/types.pb.h"
|
||||||
#include "tensorflow/core/lib/core/error_codes.pb.h"
|
|
||||||
#include "tensorflow/core/lib/core/notification.h"
|
#include "tensorflow/core/lib/core/notification.h"
|
||||||
#include "tensorflow/core/lib/core/status_test_util.h"
|
#include "tensorflow/core/lib/core/status_test_util.h"
|
||||||
#include "tensorflow/core/platform/env.h"
|
#include "tensorflow/core/platform/env.h"
|
||||||
#include "tensorflow/core/platform/test.h"
|
#include "tensorflow/core/platform/test.h"
|
||||||
|
#include "tensorflow/core/protobuf/error_codes.pb.h"
|
||||||
#include "tensorflow/core/protobuf/queue_runner.pb.h"
|
#include "tensorflow/core/protobuf/queue_runner.pb.h"
|
||||||
#include "tensorflow/core/public/session.h"
|
#include "tensorflow/core/public/session.h"
|
||||||
|
|
||||||
|
@ -26,8 +26,8 @@ option go_package = "github.com/tensorflow/tensorflow/tensorflow/go/core/protobu
|
|||||||
import "tensorflow/core/framework/device_attributes.proto";
|
import "tensorflow/core/framework/device_attributes.proto";
|
||||||
import "tensorflow/core/framework/graph.proto";
|
import "tensorflow/core/framework/graph.proto";
|
||||||
import "tensorflow/core/framework/tensor.proto";
|
import "tensorflow/core/framework/tensor.proto";
|
||||||
import "tensorflow/core/lib/core/error_codes.proto";
|
|
||||||
import "tensorflow/core/protobuf/config.proto";
|
import "tensorflow/core/protobuf/config.proto";
|
||||||
|
import "tensorflow/core/protobuf/error_codes.proto";
|
||||||
import "tensorflow/core/protobuf/named_tensor.proto";
|
import "tensorflow/core/protobuf/named_tensor.proto";
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
@ -1,12 +1,14 @@
|
|||||||
syntax = "proto3";
|
syntax = "proto3";
|
||||||
|
|
||||||
package tensorflow;
|
package tensorflow;
|
||||||
|
|
||||||
option cc_enable_arenas = true;
|
option cc_enable_arenas = true;
|
||||||
option java_outer_classname = "QueueRunnerProtos";
|
option java_outer_classname = "QueueRunnerProtos";
|
||||||
option java_multiple_files = true;
|
option java_multiple_files = true;
|
||||||
option java_package = "org.tensorflow.framework";
|
option java_package = "org.tensorflow.framework";
|
||||||
|
|
||||||
option go_package = "github.com/tensorflow/tensorflow/tensorflow/go/core/protobuf";
|
option go_package = "github.com/tensorflow/tensorflow/tensorflow/go/core/protobuf";
|
||||||
import "tensorflow/core/lib/core/error_codes.proto";
|
import "tensorflow/core/protobuf/error_codes.proto";
|
||||||
|
|
||||||
// Protocol buffer representing a QueueRunner.
|
// Protocol buffer representing a QueueRunner.
|
||||||
message QueueRunnerDef {
|
message QueueRunnerDef {
|
||||||
|
@ -31,9 +31,9 @@ import "tensorflow/core/framework/step_stats.proto";
|
|||||||
import "tensorflow/core/framework/tensor.proto";
|
import "tensorflow/core/framework/tensor.proto";
|
||||||
import "tensorflow/core/framework/tensor_shape.proto";
|
import "tensorflow/core/framework/tensor_shape.proto";
|
||||||
import "tensorflow/core/framework/types.proto";
|
import "tensorflow/core/framework/types.proto";
|
||||||
import "tensorflow/core/lib/core/error_codes.proto";
|
|
||||||
import "tensorflow/core/protobuf/config.proto";
|
import "tensorflow/core/protobuf/config.proto";
|
||||||
import "tensorflow/core/protobuf/debug.proto";
|
import "tensorflow/core/protobuf/debug.proto";
|
||||||
|
import "tensorflow/core/protobuf/error_codes.proto";
|
||||||
import "tensorflow/core/protobuf/named_tensor.proto";
|
import "tensorflow/core/protobuf/named_tensor.proto";
|
||||||
import "tensorflow/core/protobuf/tensorflow_server.proto";
|
import "tensorflow/core/protobuf/tensorflow_server.proto";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user