ggml_get_unary_op: Get Unary Operation from Tensor

View source: R/operations.R

ggml_get_unary_opR Documentation

Get Unary Operation from Tensor

Description

Returns the unary operation type for a unary operation tensor.

Usage

ggml_get_unary_op(tensor)

Arguments

tensor

Tensor pointer (must be a unary operation result)

Value

Integer unary operation type

See Also

Other op_info: ggml_op_desc(), ggml_op_name(), ggml_op_symbol(), ggml_unary_op_name()


ggmlR documentation built on July 14, 2026, 1:08 a.m.