Open3D (C++ API)
Namespaces | Functions
ShapeUtil.cpp File Reference
#include "Open3D/Core/ShapeUtil.h"
#include "Open3D/Core/SizeVector.h"
#include "Open3D/Core/Tensor.h"

Namespaces

 open3d
 
 open3d::shape_util
 

Functions

const SizeVector open3d::shape_util::ExpandFrontDims (const SizeVector &shape, int64_t ndims)
 
bool open3d::shape_util::IsCompatibleBroadcastShape (const SizeVector &l_shape, const SizeVector &r_shape)
 Returns true if two shapes are compatible for broadcasting. More...
 
SizeVector open3d::shape_util::BroadcastedShape (const SizeVector &l_shape, const SizeVector &r_shape)
 Returns the broadcasted shape of two shapes. More...
 
bool open3d::shape_util::CanBeBrocastedToShape (const SizeVector &src_shape, const SizeVector &dst_shape)
 Returns true if src_shape can be brocasted to dst_shape. More...
 
SizeVector open3d::shape_util::ReductionShape (const SizeVector &src_shape, const SizeVector &dims, bool keepdim)
 Returns the shape after reduction. More...
 
int64_t open3d::shape_util::WrapDim (int64_t dim, int64_t max_dim)
 Wrap around negative dim. More...
 
SizeVector open3d::shape_util::InferShape (SizeVector shape, int64_t num_elements)