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
#include "pytorch_cpp_helper.hpp" #include "pytorch_cpp_helper.hpp"
#ifdef MMCV_WITH_CUDA #ifdef MMCV_WITH_CUDA
......
// Copyright (c) OpenMMLab. All rights reserved
#include "pytorch_cuda_helper.hpp" #include "pytorch_cuda_helper.hpp"
#include "sigmoid_focal_loss_cuda_kernel.cuh" #include "sigmoid_focal_loss_cuda_kernel.cuh"
#include "softmax_focal_loss_cuda_kernel.cuh" #include "softmax_focal_loss_cuda_kernel.cuh"
......
// Copyright (c) OpenMMLab. All rights reserved
#include <parrots/compute/aten.hpp> #include <parrots/compute/aten.hpp>
#include <parrots/extension.hpp> #include <parrots/extension.hpp>
#include <parrots/foundation/ssattrs.hpp> #include <parrots/foundation/ssattrs.hpp>
......
// Copyright (c) OpenMMLab. All rights reserved
#ifndef FOCAL_LOSS_PYTORCH_H #ifndef FOCAL_LOSS_PYTORCH_H
#define FOCAL_LOSS_PYTORCH_H #define FOCAL_LOSS_PYTORCH_H
#include <torch/extension.h> #include <torch/extension.h>
......
// Copyright (c) OpenMMLab. All rights reserved
// Modified from // Modified from
// from // from
// https://github.com/rosinality/stylegan2-pytorch/blob/master/op/fused_bias_act.cpp // https://github.com/rosinality/stylegan2-pytorch/blob/master/op/fused_bias_act.cpp
......
// Copyright (c) OpenMMLab. All rights reserved
#include <torch/extension.h> #include <torch/extension.h>
#include <parrots/compute/aten.hpp> #include <parrots/compute/aten.hpp>
......
// Copyright (c) OpenMMLab. All rights reserved
#include "pytorch_cpp_helper.hpp" #include "pytorch_cpp_helper.hpp"
#ifdef MMCV_WITH_CUDA #ifdef MMCV_WITH_CUDA
......
// Copyright (c) OpenMMLab. All rights reserved
#include "masked_conv2d_cuda_kernel.cuh" #include "masked_conv2d_cuda_kernel.cuh"
#include "pytorch_cuda_helper.hpp" #include "pytorch_cuda_helper.hpp"
......
// Copyright (c) OpenMMLab. All rights reserved
#include <parrots/compute/aten.hpp> #include <parrots/compute/aten.hpp>
#include <parrots/extension.hpp> #include <parrots/extension.hpp>
#include <parrots/foundation/ssattrs.hpp> #include <parrots/foundation/ssattrs.hpp>
......
// Copyright (c) OpenMMLab. All rights reserved
#ifndef MASKED_CONV2D_PYTORCH_H #ifndef MASKED_CONV2D_PYTORCH_H
#define MASKED_CONV2D_PYTORCH_H #define MASKED_CONV2D_PYTORCH_H
#include <torch/extension.h> #include <torch/extension.h>
......
// Copyright (c) OpenMMLab. All rights reserved
#include "pytorch_cpp_helper.hpp" #include "pytorch_cpp_helper.hpp"
#ifdef MMCV_WITH_CUDA #ifdef MMCV_WITH_CUDA
......
// Copyright (c) OpenMMLab. All rights reserved
#include "modulated_deform_conv_cuda_kernel.cuh" #include "modulated_deform_conv_cuda_kernel.cuh"
#include "pytorch_cuda_helper.hpp" #include "pytorch_cuda_helper.hpp"
......
// Copyright (c) OpenMMLab. All rights reserved
#include <parrots/compute/aten.hpp> #include <parrots/compute/aten.hpp>
#include <parrots/extension.hpp> #include <parrots/extension.hpp>
#include <parrots/foundation/ssattrs.hpp> #include <parrots/foundation/ssattrs.hpp>
......
// Copyright (c) OpenMMLab. All rights reserved
#ifndef MODULATED_DEFORM_CONV_PYTORCH_H #ifndef MODULATED_DEFORM_CONV_PYTORCH_H
#define MODULATED_DEFORM_CONV_PYTORCH_H #define MODULATED_DEFORM_CONV_PYTORCH_H
#include <torch/extension.h> #include <torch/extension.h>
......
// Copyright (c) OpenMMLab. All rights reserved
#include <torch/extension.h> #include <torch/extension.h>
#include <parrots/compute/aten.hpp> #include <parrots/compute/aten.hpp>
......
// Copyright (c) OpenMMLab. All rights reserved
#include "pytorch_cpp_helper.hpp" #include "pytorch_cpp_helper.hpp"
#ifdef MMCV_WITH_CUDA #ifdef MMCV_WITH_CUDA
......
// Copyright (c) OpenMMLab. All rights reserved
#include "nms_cuda_kernel.cuh" #include "nms_cuda_kernel.cuh"
#include "pytorch_cuda_helper.hpp" #include "pytorch_cuda_helper.hpp"
......
// Copyright (c) OpenMMLab. All rights reserved
#include <parrots/compute/aten.hpp> #include <parrots/compute/aten.hpp>
#include <parrots/extension.hpp> #include <parrots/extension.hpp>
#include <parrots/foundation/ssattrs.hpp> #include <parrots/foundation/ssattrs.hpp>
......
// Copyright (c) OpenMMLab. All rights reserved
#ifndef NMS_PYTORCH_H #ifndef NMS_PYTORCH_H
#define NMS_PYTORCH_H #define NMS_PYTORCH_H
#include <torch/extension.h> #include <torch/extension.h>
......
// Copyright (c) OpenMMLab. All rights reserved
// Modified from // Modified from
// https://github.com/hszhao/semseg/blob/master/lib/psa/src // https://github.com/hszhao/semseg/blob/master/lib/psa/src
#include "pytorch_cpp_helper.hpp" #include "pytorch_cpp_helper.hpp"
......
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