diff --git a/common/proto/apis/common/types.proto b/common/proto/apis/common/types.proto
index 68aebb5..e408034 100644
--- a/common/proto/apis/common/types.proto
+++ b/common/proto/apis/common/types.proto
@@ -62,6 +62,8 @@ enum DataType {
DT_VARIANT_REF = 121;
DT_UINT32_REF = 122;
DT_UINT64_REF = 123;
+ // for containing multiple field's type in a row
+ DT_MULTI_TYPE=-2;
}
// LINT.ThenChange(
// https://www.tensorflow.org/code/tensorflow/c/c_api.h,
@@ -70,4 +72,4 @@ enum DataType {
// https://www.tensorflow.org/code/tensorflow/core/framework/types.h,
// https://www.tensorflow.org/code/tensorflow/core/framework/types.cc,
// https://www.tensorflow.org/code/tensorflow/python/framework/dtypes.py,
-// https://www.tensorflow.org/code/tensorflow/python/framework/function.py)
\ No newline at end of file
+// https://www.tensorflow.org/code/tensorflow/python/framework/function.py)
diff --git a/common/src/main/java/com/tencent/angel/config/ConfigProtos.java b/common/src/main/java/com/tencent/angel/config/ConfigProtos.java
index 2663513..e982da3 100644
--- a/common/src/main/java/com/tencent/angel/config/ConfigProtos.java
+++ b/common/src/main/java/com/tencent/angel/config/ConfigProtos.java
@@ -1,19 +1,3 @@
-/*
- * Tencent is pleased to support the open source community by making Angel available.
- *
- * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- *
- */
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: config/config.proto
diff --git a/common/src/main/java/com/tencent/angel/config/FileSystemStoragePathSourceConfigProtos.java b/common/src/main/java/com/tencent/angel/config/FileSystemStoragePathSourceConfigProtos.java
index 0515e1a..884dcb6 100644
--- a/common/src/main/java/com/tencent/angel/config/FileSystemStoragePathSourceConfigProtos.java
+++ b/common/src/main/java/com/tencent/angel/config/FileSystemStoragePathSourceConfigProtos.java
@@ -1,19 +1,3 @@
-/*
- * Tencent is pleased to support the open source community by making Angel available.
- *
- * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- *
- */
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: config/file_system_storage_path_source.proto
diff --git a/common/src/main/java/com/tencent/angel/config/LogCollectorConfigProtos.java b/common/src/main/java/com/tencent/angel/config/LogCollectorConfigProtos.java
index dfb3e60..1c085b5 100644
--- a/common/src/main/java/com/tencent/angel/config/LogCollectorConfigProtos.java
+++ b/common/src/main/java/com/tencent/angel/config/LogCollectorConfigProtos.java
@@ -1,19 +1,3 @@
-/*
- * Tencent is pleased to support the open source community by making Angel available.
- *
- * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- *
- */
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: config/log_collector_config.proto
diff --git a/common/src/main/java/com/tencent/angel/config/ModelServerConfigProtos.java b/common/src/main/java/com/tencent/angel/config/ModelServerConfigProtos.java
index 8addb5a..0a912ec 100644
--- a/common/src/main/java/com/tencent/angel/config/ModelServerConfigProtos.java
+++ b/common/src/main/java/com/tencent/angel/config/ModelServerConfigProtos.java
@@ -1,19 +1,3 @@
-/*
- * Tencent is pleased to support the open source community by making Angel available.
- *
- * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- *
- */
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: config/model_server_config.proto
diff --git a/common/src/main/java/com/tencent/angel/config/MonitoringConfigProtos.java b/common/src/main/java/com/tencent/angel/config/MonitoringConfigProtos.java
index dba2ac2..e188132 100644
--- a/common/src/main/java/com/tencent/angel/config/MonitoringConfigProtos.java
+++ b/common/src/main/java/com/tencent/angel/config/MonitoringConfigProtos.java
@@ -1,19 +1,3 @@
-/*
- * Tencent is pleased to support the open source community by making Angel available.
- *
- * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- *
- */
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: config/monitoring_config.proto
diff --git a/common/src/main/java/com/tencent/angel/config/NamedTensorProtos.java b/common/src/main/java/com/tencent/angel/config/NamedTensorProtos.java
index e766378..b30fd55 100644
--- a/common/src/main/java/com/tencent/angel/config/NamedTensorProtos.java
+++ b/common/src/main/java/com/tencent/angel/config/NamedTensorProtos.java
@@ -1,19 +1,3 @@
-/*
- * Tencent is pleased to support the open source community by making Angel available.
- *
- * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- *
- */
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: config/named_tensor.proto
diff --git a/common/src/main/java/com/tencent/angel/config/PlatformConfigProtos.java b/common/src/main/java/com/tencent/angel/config/PlatformConfigProtos.java
index 100acf5..bfc2e53 100644
--- a/common/src/main/java/com/tencent/angel/config/PlatformConfigProtos.java
+++ b/common/src/main/java/com/tencent/angel/config/PlatformConfigProtos.java
@@ -1,19 +1,3 @@
-/*
- * Tencent is pleased to support the open source community by making Angel available.
- *
- * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- *
- */
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: config/platform_config.proto
diff --git a/common/src/main/java/com/tencent/angel/config/ResourceProtos.java b/common/src/main/java/com/tencent/angel/config/ResourceProtos.java
index 105001f..bdc5d24 100644
--- a/common/src/main/java/com/tencent/angel/config/ResourceProtos.java
+++ b/common/src/main/java/com/tencent/angel/config/ResourceProtos.java
@@ -1,19 +1,3 @@
-/*
- * Tencent is pleased to support the open source community by making Angel available.
- *
- * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- *
- */
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: config/resources.proto
diff --git a/common/src/main/java/com/tencent/angel/config/SamplingConfigProtos.java b/common/src/main/java/com/tencent/angel/config/SamplingConfigProtos.java
index 4553d61..15839e4 100644
--- a/common/src/main/java/com/tencent/angel/config/SamplingConfigProtos.java
+++ b/common/src/main/java/com/tencent/angel/config/SamplingConfigProtos.java
@@ -1,19 +1,3 @@
-/*
- * Tencent is pleased to support the open source community by making Angel available.
- *
- * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- *
- */
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: config/logging_config.proto
diff --git a/common/src/main/java/com/tencent/angel/core/DebugProtos.java b/common/src/main/java/com/tencent/angel/core/DebugProtos.java
index ad74577..d2fba93 100644
--- a/common/src/main/java/com/tencent/angel/core/DebugProtos.java
+++ b/common/src/main/java/com/tencent/angel/core/DebugProtos.java
@@ -1,19 +1,3 @@
-/*
- * Tencent is pleased to support the open source community by making Angel available.
- *
- * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- *
- */
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: core/debug.proto
diff --git a/common/src/main/java/com/tencent/angel/core/LoggingProtos.java b/common/src/main/java/com/tencent/angel/core/LoggingProtos.java
index ab367de..2dfaee3 100644
--- a/common/src/main/java/com/tencent/angel/core/LoggingProtos.java
+++ b/common/src/main/java/com/tencent/angel/core/LoggingProtos.java
@@ -1,19 +1,3 @@
-/*
- * Tencent is pleased to support the open source community by making Angel available.
- *
- * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- *
- */
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: core/logging.proto
diff --git a/common/src/main/java/com/tencent/angel/core/graph/AttrValueProtos.java b/common/src/main/java/com/tencent/angel/core/graph/AttrValueProtos.java
index d53986d..efb3fac 100644
--- a/common/src/main/java/com/tencent/angel/core/graph/AttrValueProtos.java
+++ b/common/src/main/java/com/tencent/angel/core/graph/AttrValueProtos.java
@@ -1,19 +1,3 @@
-/*
- * Tencent is pleased to support the open source community by making Angel available.
- *
- * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- *
- */
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: core/graph/attr_value.proto
diff --git a/common/src/main/java/com/tencent/angel/core/graph/CostGraphProtos.java b/common/src/main/java/com/tencent/angel/core/graph/CostGraphProtos.java
index efd3a62..da958c6 100644
--- a/common/src/main/java/com/tencent/angel/core/graph/CostGraphProtos.java
+++ b/common/src/main/java/com/tencent/angel/core/graph/CostGraphProtos.java
@@ -1,19 +1,3 @@
-/*
- * Tencent is pleased to support the open source community by making Angel available.
- *
- * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- *
- */
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: core/graph/cost_graph.proto
diff --git a/common/src/main/java/com/tencent/angel/core/graph/FunctionProtos.java b/common/src/main/java/com/tencent/angel/core/graph/FunctionProtos.java
index 1024e91..20c21db 100644
--- a/common/src/main/java/com/tencent/angel/core/graph/FunctionProtos.java
+++ b/common/src/main/java/com/tencent/angel/core/graph/FunctionProtos.java
@@ -1,19 +1,3 @@
-/*
- * Tencent is pleased to support the open source community by making Angel available.
- *
- * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- *
- */
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: core/graph/function.proto
diff --git a/common/src/main/java/com/tencent/angel/core/graph/GraphProtos.java b/common/src/main/java/com/tencent/angel/core/graph/GraphProtos.java
index 1018e2c..70799f3 100644
--- a/common/src/main/java/com/tencent/angel/core/graph/GraphProtos.java
+++ b/common/src/main/java/com/tencent/angel/core/graph/GraphProtos.java
@@ -1,19 +1,3 @@
-/*
- * Tencent is pleased to support the open source community by making Angel available.
- *
- * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- *
- */
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: core/graph/graph.proto
diff --git a/common/src/main/java/com/tencent/angel/core/graph/NodeProto.java b/common/src/main/java/com/tencent/angel/core/graph/NodeProto.java
index 07dddc4..113668d 100644
--- a/common/src/main/java/com/tencent/angel/core/graph/NodeProto.java
+++ b/common/src/main/java/com/tencent/angel/core/graph/NodeProto.java
@@ -1,19 +1,3 @@
-/*
- * Tencent is pleased to support the open source community by making Angel available.
- *
- * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- *
- */
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: core/graph/node_def.proto
diff --git a/common/src/main/java/com/tencent/angel/core/graph/OpDefProtos.java b/common/src/main/java/com/tencent/angel/core/graph/OpDefProtos.java
index 250b3c5..196904a 100644
--- a/common/src/main/java/com/tencent/angel/core/graph/OpDefProtos.java
+++ b/common/src/main/java/com/tencent/angel/core/graph/OpDefProtos.java
@@ -1,19 +1,3 @@
-/*
- * Tencent is pleased to support the open source community by making Angel available.
- *
- * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- *
- */
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: core/graph/op_def.proto
diff --git a/common/src/main/java/com/tencent/angel/core/graph/ResourceHandleProtos.java b/common/src/main/java/com/tencent/angel/core/graph/ResourceHandleProtos.java
index 99966fa..e7bfda7 100644
--- a/common/src/main/java/com/tencent/angel/core/graph/ResourceHandleProtos.java
+++ b/common/src/main/java/com/tencent/angel/core/graph/ResourceHandleProtos.java
@@ -1,19 +1,3 @@
-/*
- * Tencent is pleased to support the open source community by making Angel available.
- *
- * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- *
- */
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: core/graph/resource_handle.proto
diff --git a/common/src/main/java/com/tencent/angel/core/graph/TensorProtos.java b/common/src/main/java/com/tencent/angel/core/graph/TensorProtos.java
index e55e6c3..b037d17 100644
--- a/common/src/main/java/com/tencent/angel/core/graph/TensorProtos.java
+++ b/common/src/main/java/com/tencent/angel/core/graph/TensorProtos.java
@@ -1,19 +1,3 @@
-/*
- * Tencent is pleased to support the open source community by making Angel available.
- *
- * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- *
- */
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: core/graph/tensor.proto
diff --git a/common/src/main/java/com/tencent/angel/core/graph/VersionsProtos.java b/common/src/main/java/com/tencent/angel/core/graph/VersionsProtos.java
index 4c14358..d2b67e6 100644
--- a/common/src/main/java/com/tencent/angel/core/graph/VersionsProtos.java
+++ b/common/src/main/java/com/tencent/angel/core/graph/VersionsProtos.java
@@ -1,19 +1,3 @@
-/*
- * Tencent is pleased to support the open source community by making Angel available.
- *
- * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- *
- */
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: core/graph/versions.proto
diff --git a/common/src/main/java/com/tencent/angel/core/saver/MetaGraphProtos.java b/common/src/main/java/com/tencent/angel/core/saver/MetaGraphProtos.java
index 0918bd2..4ad0e63 100644
--- a/common/src/main/java/com/tencent/angel/core/saver/MetaGraphProtos.java
+++ b/common/src/main/java/com/tencent/angel/core/saver/MetaGraphProtos.java
@@ -1,19 +1,3 @@
-/*
- * Tencent is pleased to support the open source community by making Angel available.
- *
- * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- *
- */
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: core/saver/meta_graph.proto
diff --git a/common/src/main/java/com/tencent/angel/core/saver/SavedModelProtos.java b/common/src/main/java/com/tencent/angel/core/saver/SavedModelProtos.java
index 88b846d..07598cf 100644
--- a/common/src/main/java/com/tencent/angel/core/saver/SavedModelProtos.java
+++ b/common/src/main/java/com/tencent/angel/core/saver/SavedModelProtos.java
@@ -1,19 +1,3 @@
-/*
- * Tencent is pleased to support the open source community by making Angel available.
- *
- * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- *
- */
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: core/saver/saved_model.proto
diff --git a/common/src/main/java/com/tencent/angel/core/saver/SaverProtos.java b/common/src/main/java/com/tencent/angel/core/saver/SaverProtos.java
index 619a07a..7a06ed2 100644
--- a/common/src/main/java/com/tencent/angel/core/saver/SaverProtos.java
+++ b/common/src/main/java/com/tencent/angel/core/saver/SaverProtos.java
@@ -1,19 +1,3 @@
-/*
- * Tencent is pleased to support the open source community by making Angel available.
- *
- * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- *
- */
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: core/saver/saver.proto
diff --git a/common/src/main/java/com/tencent/angel/core/stats/AllocationDescriptionProtos.java b/common/src/main/java/com/tencent/angel/core/stats/AllocationDescriptionProtos.java
index c9826e6..0731c74 100644
--- a/common/src/main/java/com/tencent/angel/core/stats/AllocationDescriptionProtos.java
+++ b/common/src/main/java/com/tencent/angel/core/stats/AllocationDescriptionProtos.java
@@ -1,19 +1,3 @@
-/*
- * Tencent is pleased to support the open source community by making Angel available.
- *
- * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- *
- */
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: core/stats/allocation_description.proto
diff --git a/common/src/main/java/com/tencent/angel/core/stats/StepStatsProtos.java b/common/src/main/java/com/tencent/angel/core/stats/StepStatsProtos.java
index 5bdec31..4ed5130 100644
--- a/common/src/main/java/com/tencent/angel/core/stats/StepStatsProtos.java
+++ b/common/src/main/java/com/tencent/angel/core/stats/StepStatsProtos.java
@@ -1,19 +1,3 @@
-/*
- * Tencent is pleased to support the open source community by making Angel available.
- *
- * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- *
- */
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: core/stats/step_stats.proto
diff --git a/common/src/main/java/com/tencent/angel/core/stats/TensorDescriptionProtos.java b/common/src/main/java/com/tencent/angel/core/stats/TensorDescriptionProtos.java
index 9b8c98c..b1498ec 100644
--- a/common/src/main/java/com/tencent/angel/core/stats/TensorDescriptionProtos.java
+++ b/common/src/main/java/com/tencent/angel/core/stats/TensorDescriptionProtos.java
@@ -1,19 +1,3 @@
-/*
- * Tencent is pleased to support the open source community by making Angel available.
- *
- * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- *
- */
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: core/stats/tensor_description.proto
diff --git a/common/src/main/java/com/tencent/angel/metrics/ServingMetricsProtos.java b/common/src/main/java/com/tencent/angel/metrics/ServingMetricsProtos.java
index 2e8d92b..4cc8416 100644
--- a/common/src/main/java/com/tencent/angel/metrics/ServingMetricsProtos.java
+++ b/common/src/main/java/com/tencent/angel/metrics/ServingMetricsProtos.java
@@ -1,19 +1,3 @@
-/*
- * Tencent is pleased to support the open source community by making Angel available.
- *
- * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- *
- */
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: metrics/serving_metrics.proto
diff --git a/common/src/main/java/com/tencent/angel/servable/SavedModelBundleSourceAdapterConfigProtos.java b/common/src/main/java/com/tencent/angel/servable/SavedModelBundleSourceAdapterConfigProtos.java
index f0ea6ed..8256435 100644
--- a/common/src/main/java/com/tencent/angel/servable/SavedModelBundleSourceAdapterConfigProtos.java
+++ b/common/src/main/java/com/tencent/angel/servable/SavedModelBundleSourceAdapterConfigProtos.java
@@ -1,19 +1,3 @@
-/*
- * Tencent is pleased to support the open source community by making Angel available.
- *
- * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- *
- */
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: servable/saved_model_bundle_source_adapter.proto
diff --git a/common/src/main/java/com/tencent/angel/servable/SessionBundleConfigProtos.java b/common/src/main/java/com/tencent/angel/servable/SessionBundleConfigProtos.java
index 2e471a6..e415254 100644
--- a/common/src/main/java/com/tencent/angel/servable/SessionBundleConfigProtos.java
+++ b/common/src/main/java/com/tencent/angel/servable/SessionBundleConfigProtos.java
@@ -1,19 +1,3 @@
-/*
- * Tencent is pleased to support the open source community by making Angel available.
- *
- * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- *
- */
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: servable/session_bundle_config.proto
diff --git a/common/src/main/java/com/tencent/angel/servable/SessionBundleSourceAdapterConfigProtos.java b/common/src/main/java/com/tencent/angel/servable/SessionBundleSourceAdapterConfigProtos.java
index fc0f6b6..a82478b 100644
--- a/common/src/main/java/com/tencent/angel/servable/SessionBundleSourceAdapterConfigProtos.java
+++ b/common/src/main/java/com/tencent/angel/servable/SessionBundleSourceAdapterConfigProtos.java
@@ -1,19 +1,3 @@
-/*
- * Tencent is pleased to support the open source community by making Angel available.
- *
- * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- *
- */
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: servable/session_bundle_source_adapter.proto
diff --git a/common/src/main/java/com/tencent/angel/serving/apis/common/ExampleProtos.java b/common/src/main/java/com/tencent/angel/serving/apis/common/ExampleProtos.java
index c20cc7e..8cf4fd6 100644
--- a/common/src/main/java/com/tencent/angel/serving/apis/common/ExampleProtos.java
+++ b/common/src/main/java/com/tencent/angel/serving/apis/common/ExampleProtos.java
@@ -1,19 +1,3 @@
-/*
- * Tencent is pleased to support the open source community by making Angel available.
- *
- * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- *
- */
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: apis/common/example.proto
diff --git a/common/src/main/java/com/tencent/angel/serving/apis/common/FeatureProtos.java b/common/src/main/java/com/tencent/angel/serving/apis/common/FeatureProtos.java
index 5b1d238..b4deeb0 100644
--- a/common/src/main/java/com/tencent/angel/serving/apis/common/FeatureProtos.java
+++ b/common/src/main/java/com/tencent/angel/serving/apis/common/FeatureProtos.java
@@ -1,19 +1,3 @@
-/*
- * Tencent is pleased to support the open source community by making Angel available.
- *
- * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- *
- */
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: apis/common/feature.proto
diff --git a/common/src/main/java/com/tencent/angel/serving/apis/common/InputProtos.java b/common/src/main/java/com/tencent/angel/serving/apis/common/InputProtos.java
index 32b0fe9..1eda3b2 100644
--- a/common/src/main/java/com/tencent/angel/serving/apis/common/InputProtos.java
+++ b/common/src/main/java/com/tencent/angel/serving/apis/common/InputProtos.java
@@ -1,19 +1,3 @@
-/*
- * Tencent is pleased to support the open source community by making Angel available.
- *
- * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- *
- */
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: apis/common/input.proto
diff --git a/common/src/main/java/com/tencent/angel/serving/apis/common/InstanceProtos.java b/common/src/main/java/com/tencent/angel/serving/apis/common/InstanceProtos.java
index 89cbe8e..2021972 100644
--- a/common/src/main/java/com/tencent/angel/serving/apis/common/InstanceProtos.java
+++ b/common/src/main/java/com/tencent/angel/serving/apis/common/InstanceProtos.java
@@ -1,19 +1,3 @@
-/*
- * Tencent is pleased to support the open source community by making Angel available.
- *
- * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- *
- */
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: apis/common/instance.proto
diff --git a/common/src/main/java/com/tencent/angel/serving/apis/common/ModelSpecProtos.java b/common/src/main/java/com/tencent/angel/serving/apis/common/ModelSpecProtos.java
index 2e656da..517c61e 100644
--- a/common/src/main/java/com/tencent/angel/serving/apis/common/ModelSpecProtos.java
+++ b/common/src/main/java/com/tencent/angel/serving/apis/common/ModelSpecProtos.java
@@ -1,19 +1,3 @@
-/*
- * Tencent is pleased to support the open source community by making Angel available.
- *
- * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- *
- */
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: apis/common/model.proto
diff --git a/common/src/main/java/com/tencent/angel/serving/apis/common/TensorShapeProtos.java b/common/src/main/java/com/tencent/angel/serving/apis/common/TensorShapeProtos.java
index dc19bb5..9aea1af 100644
--- a/common/src/main/java/com/tencent/angel/serving/apis/common/TensorShapeProtos.java
+++ b/common/src/main/java/com/tencent/angel/serving/apis/common/TensorShapeProtos.java
@@ -1,19 +1,3 @@
-/*
- * Tencent is pleased to support the open source community by making Angel available.
- *
- * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- *
- */
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: apis/common/tensor_shape.proto
diff --git a/common/src/main/java/com/tencent/angel/serving/apis/common/TypesProtos.java b/common/src/main/java/com/tencent/angel/serving/apis/common/TypesProtos.java
index 597de6c..9a67f0e 100644
--- a/common/src/main/java/com/tencent/angel/serving/apis/common/TypesProtos.java
+++ b/common/src/main/java/com/tencent/angel/serving/apis/common/TypesProtos.java
@@ -1,19 +1,3 @@
-/*
- * Tencent is pleased to support the open source community by making Angel available.
- *
- * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- *
- */
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: apis/common/types.proto
@@ -278,6 +262,14 @@ public enum DataType
* DT_UINT64_REF = 123;
*/
DT_UINT64_REF(123),
+ /**
+ *
+ * for containing multiple field's type in a row + *+ * + *
DT_MULTI_TYPE = -2;
+ */
+ DT_MULTI_TYPE(-2),
UNRECOGNIZED(-1),
;
@@ -520,6 +512,14 @@ public enum DataType
* DT_UINT64_REF = 123;
*/
public static final int DT_UINT64_REF_VALUE = 123;
+ /**
+ * + * for containing multiple field's type in a row + *+ * + *
DT_MULTI_TYPE = -2;
+ */
+ public static final int DT_MULTI_TYPE_VALUE = -2;
public final int getNumber() {
@@ -587,6 +587,7 @@ public static DataType forNumber(int value) {
case 121: return DT_VARIANT_REF;
case 122: return DT_UINT32_REF;
case 123: return DT_UINT64_REF;
+ case -2: return DT_MULTI_TYPE;
default: return null;
}
}
@@ -648,7 +649,7 @@ private DataType(int value) {
descriptor;
static {
java.lang.String[] descriptorData = {
- "\n\027apis/common/types.proto\022\005angel*\252\006\n\010Dat" +
+ "\n\027apis/common/types.proto\022\005angel*\306\006\n\010Dat" +
"aType\022\016\n\nDT_INVALID\020\000\022\014\n\010DT_FLOAT\020\001\022\r\n\tD" +
"T_DOUBLE\020\002\022\014\n\010DT_INT32\020\003\022\014\n\010DT_UINT8\020\004\022\014" +
"\n\010DT_INT16\020\005\022\013\n\007DT_INT8\020\006\022\r\n\tDT_STRING\020\007" +
@@ -669,8 +670,9 @@ private DataType(int value) {
"_REF\020u\022\025\n\021DT_COMPLEX128_REF\020v\022\017\n\013DT_HALF" +
"_REF\020w\022\023\n\017DT_RESOURCE_REF\020x\022\022\n\016DT_VARIAN" +
"T_REF\020y\022\021\n\rDT_UINT32_REF\020z\022\021\n\rDT_UINT64_" +
- "REF\020{B6\n%com.tencent.angel.serving.apis." +
- "commonB\013TypesProtosP\000b\006proto3"
+ "REF\020{\022\032\n\rDT_MULTI_TYPE\020\376\377\377\377\377\377\377\377\377\001B6\n%com" +
+ ".tencent.angel.serving.apis.commonB\013Type" +
+ "sProtosP\000b\006proto3"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
diff --git a/common/src/main/java/com/tencent/angel/serving/apis/internal/SerializedInputProtos.java b/common/src/main/java/com/tencent/angel/serving/apis/internal/SerializedInputProtos.java
index d286964..57e4ed2 100644
--- a/common/src/main/java/com/tencent/angel/serving/apis/internal/SerializedInputProtos.java
+++ b/common/src/main/java/com/tencent/angel/serving/apis/internal/SerializedInputProtos.java
@@ -1,19 +1,3 @@
-/*
- * Tencent is pleased to support the open source community by making Angel available.
- *
- * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- *
- */
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: apis/internal/serialized_input.proto
diff --git a/common/src/main/java/com/tencent/angel/serving/apis/modelmgr/ErrorCodesProtos.java b/common/src/main/java/com/tencent/angel/serving/apis/modelmgr/ErrorCodesProtos.java
index e73e959..e2c031e 100644
--- a/common/src/main/java/com/tencent/angel/serving/apis/modelmgr/ErrorCodesProtos.java
+++ b/common/src/main/java/com/tencent/angel/serving/apis/modelmgr/ErrorCodesProtos.java
@@ -1,19 +1,3 @@
-/*
- * Tencent is pleased to support the open source community by making Angel available.
- *
- * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- *
- */
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: apis/modelmgr/error_codes.proto
diff --git a/common/src/main/java/com/tencent/angel/serving/apis/modelmgr/GetModelStatusProtos.java b/common/src/main/java/com/tencent/angel/serving/apis/modelmgr/GetModelStatusProtos.java
index 91c3216..15aa538 100644
--- a/common/src/main/java/com/tencent/angel/serving/apis/modelmgr/GetModelStatusProtos.java
+++ b/common/src/main/java/com/tencent/angel/serving/apis/modelmgr/GetModelStatusProtos.java
@@ -1,19 +1,3 @@
-/*
- * Tencent is pleased to support the open source community by making Angel available.
- *
- * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- *
- */
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: apis/modelmgr/get_model_status.proto
diff --git a/common/src/main/java/com/tencent/angel/serving/apis/modelmgr/ModelManagement.java b/common/src/main/java/com/tencent/angel/serving/apis/modelmgr/ModelManagement.java
index da0bdd0..8703f7e 100644
--- a/common/src/main/java/com/tencent/angel/serving/apis/modelmgr/ModelManagement.java
+++ b/common/src/main/java/com/tencent/angel/serving/apis/modelmgr/ModelManagement.java
@@ -1,19 +1,3 @@
-/*
- * Tencent is pleased to support the open source community by making Angel available.
- *
- * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- *
- */
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: apis/modelmgr/model_management.proto
diff --git a/common/src/main/java/com/tencent/angel/serving/apis/modelmgr/ModelServiceGrpc.java b/common/src/main/java/com/tencent/angel/serving/apis/modelmgr/ModelServiceGrpc.java
index ef109b0..63893ed 100644
--- a/common/src/main/java/com/tencent/angel/serving/apis/modelmgr/ModelServiceGrpc.java
+++ b/common/src/main/java/com/tencent/angel/serving/apis/modelmgr/ModelServiceGrpc.java
@@ -1,19 +1,3 @@
-/*
- * Tencent is pleased to support the open source community by making Angel available.
- *
- * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- *
- */
package com.tencent.angel.serving.apis.modelmgr;
import static io.grpc.MethodDescriptor.generateFullMethodName;
diff --git a/common/src/main/java/com/tencent/angel/serving/apis/modelmgr/ModelServiceProtos.java b/common/src/main/java/com/tencent/angel/serving/apis/modelmgr/ModelServiceProtos.java
index 2888d47..ae8de5a 100644
--- a/common/src/main/java/com/tencent/angel/serving/apis/modelmgr/ModelServiceProtos.java
+++ b/common/src/main/java/com/tencent/angel/serving/apis/modelmgr/ModelServiceProtos.java
@@ -1,19 +1,3 @@
-/*
- * Tencent is pleased to support the open source community by making Angel available.
- *
- * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- *
- */
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: apis/modelmgr/model_service.proto
diff --git a/common/src/main/java/com/tencent/angel/serving/apis/modelmgr/StatusProtos.java b/common/src/main/java/com/tencent/angel/serving/apis/modelmgr/StatusProtos.java
index a6708cf..a8bf1bc 100644
--- a/common/src/main/java/com/tencent/angel/serving/apis/modelmgr/StatusProtos.java
+++ b/common/src/main/java/com/tencent/angel/serving/apis/modelmgr/StatusProtos.java
@@ -1,19 +1,3 @@
-/*
- * Tencent is pleased to support the open source community by making Angel available.
- *
- * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- *
- */
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: apis/modelmgr/status.proto
diff --git a/common/src/main/java/com/tencent/angel/serving/apis/prediction/GetModelMetadataProtos.java b/common/src/main/java/com/tencent/angel/serving/apis/prediction/GetModelMetadataProtos.java
index 5e21f54..98e2b55 100644
--- a/common/src/main/java/com/tencent/angel/serving/apis/prediction/GetModelMetadataProtos.java
+++ b/common/src/main/java/com/tencent/angel/serving/apis/prediction/GetModelMetadataProtos.java
@@ -1,19 +1,3 @@
-/*
- * Tencent is pleased to support the open source community by making Angel available.
- *
- * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- *
- */
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: apis/prediction/get_model_metadata.proto
diff --git a/common/src/main/java/com/tencent/angel/serving/apis/prediction/PredictionServiceGrpc.java b/common/src/main/java/com/tencent/angel/serving/apis/prediction/PredictionServiceGrpc.java
index a9e5a47..3ede4e9 100644
--- a/common/src/main/java/com/tencent/angel/serving/apis/prediction/PredictionServiceGrpc.java
+++ b/common/src/main/java/com/tencent/angel/serving/apis/prediction/PredictionServiceGrpc.java
@@ -1,19 +1,3 @@
-/*
- * Tencent is pleased to support the open source community by making Angel available.
- *
- * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- *
- */
package com.tencent.angel.serving.apis.prediction;
import static io.grpc.MethodDescriptor.generateFullMethodName;
diff --git a/common/src/main/java/com/tencent/angel/serving/apis/prediction/PredictionServiceProtos.java b/common/src/main/java/com/tencent/angel/serving/apis/prediction/PredictionServiceProtos.java
index e102b1b..9224bf4 100644
--- a/common/src/main/java/com/tencent/angel/serving/apis/prediction/PredictionServiceProtos.java
+++ b/common/src/main/java/com/tencent/angel/serving/apis/prediction/PredictionServiceProtos.java
@@ -1,19 +1,3 @@
-/*
- * Tencent is pleased to support the open source community by making Angel available.
- *
- * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- *
- */
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: apis/prediction/prediction_service.proto
diff --git a/common/src/main/java/com/tencent/angel/serving/apis/prediction/RequestProtos.java b/common/src/main/java/com/tencent/angel/serving/apis/prediction/RequestProtos.java
index bed7bee..e5619e9 100644
--- a/common/src/main/java/com/tencent/angel/serving/apis/prediction/RequestProtos.java
+++ b/common/src/main/java/com/tencent/angel/serving/apis/prediction/RequestProtos.java
@@ -1,19 +1,3 @@
-/*
- * Tencent is pleased to support the open source community by making Angel available.
- *
- * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- *
- */
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: apis/prediction/request.proto
diff --git a/common/src/main/java/com/tencent/angel/serving/apis/prediction/ResponseProtos.java b/common/src/main/java/com/tencent/angel/serving/apis/prediction/ResponseProtos.java
index d0d3429..8729b01 100644
--- a/common/src/main/java/com/tencent/angel/serving/apis/prediction/ResponseProtos.java
+++ b/common/src/main/java/com/tencent/angel/serving/apis/prediction/ResponseProtos.java
@@ -1,19 +1,3 @@
-/*
- * Tencent is pleased to support the open source community by making Angel available.
- *
- * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- *
- */
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: apis/prediction/response.proto
diff --git a/common/src/main/java/com/tencent/angel/serving/apis/session/SessionServiceGrpc.java b/common/src/main/java/com/tencent/angel/serving/apis/session/SessionServiceGrpc.java
index 3e1a043..363e049 100644
--- a/common/src/main/java/com/tencent/angel/serving/apis/session/SessionServiceGrpc.java
+++ b/common/src/main/java/com/tencent/angel/serving/apis/session/SessionServiceGrpc.java
@@ -1,19 +1,3 @@
-/*
- * Tencent is pleased to support the open source community by making Angel available.
- *
- * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- *
- */
package com.tencent.angel.serving.apis.session;
import static io.grpc.MethodDescriptor.generateFullMethodName;
diff --git a/common/src/main/java/com/tencent/angel/serving/apis/session/SessionServiceProtos.java b/common/src/main/java/com/tencent/angel/serving/apis/session/SessionServiceProtos.java
index 07533fa..347f322 100644
--- a/common/src/main/java/com/tencent/angel/serving/apis/session/SessionServiceProtos.java
+++ b/common/src/main/java/com/tencent/angel/serving/apis/session/SessionServiceProtos.java
@@ -1,19 +1,3 @@
-/*
- * Tencent is pleased to support the open source community by making Angel available.
- *
- * Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
- * compliance with the License. You may obtain a copy of the License at
- *
- * https://opensource.org/licenses/Apache-2.0
- *
- * Unless required by applicable law or agreed to in writing, software distributed under the License
- * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
- * or implied. See the License for the specific language governing permissions and limitations under
- * the License.
- *
- */
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: apis/session/session_service.proto
diff --git a/common/src/main/java/com/tencent/angel/utils/InstanceUtils.java b/common/src/main/java/com/tencent/angel/utils/InstanceUtils.java
index 199e447..aa5bb3f 100644
--- a/common/src/main/java/com/tencent/angel/utils/InstanceUtils.java
+++ b/common/src/main/java/com/tencent/angel/utils/InstanceUtils.java
@@ -23,6 +23,7 @@
import com.tencent.angel.serving.apis.common.TypesProtos.*;
import com.tencent.angel.serving.apis.common.InstanceProtos.*;
+import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
@@ -233,9 +234,29 @@ static public Vector getVector(Instance instance) {
// for string key vector
static public Map