Package-level declarations
Types
Basic math operations for graph-based execution
Convolutional operations
Contract for providing adjoint (backward) rules for differentiable operations. This interface is generated based on @Diff annotations in TensorOps.
A generic operation that can be used when a specialized operation class is not available.
Input tensor operation for graph representation
Generated tracing wrapper for TensorOps. This class delegates all method calls to the base implementation while emitting OpTrace events to capture the computation graph.
Linear algebra operations
Pooling operations
Optimized matrix multiplication for quantized weight formats (Q8_0, Q4_K).
Activation functions
Shape operations
Additional shape operations
Optimized matrix multiplication for BitNet-style ternary weights.
Interpolation modes for 2D upsampling.
Result of graph validation
Functions
Extension function for Q4_K matmul.
Extension function for Q8_0 matmul.
Extension function for convenient ternary matmul. Use this when you know the weight is ternary-quantized.