[Frontend][Paddle] [PaddlePaddle Hackathon 4]add attribute support for gaussian_random/softplus/Conv3d/Conv2d#14801
Conversation
[Frontend][Paddle] [PaddlePaddle Hackathon 4]
|
Thanks for contributing to TVM! Please refer to the contributing guidelines https://tvm.apache.org/docs/contribute/ for useful information and tips. Please request code reviews from Reviewers by @-ing them in a comment.
Generated by tvm-bot |
| if x*beta <= threshold: | ||
| out = _op.log(_op.exp(x * beta) + _expr.const(1.0, dtype=dtype)) / beta | ||
| else: | ||
| out=x |
There was a problem hiding this comment.
Please add test for this attribute
| input_data=input_data, | ||
| ) | ||
| verify_model(Conv3D(stride=2, padding="SAME", dilation=2, groups=3), input_data=input_data) | ||
| verify_model(Conv3D2(stride=2, padding="SAME", dilation=2, groups=3, data_layout='NHWC'), input_data=input_data) |
add test for softplus fix test for Conv3d
|
Hi, @junrushao, Could you help to merge this PR? |
|
Hi @jiangjiajun, I am happy to but seems that the linter fails at the moment. Please ping me after the PR passes CI :-) |
check lint
check lint
check lint
check lint
check lint
check lint
check lint
|
@jiangjiajun Done. |
1.module 'paddle.nn.functional' has no attribute 'Softplus',change 'Softplus' to 'softplus' 2.test_forward_conv3d and test_forward_conv2d __init__() got an unexpected keyword argument 'data_layout',change 'data_layout' to 'data_format' 3.test_forward_gaussian_random verify_model() got an unexpected keyword argument 'shape',change 'shape' to 'input_data'
fix gpu CI error
fix gpu CI error
|
…r gaussian_random/softplus/Conv3d/Conv2d (apache#14801) * [Frontend][Paddle] [PaddlePaddle Hackathon 4] * Update test_forward.py * Update test_forward.py add test for softplus fix test for Conv3d * Update paddlepaddle.py check lint * Update test_forward.py check lint * Update paddlepaddle.py check lint * Update test_forward.py check lint * Update test_forward.py check lint * Update test_forward.py check lint * Update test_forward.py back * Update test_forward.py check lint * Update test_forward.py lint * trigger check again * fix gpu CI error 1.module 'paddle.nn.functional' has no attribute 'Softplus',change 'Softplus' to 'softplus' 2.test_forward_conv3d and test_forward_conv2d __init__() got an unexpected keyword argument 'data_layout',change 'data_layout' to 'data_format' 3.test_forward_gaussian_random verify_model() got an unexpected keyword argument 'shape',change 'shape' to 'input_data' * fix gpu CI error * fix softplus AssertionError * fix gpu CI error * fix gpu CI error * fix the "dtype" error of gaussian_random * fix gpu CI error of input_data of test_forward_gaussian_random * Update test_forward.py for gaussian_random CI * Update test_forward.py delete test_forward_gaussian_random
add dtype attribute for gaussian_random op.
add threshold attribute for softplus op.
add data_format attribute for Conv3d/Conv2d op.