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) 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 numpy as np import numpy as np
import torch import torch
......
# Copyright (c) OpenMMLab. All rights reserved.
import torch import torch
from torch import nn from torch import nn
from torch.autograd import Function from torch.autograd import Function
......
// Copyright (c) OpenMMLab. All rights reserved
#ifndef BBOX_OVERLAPS_CUDA_KERNEL_CUH #ifndef BBOX_OVERLAPS_CUDA_KERNEL_CUH
#define BBOX_OVERLAPS_CUDA_KERNEL_CUH #define BBOX_OVERLAPS_CUDA_KERNEL_CUH
......
// Copyright (c) OpenMMLab. All rights reserved
// modified from // modified from
// https://github.com/Megvii-BaseDetection/cvpods/blob/master/cvpods/layers/csrc/border_align/border_align_kernel.cu. // https://github.com/Megvii-BaseDetection/cvpods/blob/master/cvpods/layers/csrc/border_align/border_align_kernel.cu.
// the main difference: (1) use `argmax_idx` for fast computing of gradient // the main difference: (1) use `argmax_idx` for fast computing of gradient
......
// Copyright (c) OpenMMLab. All rights reserved
#ifndef CARAFE_CUDA_KERNEL_CUH #ifndef CARAFE_CUDA_KERNEL_CUH
#define CARAFE_CUDA_KERNEL_CUH #define CARAFE_CUDA_KERNEL_CUH
......
// Copyright (c) OpenMMLab. All rights reserved
#ifndef CARAFE_NAIVE_CUDA_KERNEL_CUH #ifndef CARAFE_NAIVE_CUDA_KERNEL_CUH
#define CARAFE_NAIVE_CUDA_KERNEL_CUH #define CARAFE_NAIVE_CUDA_KERNEL_CUH
......
// Copyright (c) OpenMMLab. All rights reserved
#ifndef CC_ATTENTION_CUDA_KERNEL_CUH #ifndef CC_ATTENTION_CUDA_KERNEL_CUH
#define CC_ATTENTION_CUDA_KERNEL_CUH #define CC_ATTENTION_CUDA_KERNEL_CUH
......
// Copyright (c) OpenMMLab. All rights reserved
#ifndef DEFORM_ROI_POOL_CUDA_KERNEL_CUH #ifndef DEFORM_ROI_POOL_CUDA_KERNEL_CUH
#define DEFORM_ROI_POOL_CUDA_KERNEL_CUH #define DEFORM_ROI_POOL_CUDA_KERNEL_CUH
......
// Copyright (c) OpenMMLab. All rights reserved
#ifndef MASKED_CONV2D_CUDA_KERNEL_CUH #ifndef MASKED_CONV2D_CUDA_KERNEL_CUH
#define MASKED_CONV2D_CUDA_KERNEL_CUH #define MASKED_CONV2D_CUDA_KERNEL_CUH
......
// Copyright (c) OpenMMLab. All rights reserved
#ifndef NMS_CUDA_KERNEL_CUH #ifndef NMS_CUDA_KERNEL_CUH
#define NMS_CUDA_KERNEL_CUH #define NMS_CUDA_KERNEL_CUH
......
// Copyright (c) OpenMMLab. All rights reserved
#ifndef ONNXRUNTIME_CORNER_POOL_H #ifndef ONNXRUNTIME_CORNER_POOL_H
#define ONNXRUNTIME_CORNER_POOL_H #define ONNXRUNTIME_CORNER_POOL_H
......
// Copyright (c) OpenMMLab. All rights reserved
#include "corner_pool.h" #include "corner_pool.h"
#include "../ort_mmcv_utils.h" #include "../ort_mmcv_utils.h"
......
// Copyright (c) OpenMMLab. All rights reserved
#include <cmath> #include <cmath>
#include "../ort_mmcv_utils.h" #include "../ort_mmcv_utils.h"
......
// Copyright (c) OpenMMLab. All rights reserved
#include "nms.h" #include "nms.h"
#include <assert.h> #include <assert.h>
......
// Copyright (c) OpenMMLab. All rights reserved
#include "onnxruntime_register.h" #include "onnxruntime_register.h"
#include "corner_pool.h" #include "corner_pool.h"
......
// Copyright (c) OpenMMLab. All rights reserved
#include "reduce_ops.h" #include "reduce_ops.h"
#include <assert.h> #include <assert.h>
......
// Copyright (c) OpenMMLab. All rights reserved
#include "roi_align.h" #include "roi_align.h"
#include "../ort_mmcv_utils.h" #include "../ort_mmcv_utils.h"
......
// Copyright (c) OpenMMLab. All rights reserved
#include "soft_nms.h" #include "soft_nms.h"
#include <assert.h> #include <assert.h>
......
// Copyright (c) OpenMMLab. All rights reserved
#ifndef ONNXRUNTIME_GRIDSAMPLE_H #ifndef ONNXRUNTIME_GRIDSAMPLE_H
#define ONNXRUNTIME_GRIDSAMPLE_H #define ONNXRUNTIME_GRIDSAMPLE_H
......
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