Skip to content

Commit

Permalink
Revert exposing convNormActivation in ops (#5472) (#5474)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdsgomes authored Feb 24, 2022
1 parent 211a442 commit 9648e07
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion docs/source/ops.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,4 @@ Operators
FeaturePyramidNetwork
StochasticDepth
FrozenBatchNorm2d
ConvNormActivation
SqueezeExcitation
2 changes: 1 addition & 1 deletion torchvision/models/optical_flow/raft.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from torch import Tensor
from torch.nn.modules.batchnorm import BatchNorm2d
from torch.nn.modules.instancenorm import InstanceNorm2d
from torchvision.ops import ConvNormActivation
from torchvision.ops.misc import ConvNormActivation

from ..._internally_replaced_utils import load_state_dict_from_url
from ...utils import _log_api_usage_once
Expand Down
3 changes: 1 addition & 2 deletions torchvision/ops/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from .feature_pyramid_network import FeaturePyramidNetwork
from .focal_loss import sigmoid_focal_loss
from .giou_loss import generalized_box_iou_loss
from .misc import FrozenBatchNorm2d, ConvNormActivation, SqueezeExcitation
from .misc import FrozenBatchNorm2d, SqueezeExcitation
from .poolers import MultiScaleRoIAlign
from .ps_roi_align import ps_roi_align, PSRoIAlign
from .ps_roi_pool import ps_roi_pool, PSRoIPool
Expand Down Expand Up @@ -51,7 +51,6 @@
"stochastic_depth",
"StochasticDepth",
"FrozenBatchNorm2d",
"ConvNormActivation",
"SqueezeExcitation",
"generalized_box_iou_loss",
]

0 comments on commit 9648e07

Please sign in to comment.