74 Tensor
Concatenate(
const std::vector<Tensor>& tensors,
75 const utility::optional<int64_t>& axis = 0);
109 Tensor
Append(
const Tensor&
self,
121 Tensor
Maximum(
const Tensor& input,
const Tensor& other);
131 Tensor
Minimum(
const Tensor& input,
const Tensor& other);
constexpr nullopt_t nullopt
Definition: Optional.h:171
Tensor Append(const Tensor &self, const Tensor &other, const utility::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:137
Tensor Concatenate(const std::vector< Tensor > &tensors, const utility::optional< int64_t > &axis)
Concatenates the list of tensors in their order, along the given axis into a new tensor. All the tensors must have same data-type, device, and number of dimensions. All dimensions must be the same, except the dimension along the axis the tensors are to be concatenated. Using Concatenate for a single tensor, the tensor is split along its first dimension (length), and concatenated along the axis.
Definition: TensorFunction.cpp:98
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:143
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:155
Definition: PinholeCameraIntrinsic.cpp:35