DriftCapture · interface
SamDecoderConfig
Explained in DriftCapture.
interface SamDecoderConfigimport type { SamDecoderConfig } from '@driftengine/capture';Properties
| Name | Type | Description |
|---|---|---|
dimreadonly | number | |
headsreadonly | number | |
mlpreadonly | number | |
depthreadonly | number | |
downsamplereadonly | number | The width attention between tokens and image narrows by. |
masksreadonly | number | The mask tokens: one for an unambiguous prompt and three for an ambiguous one. |
iouHiddenreadonly | number | |
iouDepthreadonly | number | |
maskChannelsreadonly | number | The channels a mask input is downscaled through. |