DL-Art-School/codes/models/layers/channelnorm_package/channelnorm_kernel.cuh

17 lines
298 B
Plaintext
Raw Normal View History

2020-09-19 16:07:00 +00:00
#pragma once
#include <ATen/ATen.h>
void channelnorm_kernel_forward(
at::Tensor& input1,
at::Tensor& output,
int norm_deg);
void channelnorm_kernel_backward(
at::Tensor& input1,
at::Tensor& output,
at::Tensor& gradOutput,
at::Tensor& gradInput1,
int norm_deg);