20 lines
445 B
C++
20 lines
445 B
C++
|
#define TORCH_ASSERT_NO_OPERATORS
|
||
|
|
||
|
#include <ATen/native/DispatchStub.h>
|
||
|
#include <ATen/TensorIterator.h>
|
||
|
#include <ATen/TensorMeta.h>
|
||
|
|
||
|
namespace at {
|
||
|
|
||
|
// NB: this is explicitly copied here (via codegen) rather than
|
||
|
// included via NativeFunctions.h to avoid recompiling this file when
|
||
|
// NativeFunctions.h changes
|
||
|
namespace meta {
|
||
|
${meta_declaration}
|
||
|
}
|
||
|
|
||
|
namespace native {
|
||
|
${native_declaration}
|
||
|
${native_definitions}
|
||
|
}} // namespace at::native
|