megengine.functional.full

full(shape, value, dtype='float32', device=None)[源代码]

返回一个给定形状和值的张量

返回类型

Tensor