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.


mlr-org/mlr3torch documentation built on April 17, 2025, 8:22 p.m.