megengine.Parameter.astype#

Parameter.astype(dtype)#

返回一个特定 dtype 的数据和元素数量与原Tensor相同的 Tensor 对象。