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): Architectureimport { mobileSamDecoder } from '@driftengine/capture';Parameters
| Parameter | Type | Description |
|---|---|---|
config | MobileSamConfig | |
tokens | number | |
refine? | boolean |