Unverified Commit 0a52ae6f authored by Ningxin Zheng's avatar Ningxin Zheng Committed by GitHub
Browse files

support flatten (#4628)

parent 68ca6f21
......@@ -41,7 +41,8 @@ replace_module = {
'Dropout3d': lambda module, masks: no_replace(module, masks),
'Upsample': lambda module, masks: no_replace(module, masks),
'LayerNorm': lambda module, masks: replace_layernorm(module, masks),
'ConvTranspose2d': lambda module, masks: replace_convtranspose2d(module, masks)
'ConvTranspose2d': lambda module, masks: replace_convtranspose2d(module, masks),
'Flatten': lambda module, masks: no_replace(module, masks)
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment