Created by: zhiqiu
PR types
Others
PR changes
APIs
Describe
Refine initializer to support not passing block in dygraph mode
Example,
tensor = paddle.zeros([1024, 1024])
uniform_ = paddle.nn.initializer.Uniform()
uniform_(tensor)