modify all proto used in inference with RUNTIME_LITE, delete Unnecessary proto druning inference process

revert-4814-Add_sequence_project_op
xzl 7 years ago
parent 3a68955ff0
commit bc9d8b5ea8

@ -1,4 +1,10 @@
file(GLOB proto_filenames . *.proto)
if (MOBILE_INFERENCE)
file(GLOB proto_filenames . ModelConfig.proto ParameterConfig.proto
TrainerConfig.proto DataConfig.proto)
else()
file(GLOB proto_filenames . *.proto)
endif()
include_directories(${CMAKE_CURRENT_BINARY_DIR})
proto_library(paddle_proto SRCS ${proto_filenames})

@ -13,6 +13,8 @@ See the License for the specific language governing permissions and
limitations under the License. */
syntax = "proto2";
option optimize_for = LITE_RUNTIME;
package paddle;
message FileGroupConf {

@ -13,6 +13,7 @@ See the License for the specific language governing permissions and
limitations under the License. */
syntax = "proto2";
option optimize_for = LITE_RUNTIME;
import "ParameterConfig.proto";
package paddle;

@ -13,6 +13,8 @@ See the License for the specific language governing permissions and
limitations under the License. */
syntax = "proto2";
option optimize_for = LITE_RUNTIME;
package paddle;
/**

@ -13,6 +13,8 @@ See the License for the specific language governing permissions and
limitations under the License. */
syntax = "proto2";
option optimize_for = LITE_RUNTIME;
import "ParameterConfig.proto";
import "TrainerConfig.proto";

@ -13,6 +13,8 @@ See the License for the specific language governing permissions and
limitations under the License. */
syntax = "proto2";
option optimize_for = LITE_RUNTIME;
import "DataConfig.proto";
import "ModelConfig.proto";

Loading…
Cancel
Save