74 Tensor
Concatenate(
const std::vector<Tensor>& tensors,
75 const utility::optional<int64_t>& axis = 0);
109 Tensor
Append(
const Tensor&
self,
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:135
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 concatinated. Using Concatenate for a single tensor, the tensor is split along its first dimension (length), and concatenated along the axis.
Definition: TensorFunction.cpp:96
Definition: PinholeCameraIntrinsic.cpp:35