Skip to content

Commit

Permalink
fixed bugs in conv3d_transpose_5_func.py (#2996)
Browse files Browse the repository at this point in the history
  • Loading branch information
cubehan3 authored Nov 26, 2024
1 parent 1c95e07 commit 4e8aced
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def forward(self, x, ):

paddle.seed(33)
np.random.seed(33)
out = paddle.nn.functional.conv3d_transpose(x, weight=paddle.to_tensor(-1 + (1 - -1) * np.random.random([3, 1, 3, 3, 3]).astype('float32'), dtype='float32', stop_gradient=False), stride=1, padding=[1, 0, 2], output_padding=0, dilation=1, groups=3, data_format='NDHWC', )
out = paddle.nn.functional.conv3d_transpose(x, weight=paddle.to_tensor(-1 + (1 - -1) * np.random.random([3, 1, 3, 3, 3]).astype('float32'), dtype='float32', stop_gradient=False), stride=1, padding=[1, 0, 1], output_padding=0, dilation=1, groups=3, data_format='NDHWC', )
return out


Expand Down

0 comments on commit 4e8aced

Please sign in to comment.