Open3D (C++ API)  0.18.0+252c867
Arange.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // - Open3D: www.open3d.org -
3 // ----------------------------------------------------------------------------
4 // Copyright (c) 2018-2023 www.open3d.org
5 // SPDX-License-Identifier: MIT
6 // ----------------------------------------------------------------------------
7 
8 #pragma once
9 
10 #include "open3d/core/Tensor.h"
11 
12 namespace open3d {
13 namespace core {
14 namespace kernel {
15 
16 Tensor Arange(const Tensor& start, const Tensor& stop, const Tensor& step);
17 
18 void ArangeCPU(const Tensor& start,
19  const Tensor& stop,
20  const Tensor& step,
21  Tensor& dst);
22 
23 #ifdef BUILD_CUDA_MODULE
24 void ArangeCUDA(const Tensor& start,
25  const Tensor& stop,
26  const Tensor& step,
27  Tensor& dst);
28 #endif
29 
30 } // namespace kernel
31 } // namespace core
32 } // namespace open3d
void ArangeCPU(const Tensor &start, const Tensor &stop, const Tensor &step, Tensor &dst)
Definition: ArangeCPU.cpp:17
Tensor Arange(const Tensor &start, const Tensor &stop, const Tensor &step)
Definition: Arange.cpp:17
Definition: PinholeCameraIntrinsic.cpp:16