powered by
Assembles a ggml_functional_model from symbolic input and output nodes produced by ggml_input() and ggml_layer_*() calls.
ggml_functional_model
ggml_input()
ggml_layer_*()
ggml_model(inputs, outputs)
A ggml_functional_model object.
A ggml_tensor_node or a list of them (model inputs).
ggml_tensor_node
A ggml_tensor_node or a list of them (model outputs).
# \donttest{ x <- ggml_input(shape = 64L) out <- x |> ggml_layer_dense(10, activation = "softmax") model <- ggml_model(inputs = x, outputs = out) # }
Run the code above in your browser using DataLab