ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
TensorCheck.cpp File Reference
#include "cloudViewer/core/TensorCheck.h"
#include <Helper.h>
#include <Logging.h>
#include <string>
#include "cloudViewer/core/Device.h"
#include "cloudViewer/core/Dtype.h"
#include "cloudViewer/core/Tensor.h"
Include dependency graph for TensorCheck.cpp:

Go to the source code of this file.

Namespaces

 cloudViewer
 Generic file read and write utility for python interface.
 
 cloudViewer::core
 
 cloudViewer::core::tensor_check
 

Functions

void cloudViewer::core::tensor_check::AssertTensorDtype_ (const char *file, int line, const char *function, const Tensor &tensor, const Dtype &dtype)
 
void cloudViewer::core::tensor_check::AssertTensorDtypes_ (const char *file, int line, const char *function, const Tensor &tensor, const std::vector< Dtype > &dtypes)
 
void cloudViewer::core::tensor_check::AssertTensorDevice_ (const char *file, int line, const char *function, const Tensor &tensor, const Device &device)
 
void cloudViewer::core::tensor_check::AssertTensorShape_ (const char *file, int line, const char *function, const Tensor &tensor, const DynamicSizeVector &shape)