Paddle icon indicating copy to clipboard operation
Paddle copied to clipboard

[Operator] add zeros_like op

Open zhoukunsheng opened this issue 7 years ago • 2 comments

zeros_like returns a tensor which has identical shape and dtype with input variable.

zhoukunsheng avatar Mar 27 '19 11:03 zhoukunsheng

@zhoukunsheng I hope to add ones_like as well.

yeyupiaoling avatar Mar 28 '19 01:03 yeyupiaoling

yes, we will support ones_like later.

zhoukunsheng avatar Mar 28 '19 02:03 zhoukunsheng