View source: R/nn_functional.R
| ggml_layer_concatenate | R Documentation |
Concatenates two or more tensor nodes along the specified axis.
ggml_layer_concatenate(tensors, axis = 0L, name = NULL)
tensors |
A list of |
axis |
Integer axis along which to concatenate (0-based, ggml convention).
Default |
name |
Optional character name for the layer. |
A new ggml_tensor_node representing the concatenated tensor.
x <- ggml_input(shape = 32L)
y <- ggml_input(shape = 32L)
out <- ggml_layer_concatenate(list(x, y), axis = 0L)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.