 |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Go to the documentation of this file.
16 namespace benchmarks {
21 const std::pair<core::Scalar, core::Scalar>& range,
23 const core::Device& device = core::Device(
"CPU:0"));
Generic file read and write utility for python interface.
Definition: CloudViewerConfig.cpp:12
int EstimateMaxThreads()
Estimate the maximum number of threads to be used in a parallel region.
Definition: Parallel.cpp:31
double random(int low, int high)
Definition: utils.cpp:55
#define DISPATCH_DTYPE_TO_TEMPLATE_WITH_BOOL(DTYPE,...)
Definition: Dispatch.h:68
CLOUDVIEWER_HOST_DEVICE void * GetPtr(int64_t workload_idx) const
Definition: Indexer.h:235
Definition: Indexer.h:222
Definition: SizeVector.h:70
core::Tensor Rand(const core::SizeVector &shape, size_t seed, const std::pair< core::Scalar, core::Scalar > &range, core::Dtype dtype, const core::Device &device)
Returns a Tensor with random values within the range range .
Definition: Rand.cpp:23
static Tensor Empty(const SizeVector &shape, Dtype dtype, const Device &device=Device("CPU:0"))
Create a tensor with uninitialized values.
Definition: Tensor.cpp:400
void ParallelFor(const Device &device, int64_t n, const func_t &func)
Definition: ParallelFor.h:111