DriftCapture · function

mobileSamDecoder

embedding and prompt, [tokens, dim] — absent when tokens is zero — and mask when refine is set, to masks, [4, 4·grid, 4·grid], and quality, [1, 4].

Explained in DriftCapture.

function mobileSamDecoder(config: MobileSamConfig, tokens: number, refine?: boolean): Architecture
import { mobileSamDecoder } from '@driftengine/capture';

Parameters

ParameterTypeDescription
configMobileSamConfig
tokensnumber
refine?boolean