提交 88880d9b 编写于 作者: D dongdaxiang

fix import trainer_desc_pb2 error

test=develop
上级 0030eb2a
...@@ -39,7 +39,7 @@ message TrainerDesc { ...@@ -39,7 +39,7 @@ message TrainerDesc {
optional DataFeedDesc data_desc = 201; optional DataFeedDesc data_desc = 201;
} }
message HogwildWorkerParameter {} message HogwildWorkerParameter { repeated string skip_ops = 1; }
message DownpourWorkerParameter { message DownpourWorkerParameter {
repeated TableParameter sparse_table = 1; repeated TableParameter sparse_table = 1;
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
from proto import trainer_desc_pb2 from proto import trainer_desc_pb2 as trainer_desc_pb2
from distributed import ps_pb2 as ps_pb2 from distributed import ps_pb2 as ps_pb2
from device_worker import DeviceWorkerFactory from device_worker import DeviceWorkerFactory
from google.protobuf import text_format from google.protobuf import text_format
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册