nn_merge_cat: Concatenates multiple tensors

nn_merge_catR Documentation

Concatenates multiple tensors

Description

Concatenates multiple tensors on a given dimension. No broadcasting rules are applied here, you must reshape the tensors before to have the same shape.

Usage

nn_merge_cat(dim = -1)

Arguments

dim

(integer(1))
The dimension for the concatenation.


mlr3torch documentation built on April 4, 2025, 3:03 a.m.