Open3D (C++ API)  0.18.0
Data Structures | Namespaces | Typedefs | Functions
TensorInit.h File Reference

(b9e049c (Sun Dec 31 11:36:26 2023 -0800))

#include <initializer_list>
#include <utility>
#include "open3d/core/SizeVector.h"

Go to the source code of this file.

Data Structures

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

Namespaces

 open3d
 
 open3d::core
 
 open3d::core::tensor_init
 

Typedefs

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

Functions

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