Package-level declarations

Types

Link copied to clipboard

Computation mode for the Mikrograd annotation. This determines whether to use ForwardValue (INFERENCE) or BackwardValue (TRAINING).

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.FUNCTION])
annotation class DslOp(val category: String = "", val description: String = "")

Annotation for functions that are part of the SKaiNET DSL. These are typically composite operations built from primitive tensor operations.

Link copied to clipboard
annotation class InProgress(val backends: String, val owner: String = "", val issue: String = "")

Annotation to mark classes or functions as in progress for specific backends.

Link copied to clipboard
annotation class NotImplemented(val backends: String)

Annotation to mark classes or functions as not implemented for specific backends.

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.FUNCTION])
annotation class TensorOp(val mode: ComputationMode = ComputationMode.INFERENCE)

Annotation for functions that should be processed by the Mikrograd KSP processor. The processor will generate optimized code for the function based on the computation mode.