Skip to content

Commit

Permalink
fix matmul_v2 (PaddlePaddle#896)
Browse files Browse the repository at this point in the history
  • Loading branch information
ceci3 committed Sep 15, 2021
1 parent b3d82cb commit 5ec362f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions paddleslim/nas/ofa/get_sub_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,18 @@

DYNAMIC_WEIGHT_OP = [
'conv2d', 'mul', 'matmul', 'embedding', 'conv2d_transpose',
'depthwise_conv2d'
'depthwise_conv2d', 'matmul_v2'
]

CONV_TYPES = [
'conv2d', 'conv3d', 'conv1d', 'superconv2d', 'supergroupconv2d',
'superdepthwiseconv2d'
'superdepthwiseconv2d', 'matmul_v2'
]

ALL_WEIGHT_OP = [
'conv2d', 'mul', 'matmul', 'elementwise_add', 'embedding',
'conv2d_transpose', 'depthwise_conv2d', 'batch_norm', 'layer_norm',
'instance_norm', 'sync_batch_norm'
'instance_norm', 'sync_batch_norm', 'matmul_v2'
]


Expand Down

0 comments on commit 5ec362f

Please sign in to comment.