|
|
|
@ -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
|
|
|
|
|
|
|
|
|
|