Merge pull request #13186 from seiriosPlus/selected_rows_size_fix

bug fix
fix-deadlinks-in-readme
tangwei12 7 years ago committed by GitHub
commit 6bc16ff33b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1096,7 +1096,8 @@ class DistributeTranspiler(object):
self.table_name]
zero_dim = int(
math.ceil(origin_param_var.shape[0] / len(self.pserver_endpoints)))
math.ceil(origin_param_var.shape[0] / float(
len(self.pserver_endpoints))))
table_shape = list(origin_param_var.shape)
table_shape[0] = zero_dim

Loading…
Cancel
Save