You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.1 KiB
55 lines
1.1 KiB
#if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
|
|
#pragma once
|
|
|
|
#include <c10/core/ScalarType.h>
|
|
|
|
namespace at::native {
|
|
|
|
void Unfold3dCopyCPU(
|
|
ScalarType dtype,
|
|
const void *src,
|
|
int64_t C,
|
|
int64_t X_D,
|
|
int64_t X_H,
|
|
int64_t X_W,
|
|
int64_t Y_D,
|
|
int64_t Y_H,
|
|
int64_t Y_W,
|
|
int64_t kernel_d,
|
|
int64_t kernel_h,
|
|
int64_t kernel_w,
|
|
int64_t stride_d,
|
|
int64_t stride_h,
|
|
int64_t stride_w,
|
|
int64_t pad_d,
|
|
int64_t pad_h,
|
|
int64_t pad_w,
|
|
void* dst);
|
|
|
|
void Unfold3dAccCPU(
|
|
ScalarType dtype,
|
|
const void *src,
|
|
int64_t C,
|
|
int64_t X_D,
|
|
int64_t X_H,
|
|
int64_t X_W,
|
|
int64_t Y_D,
|
|
int64_t Y_H,
|
|
int64_t Y_W,
|
|
int64_t kernel_d,
|
|
int64_t kernel_h,
|
|
int64_t kernel_w,
|
|
int64_t stride_d,
|
|
int64_t stride_h,
|
|
int64_t stride_w,
|
|
int64_t pad_d,
|
|
int64_t pad_h,
|
|
int64_t pad_w,
|
|
void *dst);
|
|
|
|
} // namespace at::native
|
|
|
|
#else
|
|
#error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined."
|
|
#endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
|