Open3D (C++ API)  0.18.0
RaggedToDenseOpKernel.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 "torch/script.h"
11 
12 template <class T>
13 torch::Tensor RaggedToDenseCPU(const torch::Tensor& values,
14  const torch::Tensor& row_splits,
15  const int64_t out_col_size,
16  const torch::Tensor& default_value);
17 
18 #ifdef BUILD_CUDA_MODULE
19 template <class T>
20 torch::Tensor RaggedToDenseCUDA(const torch::Tensor& values,
21  const torch::Tensor& row_splits,
22  const int64_t out_col_size,
23  const torch::Tensor& default_value);
24 #endif
torch::Tensor RaggedToDenseCPU(const torch::Tensor &values, const torch::Tensor &row_splits, const int64_t out_col_size, const torch::Tensor &default_value)
Definition: RaggedToDenseOpKernel.cpp:16
const char const char value recording_handle imu_sample recording_handle uint8_t size_t data_size k4a_record_configuration_t config target_format k4a_capture_t capture_handle k4a_imu_sample_t imu_sample playback_handle k4a_logging_message_cb_t void min_level device_handle k4a_imu_sample_t timeout_in_ms capture_handle capture_handle capture_handle image_handle temperature_c k4a_image_t image_handle uint8_t image_handle image_handle image_handle image_handle image_handle timestamp_usec white_balance image_handle k4a_device_configuration_t config device_handle char size_t serial_number_size bool int32_t int32_t int32_t int32_t default_value
Definition: K4aPlugin.cpp:653