Open3D (C++ API)  0.19.0
Loading...
Searching...
No Matches
TensorFunction.h
Go to the documentation of this file.
1// ----------------------------------------------------------------------------
2// - Open3D: www.open3d.org -
3// ----------------------------------------------------------------------------
4// Copyright (c) 2018-2024 www.open3d.org
5// SPDX-License-Identifier: MIT
6// ----------------------------------------------------------------------------
7
8#pragma once
9
10#include <optional>
11
12#include "open3d/core/Tensor.h"
13
14namespace open3d {
15namespace core {
16
56Tensor Concatenate(const std::vector<Tensor>& tensors,
57 const std::optional<int64_t>& axis = 0);
58
91Tensor Append(const Tensor& self,
92 const Tensor& other,
93 const std::optional<int64_t>& axis = std::nullopt);
94
103Tensor Maximum(const Tensor& input, const Tensor& other);
104
113Tensor Minimum(const Tensor& input, const Tensor& other);
114
115} // namespace core
116} // namespace open3d
Tensor Append(const Tensor &self, const Tensor &other, const std::optional< int64_t > &axis)
Appends the two tensors, along the given axis into a new tensor. Both the tensors must have same data...
Definition TensorFunction.cpp:119
Tensor Minimum(const Tensor &input, const Tensor &other)
Computes the element-wise minimum of input and other. The tensors must have same data type and device...
Definition TensorFunction.cpp:137
Tensor Concatenate(const std::vector< Tensor > &tensors, const std::optional< int64_t > &axis)
Concatenates the list of tensors in their order, along the given axis into a new tensor....
Definition TensorFunction.cpp:79
Tensor Maximum(const Tensor &input, const Tensor &other)
Computes the element-wise maximum of input and other. The tensors must have same data type and device...
Definition TensorFunction.cpp:125
Definition PinholeCameraIntrinsic.cpp:16