DriftCapture · interface

SamDecoderConfig

Explained in DriftCapture.

interface SamDecoderConfig
import type { SamDecoderConfig } from '@driftengine/capture';

Properties

NameTypeDescription
dimreadonlynumber
headsreadonlynumber
mlpreadonlynumber
depthreadonlynumber
downsamplereadonlynumberThe width attention between tokens and image narrows by.
masksreadonlynumberThe mask tokens: one for an unambiguous prompt and three for an ambiguous one.
iouHiddenreadonlynumber
iouDepthreadonlynumber
maskChannelsreadonlynumberThe channels a mask input is downscaled through.