Skip to content

Commit

Permalink
add nn.conv2d_transpose to convert layout in TRT
Browse files Browse the repository at this point in the history
  • Loading branch information
Trevor Morris authored and trevor-m committed Sep 18, 2020
1 parent bb9a451 commit 3899bc5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/tvm/relay/tensorrt.py
Original file line number Diff line number Diff line change
Expand Up @@ -728,6 +728,7 @@ def EnableTrt(mod, params=None, trt_version=None, use_implicit_batch=True,
RemoveDropoutPass(),
transform.RemoveUnusedFunctions(),
transform.ConvertLayout({'nn.conv2d': ['NCHW', 'default'],
'nn.conv2d_transpose': ['NCHW', 'default'],
'nn.conv3d': ['NCDHW', 'default']}),
transform.FoldConstant(),
LegalizeLayoutTranformPass(),
Expand Down

0 comments on commit 3899bc5

Please sign in to comment.