Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
MMCV
Commits
6e9ce183
Unverified
Commit
6e9ce183
authored
Feb 24, 2022
by
Zaida Zhou
Committed by
GitHub
Feb 24, 2022
Browse files
Add copyright pre-commit-hook (#1742)
* first commit * Add copyright pre-commit-hook
parent
0a8e67f7
Changes
119
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
20 additions
and
0 deletions
+20
-0
tests/test_cnn/test_fuse_conv_bn.py
tests/test_cnn/test_fuse_conv_bn.py
+1
-0
tests/test_cnn/test_generalized_attention.py
tests/test_cnn/test_generalized_attention.py
+1
-0
tests/test_cnn/test_hsigmoid.py
tests/test_cnn/test_hsigmoid.py
+1
-0
tests/test_cnn/test_hswish.py
tests/test_cnn/test_hswish.py
+1
-0
tests/test_cnn/test_model_registry.py
tests/test_cnn/test_model_registry.py
+1
-0
tests/test_cnn/test_non_local.py
tests/test_cnn/test_non_local.py
+1
-0
tests/test_cnn/test_revert_syncbn.py
tests/test_cnn/test_revert_syncbn.py
+1
-0
tests/test_cnn/test_scale.py
tests/test_cnn/test_scale.py
+1
-0
tests/test_cnn/test_swish.py
tests/test_cnn/test_swish.py
+1
-0
tests/test_cnn/test_transformer.py
tests/test_cnn/test_transformer.py
+1
-0
tests/test_cnn/test_wrappers.py
tests/test_cnn/test_wrappers.py
+1
-0
tests/test_fileclient.py
tests/test_fileclient.py
+1
-0
tests/test_ops/test_active_rotated_filter.py
tests/test_ops/test_active_rotated_filter.py
+1
-0
tests/test_ops/test_assign_score_withk.py
tests/test_ops/test_assign_score_withk.py
+1
-0
tests/test_ops/test_ball_query.py
tests/test_ops/test_ball_query.py
+1
-0
tests/test_ops/test_bbox.py
tests/test_ops/test_bbox.py
+1
-0
tests/test_ops/test_bilinear_grid_sample.py
tests/test_ops/test_bilinear_grid_sample.py
+1
-0
tests/test_ops/test_border_align.py
tests/test_ops/test_border_align.py
+1
-0
tests/test_ops/test_box_iou_rotated.py
tests/test_ops/test_box_iou_rotated.py
+1
-0
tests/test_ops/test_carafe.py
tests/test_ops/test_carafe.py
+1
-0
No files found.
tests/test_cnn/test_fuse_conv_bn.py
View file @
6e9ce183
# Copyright (c) OpenMMLab. All rights reserved.
import
torch
import
torch
import
torch.nn
as
nn
import
torch.nn
as
nn
...
...
tests/test_cnn/test_generalized_attention.py
View file @
6e9ce183
# Copyright (c) OpenMMLab. All rights reserved.
import
torch
import
torch
from
mmcv.cnn.bricks
import
GeneralizedAttention
from
mmcv.cnn.bricks
import
GeneralizedAttention
...
...
tests/test_cnn/test_hsigmoid.py
View file @
6e9ce183
# Copyright (c) OpenMMLab. All rights reserved.
import
pytest
import
pytest
import
torch
import
torch
...
...
tests/test_cnn/test_hswish.py
View file @
6e9ce183
# Copyright (c) OpenMMLab. All rights reserved.
import
torch
import
torch
from
torch.nn.functional
import
relu6
from
torch.nn.functional
import
relu6
...
...
tests/test_cnn/test_model_registry.py
View file @
6e9ce183
# Copyright (c) OpenMMLab. All rights reserved.
import
torch.nn
as
nn
import
torch.nn
as
nn
import
mmcv
import
mmcv
...
...
tests/test_cnn/test_non_local.py
View file @
6e9ce183
# Copyright (c) OpenMMLab. All rights reserved.
import
pytest
import
pytest
import
torch
import
torch
import
torch.nn
as
nn
import
torch.nn
as
nn
...
...
tests/test_cnn/test_revert_syncbn.py
View file @
6e9ce183
# Copyright (c) OpenMMLab. All rights reserved.
import
os
import
os
import
platform
import
platform
...
...
tests/test_cnn/test_scale.py
View file @
6e9ce183
# Copyright (c) OpenMMLab. All rights reserved.
import
torch
import
torch
from
mmcv.cnn.bricks
import
Scale
from
mmcv.cnn.bricks
import
Scale
...
...
tests/test_cnn/test_swish.py
View file @
6e9ce183
# Copyright (c) OpenMMLab. All rights reserved.
import
torch
import
torch
import
torch.nn.functional
as
F
import
torch.nn.functional
as
F
...
...
tests/test_cnn/test_transformer.py
View file @
6e9ce183
# Copyright (c) OpenMMLab. All rights reserved.
import
copy
import
copy
import
pytest
import
pytest
...
...
tests/test_cnn/test_wrappers.py
View file @
6e9ce183
# Copyright (c) OpenMMLab. All rights reserved.
from
unittest.mock
import
patch
from
unittest.mock
import
patch
import
pytest
import
pytest
...
...
tests/test_fileclient.py
View file @
6e9ce183
# Copyright (c) OpenMMLab. All rights reserved.
import
os
import
os
import
os.path
as
osp
import
os.path
as
osp
import
sys
import
sys
...
...
tests/test_ops/test_active_rotated_filter.py
View file @
6e9ce183
# Copyright (c) OpenMMLab. All rights reserved.
import
numpy
as
np
import
numpy
as
np
import
pytest
import
pytest
import
torch
import
torch
...
...
tests/test_ops/test_assign_score_withk.py
View file @
6e9ce183
# Copyright (c) OpenMMLab. All rights reserved.
import
pytest
import
pytest
import
torch
import
torch
...
...
tests/test_ops/test_ball_query.py
View file @
6e9ce183
# Copyright (c) OpenMMLab. All rights reserved.
import
pytest
import
pytest
import
torch
import
torch
...
...
tests/test_ops/test_bbox.py
View file @
6e9ce183
# Copyright (c) OpenMMLab. All rights reserved.
import
numpy
as
np
import
numpy
as
np
import
pytest
import
pytest
import
torch
import
torch
...
...
tests/test_ops/test_bilinear_grid_sample.py
View file @
6e9ce183
# Copyright (c) OpenMMLab. All rights reserved.
import
numpy
as
np
import
numpy
as
np
import
torch
import
torch
import
torch.nn.functional
as
F
import
torch.nn.functional
as
F
...
...
tests/test_ops/test_border_align.py
View file @
6e9ce183
# Copyright (c) OpenMMLab. All rights reserved.
import
copy
import
copy
import
numpy
as
np
import
numpy
as
np
...
...
tests/test_ops/test_box_iou_rotated.py
View file @
6e9ce183
# Copyright (c) OpenMMLab. All rights reserved.
import
numpy
as
np
import
numpy
as
np
import
pytest
import
pytest
import
torch
import
torch
...
...
tests/test_ops/test_carafe.py
View file @
6e9ce183
# Copyright (c) OpenMMLab. All rights reserved.
import
torch
import
torch
from
torch.autograd
import
gradcheck
from
torch.autograd
import
gradcheck
...
...
Prev
1
2
3
4
5
6
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment