DL-Art-School/codes/models/layers/channelnorm_package/channelnorm_kernel.cuh
2020-09-19 10:07:00 -06:00

17 lines
298 B
Plaintext

#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);