21 #define AssertTensorDtype(tensor, ...) \
22 tensor_check::AssertTensorDtype_( \
23 __FILE__, __LINE__, static_cast<const char*>(OPEN3D_FUNCTION), \
32 #define AssertTensorDtypes(tensor, ...) \
33 tensor_check::AssertTensorDtypes_( \
34 __FILE__, __LINE__, static_cast<const char*>(OPEN3D_FUNCTION), \
43 #define AssertTensorDevice(tensor, ...) \
44 tensor_check::AssertTensorDevice_( \
45 __FILE__, __LINE__, static_cast<const char*>(OPEN3D_FUNCTION), \
58 #define AssertTensorShape(tensor, ...) \
59 tensor_check::AssertTensorShape_( \
60 __FILE__, __LINE__, static_cast<const char*>(OPEN3D_FUNCTION), \
65 namespace tensor_check {
77 const std::vector<Dtype>& dtypes);
83 const Device& device);
89 const DynamicSizeVector& shape);
void AssertTensorShape_(const char *file, int line, const char *function, const Tensor &tensor, const DynamicSizeVector &shape)
Definition: TensorCheck.cpp:71
void AssertTensorDtype_(const char *file, int line, const char *function, const Tensor &tensor, const Dtype &dtype)
Definition: TensorCheck.cpp:22
void AssertTensorDevice_(const char *file, int line, const char *function, const Tensor &tensor, const Device &device)
Definition: TensorCheck.cpp:57
void AssertTensorDtypes_(const char *file, int line, const char *function, const Tensor &tensor, const std::vector< Dtype > &dtypes)
Definition: TensorCheck.cpp:36
Definition: PinholeCameraIntrinsic.cpp:16