jiangjiajun commented on code in PR #14826:
URL: https://github.com/apache/tvm/pull/14826#discussion_r1191923136
##########
tests/python/frontend/paddlepaddle/test_forward.py:
##########
@@ -2302,5 +2302,112 @@ def forward(self, x, y):
verify_model(Dist(), input_data=[y, v])
[email protected]_gpu
+def test_forward_affine_channel():
+ class AffineChannel(nn.Layer):
+ def __init__(self):
+ super(AffineChannel, self).__init__()
+
+ @paddle.jit.to_static
+ def forward(self, inputs, scale, bias):
+ return paddle.fluid.layers.affine_channel(inputs, scale, bias)
+
Review Comment:
`fluid.layers.xxx` is deprecated, and will be removed in next version,
please use other api, or just remove this operator
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]