Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions src/Interfaces/IJitCompilable.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
using AiDotNet.LinearAlgebra;

namespace AiDotNet.Interfaces;

/// <summary>
/// Marker interface for IR operations that can be JIT-compiled.
/// </summary>
/// <remarks>
/// <para>
/// This interface represents operations in the Intermediate Representation (IR) layer
/// that can be Just-In-Time compiled for optimized execution on different hardware backends.
/// </para>
/// <para>
/// IR operations serve as a bridge between high-level neural network layers and
/// low-level execution engines (CPU, GPU, TPU).
/// </para>
/// </remarks>
public interface IROp
{
// Marker interface - no methods required
// Implementations will define their own Forward/Backward signatures
}
Loading
Loading