VoidOpsTensor

class VoidOpsTensor<T : DType, V>(val data: TensorData<T, V>, val dtype: KClass<T>, val gradState: GradState<T, V> = GradState()) : Tensor<T, V> (source)

Simple tensor implementation with void Ops as default for the DSL

Constructors

Link copied to clipboard
constructor(data: TensorData<T, V>, dtype: KClass<T>, gradState: GradState<T, V> = GradState())

Properties

Link copied to clipboard
open override val data: TensorData<T, V>

The data component responsible for storage, indexing, and memory management.

Link copied to clipboard
open override val dtype: KClass<T>

The data type descriptor defining the numerical precision and value representation.

Link copied to clipboard
open override val gradState: GradState<T, V>

Gradient state tied to this tensor instance.

Link copied to clipboard
open override val ops: TensorOps

The operations component responsible for computational algorithms and transformations.