ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
TensorInit.h File Reference
#include <initializer_list>
#include <utility>
#include "cloudViewer/core/SizeVector.h"
Include dependency graph for TensorInit.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  cloudViewer::core::tensor_init::NestedInitializerImpl< T, D >
 
struct  cloudViewer::core::tensor_init::NestedInitializerImpl< T, 0 >
 
struct  cloudViewer::core::tensor_init::InitializerDim< L >
 
struct  cloudViewer::core::tensor_init::InitializerDim< std::initializer_list< L > >
 
struct  cloudViewer::core::tensor_init::InitializerShapeImpl< D >
 
struct  cloudViewer::core::tensor_init::InitializerShapeImpl< 0 >
 

Namespaces

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

Typedefs

template<typename T , size_t D>
using cloudViewer::core::tensor_init::NestedInitializerList = typename NestedInitializerImpl< T, D >::type
 

Functions

template<typename L , size_t... D>
SizeVector cloudViewer::core::tensor_init::InitializerShape (const L &list, std::index_sequence< D... >)
 
template<typename L >
SizeVector cloudViewer::core::tensor_init::InferShape (const L &list)
 
template<typename T , typename L >
void cloudViewer::core::tensor_init::NestedCopy (T &&iter, const L &list)
 
template<typename T , typename L >
void cloudViewer::core::tensor_init::NestedCopy (T &&iter, const std::initializer_list< L > &list)
 
template<typename T , size_t D>
std::vector< T > cloudViewer::core::tensor_init::ToFlatVector (const SizeVector &shape, const tensor_init::NestedInitializerList< T, D > &nested_list)