DriftCapture · function

sam21MemoryAttention

features, [dim, grid, grid], memory and its positions, [frames·grid² + pointers, memory.dim], to conditioned, [dim, grid, grid]: one graph for each count of frames and of pointer tokens a tracker holds. The host makes the memory's positions, so this graph reads the temporal table and the pointers' projection for the file to hold them.

Explained in DriftCapture.

function sam21MemoryAttention(config: Sam21Config, frames: number, pointers: number): Architecture
import { sam21MemoryAttention } from '@driftengine/capture';

Parameters

ParameterTypeDescription
configSam21Config
framesnumber
pointersnumber