Open3D (C++ API)  0.18.0+a4a173e
Functions
open3d::core::tensor_check Namespace Reference

Functions

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

Function Documentation

◆ AssertTensorDevice_()

void open3d::core::tensor_check::AssertTensorDevice_ ( const char *  file,
int  line,
const char *  function,
const Tensor tensor,
const Device device 
)

◆ AssertTensorDtype_()

void open3d::core::tensor_check::AssertTensorDtype_ ( const char *  file,
int  line,
const char *  function,
const Tensor tensor,
const Dtype dtype 
)

◆ AssertTensorDtypes_()

void open3d::core::tensor_check::AssertTensorDtypes_ ( const char *  file,
int  line,
const char *  function,
const Tensor tensor,
const std::vector< Dtype > &  dtypes 
)

◆ AssertTensorShape_()

void open3d::core::tensor_check::AssertTensorShape_ ( const char *  file,
int  line,
const char *  function,
const Tensor tensor,
const DynamicSizeVector shape 
)