Learn R Programming

ggmlR (version 0.6.1)

ggml_sqr_inplace: Square In-place (Graph)

Description

Creates a graph node for in-place element-wise square: x^2

Usage

ggml_sqr_inplace(ctx, a)

Value

View of tensor a with squared values

Arguments

ctx

GGML context

a

Input tensor (will be modified in-place)