17 lines
298 B
Plaintext
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);
|