ggml_tensor class final

n-dimensional tensor

Inheritance
Implemented types
Available extensions

Constructors

ggml_tensor()

Properties

address Pointer<T>

Available on T, provided by the StructAddress extension

The memory address of the underlying data.
no setter
backend int
getter/setter pair
buffer Pointer<ggml_backend_buffer>
getter/setter pair
data Pointer<Void>
getter/setter pair
extra Pointer<Void>
extra things e.g. for ggml-cuda.cu
getter/setter pair
grad Pointer<ggml_tensor>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
is_param bool
getter/setter pair
n_dims int
getter/setter pair
name Array<Char>
getter/setter pair
nb Array<Size>
stride in bytes: nb0 = ggml_type_size(type) nb1 = nb0 * (ne0 / ggml_blck_size(type)) + padding nbi = nbi-1 * nei-1
getter/setter pair
ne Array<Int64>
number of elements
getter/setter pair
op int
compute data
getter/setter pair
op_params Array<Int32>
op params - allocated as int32_t for alignment
getter/setter pair
padding Array<Char>
getter/setter pair
perf_cycles int
getter/setter pair
perf_runs int
performance
getter/setter pair
perf_time_us int
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
src Array<Pointer<ggml_tensor>>
getter/setter pair
type int
getter/setter pair
view_offs int
getter/setter pair
view_src Pointer<ggml_tensor>
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited