Unverified Commit c47c9196 authored by Jerry Jiarui XU's avatar Jerry Jiarui XU Committed by GitHub
Browse files

[Docs] Add header for files (#1181)

* [Docs] Add header for files

* change to OpenMMLab

* add headers for .cpp, .cu, .h, .cuh

* replace Open-MMLab with OpenMMLab
parent 04daea42
Copyright (c) Open-MMLab. All rights reserved. Copyright (c) OpenMMLab. All rights reserved
Apache License Apache License
Version 2.0, January 2004 Version 2.0, January 2004
......
# Copyright (c) Open-MMLab. All rights reserved. # Copyright (c) OpenMMLab. All rights reserved.
# flake8: noqa # flake8: noqa
from .arraymisc import * from .arraymisc import *
from .fileio import * from .fileio import *
......
# Copyright (c) Open-MMLab. All rights reserved. # Copyright (c) OpenMMLab. All rights reserved.
from .quantization import dequantize, quantize from .quantization import dequantize, quantize
__all__ = ['quantize', 'dequantize'] __all__ = ['quantize', 'dequantize']
# Copyright (c) Open-MMLab. All rights reserved. # Copyright (c) OpenMMLab. All rights reserved.
import numpy as np import numpy as np
......
# Copyright (c) Open-MMLab. All rights reserved. # Copyright (c) OpenMMLab. All rights reserved.
from .alexnet import AlexNet from .alexnet import AlexNet
# yapf: disable # yapf: disable
from .bricks import (ACTIVATION_LAYERS, CONV_LAYERS, NORM_LAYERS, from .bricks import (ACTIVATION_LAYERS, CONV_LAYERS, NORM_LAYERS,
......
# Copyright (c) Open-MMLab. All rights reserved. # Copyright (c) OpenMMLab. All rights reserved.
import logging import logging
import torch.nn as nn import torch.nn as nn
......
# Copyright (c) OpenMMLab. All rights reserved.
from .activation import build_activation_layer from .activation import build_activation_layer
from .context_block import ContextBlock from .context_block import ContextBlock
from .conv import build_conv_layer from .conv import build_conv_layer
......
# Copyright (c) OpenMMLab. All rights reserved.
import torch import torch
import torch.nn as nn import torch.nn as nn
import torch.nn.functional as F import torch.nn.functional as F
......
# Copyright (c) OpenMMLab. All rights reserved.
import torch import torch
from torch import nn from torch import nn
......
# Copyright (c) OpenMMLab. All rights reserved.
from torch import nn from torch import nn
from .registry import CONV_LAYERS from .registry import CONV_LAYERS
......
# Copyright (c) OpenMMLab. All rights reserved.
import math import math
from torch import nn from torch import nn
......
# Copyright (c) OpenMMLab. All rights reserved.
import warnings import warnings
import torch.nn as nn import torch.nn as nn
......
# Copyright (c) OpenMMLab. All rights reserved.
import torch import torch
import torch.nn as nn import torch.nn as nn
import torch.nn.functional as F import torch.nn.functional as F
......
# Copyright (c) OpenMMLab. All rights reserved.
import torch.nn as nn import torch.nn as nn
from .conv_module import ConvModule from .conv_module import ConvModule
......
# Copyright (c) OpenMMLab. All rights reserved.
import torch import torch
import torch.nn as nn import torch.nn as nn
......
# Copyright (c) OpenMMLab. All rights reserved.
import math import math
import numpy as np import numpy as np
......
# Copyright (c) OpenMMLab. All rights reserved.
import torch.nn as nn import torch.nn as nn
from .registry import ACTIVATION_LAYERS from .registry import ACTIVATION_LAYERS
......
# Copyright (c) OpenMMLab. All rights reserved.
import torch.nn as nn import torch.nn as nn
from .registry import ACTIVATION_LAYERS from .registry import ACTIVATION_LAYERS
......
# Copyright (c) OpenMMLab. All rights reserved.
from abc import ABCMeta from abc import ABCMeta
import torch import torch
......
# Copyright (c) OpenMMLab. All rights reserved.
import inspect import inspect
import torch.nn as nn import torch.nn as nn
......
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