add type for lsgd, test=develop (#24702)

v1.8
ShenLiang 5 years ago committed by GitHub
parent bcdeadcde9
commit a6ab43aab4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -314,7 +314,8 @@ class LocalSGD(Collective):
name=self.snapshot_name(param.name),
shape=param.shape,
persistable=True,
stop_gradient=True)
stop_gradient=True,
dtype=param.dtype)
block._insert_op(
idx + 1,

Loading…
Cancel
Save