Rename tensorflow namespace

This commit is contained in:
George Mironov 2018-09-12 15:08:56 +03:00 committed by Alexander Alekhin
parent f4b9acb4db
commit cb5da8983f
9 changed files with 9 additions and 8 deletions

View File

@ -1,6 +1,6 @@
syntax = "proto3";
package tensorflow;
package opencv_tensorflow;
option cc_enable_arenas = true;
option java_outer_classname = "AttrValueProtos";
option java_multiple_files = true;

View File

@ -1,6 +1,6 @@
syntax = "proto3";
package tensorflow;
package opencv_tensorflow;
option cc_enable_arenas = true;
option java_outer_classname = "FunctionProtos";
option java_multiple_files = true;

View File

@ -1,6 +1,6 @@
syntax = "proto3";
package tensorflow;
package opencv_tensorflow;
option cc_enable_arenas = true;
option java_outer_classname = "GraphProtos";
option java_multiple_files = true;

View File

@ -1,6 +1,6 @@
syntax = "proto3";
package tensorflow;
package opencv_tensorflow;
option cc_enable_arenas = true;
option java_outer_classname = "OpDefProtos";
option java_multiple_files = true;

View File

@ -1,6 +1,6 @@
syntax = "proto3";
package tensorflow;
package opencv_tensorflow;
option cc_enable_arenas = true;
option java_outer_classname = "TensorProtos";
option java_multiple_files = true;

View File

@ -6,7 +6,7 @@ option java_outer_classname = "TensorShapeProtos";
option java_multiple_files = true;
option java_package = "org.tensorflow.framework";
package tensorflow;
package opencv_tensorflow;
// Dimensions of a tensor.
message TensorShapeProto {

View File

@ -26,6 +26,7 @@ Declaration of various functions which are related to Tensorflow models reading.
#pragma GCC diagnostic pop
#endif
namespace tensorflow { using namespace opencv_tensorflow; }
namespace cv {
namespace dnn {

View File

@ -1,6 +1,6 @@
syntax = "proto3";
package tensorflow;
package opencv_tensorflow;
option cc_enable_arenas = true;
option java_outer_classname = "TypesProtos";
option java_multiple_files = true;

View File

@ -1,6 +1,6 @@
syntax = "proto3";
package tensorflow;
package opencv_tensorflow;
option cc_enable_arenas = true;
option java_outer_classname = "VersionsProtos";
option java_multiple_files = true;