nn_build_reshape: Build reshape forward pass (sequential API)

View source: R/nn_layers.R

nn_build_reshapeR Documentation

Build reshape forward pass (sequential API)

Description

Build reshape forward pass (sequential API)

Usage

nn_build_reshape(ctx, input_tensor, layer)

Value

A ggml_tensor viewing the input under the new shape.


ggmlR documentation built on Oct. 23, 2026, 1:07 a.m.