We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent beb72af commit b577d05Copy full SHA for b577d05
cuda/lltm_cuda.cpp
@@ -24,6 +24,7 @@ std::vector<at::Tensor> lltm_cuda_backward(
24
25
// C++ interface
26
27
+// NOTE: AT_ASSERT has become AT_CHECK on master after 0.4.
28
#define CHECK_CUDA(x) AT_ASSERT(x.type().is_cuda(), #x " must be a CUDA tensor")
29
#define CHECK_CONTIGUOUS(x) AT_ASSERT(x.is_contiguous(), #x " must be contiguous")
30
#define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
0 commit comments