Created by: sandyhouse
PR types
Function optimization
PR changes
APIs
Describe
Improve expand as align the implementation of paddle.expand_as to torch.expand_as. The different with the original expand_as op is that with the new one, the value of dimension to be expanded must be 1.