add unit test for inverted_residual: debug 3

pull/58/head
johnzja 2020-08-11 20:34:41 +08:00
parent db364ef26a
commit 66224e96c5
1 changed files with 0 additions and 5 deletions

View File

@ -1,6 +1,5 @@
import pytest
import torch
import torch.nn as nn
from mmseg.ops import InvertedResidual
@ -39,7 +38,3 @@ def test_inv_residual():
x = torch.rand(1, 32, 64, 64)
output = inv_module(x)
assert output.shape == (1, 32, 64, 64)