API Reference Documentation

Top-Level Exports

Core Memory Structures

Vector

1D optimized numeric array backed by low-level flat typed buffers.

Matrix

2D structured layout utilizing explicit row-major performance mapping layouts.

Tensor

Flexible N-dimensional numeric container.

Models

Neural Engine Pipeline

Supports flexible dense multi-layer topological allocations and optimization routines.

Loss Functions

Math Utilities

Inference Engine

ModelInferenceEngine loads serialized model payloads and performs forward inference.

import { ModelInferenceEngine } from 'tensorforgejs';

const engine = new ModelInferenceEngine(modelPayload);
const output = engine.forward(inputVector);