There was an error while loading. Please reload this page.
1 parent bea2f4a commit aeca5cfCopy full SHA for aeca5cf
csrc/cpu/utils.h
@@ -5,6 +5,7 @@
5
6
#define CHECK_CPU(x) AT_ASSERTM(x.device().is_cpu(), #x " must be CPU tensor")
7
#define CHECK_INPUT(x) AT_ASSERTM(x, "Input mismatch")
8
+#define CHECK_LT(low, high) AT_ASSERTM(low < high, "low must be smaller than high")
9
10
#define AT_DISPATCH_HAS_VALUE(optional_value, ...) \
11
[&] { \
0 commit comments