![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
#include <Logging.h>#include "cloudViewer/core/Dispatch.h"#include "cloudViewer/core/SizeVector.h"

Go to the source code of this file.
Namespaces | |
| cloudViewer | |
| Generic file read and write utility for python interface. | |
| cloudViewer::core | |
| cloudViewer::core::shape_util | |
Functions | |
| bool | cloudViewer::core::shape_util::IsCompatibleBroadcastShape (const SizeVector &l_shape, const SizeVector &r_shape) |
| Returns true if two shapes are compatible for broadcasting. More... | |
| SizeVector | cloudViewer::core::shape_util::BroadcastedShape (const SizeVector &l_shape, const SizeVector &r_shape) |
| Returns the broadcasted shape of two shapes. More... | |
| bool | cloudViewer::core::shape_util::CanBeBrocastedToShape (const SizeVector &src_shape, const SizeVector &dst_shape) |
Returns true if src_shape can be brocasted to dst_shape. More... | |
| SizeVector | cloudViewer::core::shape_util::ReductionShape (const SizeVector &src_shape, const SizeVector &dims, bool keepdim) |
| Returns the shape after reduction. More... | |
| int64_t | cloudViewer::core::shape_util::WrapDim (int64_t dim, int64_t max_dim, bool inclusive=false) |
Wrap around negative dim. More... | |
| SizeVector | cloudViewer::core::shape_util::InferShape (SizeVector shape, int64_t num_elements) |
| SizeVector | cloudViewer::core::shape_util::Concat (const SizeVector &l_shape, const SizeVector &r_shape) |
| Concatenate two shapes. More... | |
| SizeVector | cloudViewer::core::shape_util::Iota (int64_t n) |
| Returns a SizeVector of {0, 1, ..., n - 1}, similar to std::iota. More... | |
| SizeVector | cloudViewer::core::shape_util::DefaultStrides (const SizeVector &shape) |
| Compute default strides for a shape when a tensor is contiguous. More... | |
| std::pair< bool, SizeVector > | cloudViewer::core::shape_util::Restride (const SizeVector &old_shape, const SizeVector &old_strides, const SizeVector &new_shape) |