EncodeEstimateDepthOptions
Defined in: packages/runntime/src/zoo/tasks/cv/depthEstimation.ts:61
The options every encode
Extends
Section titled “Extends”Properties
Section titled “Properties”encoder?
Section titled “encoder?”
readonlyoptionalencoder?:GpuEncoder
Defined in: packages/runntime/src/zoo/tasks/gpu.ts:38
Records into this encoder, and the caller finishes and submits it, before disposing the runner. It must not have an open pass. Default: a new encoder, submitted before the method returns.
Inherited from
Section titled “Inherited from”normalize?
Section titled “normalize?”
readonlyoptionalnormalize?:"none"|"minmax"
Defined in: packages/runntime/src/zoo/tasks/cv/depthEstimation.ts:67
Texture targets only. minmax maps each map to [0, 1], nearest = 0.
Default none: the raw values, which an unorm format clamps.
source
Section titled “source”
readonlysource:GpuImage|GpuTensor<DepthInput>
Defined in: packages/runntime/src/zoo/tasks/gpu.ts:33
Inherited from
Section titled “Inherited from”target
Section titled “target”
readonlytarget:GpuImageTarget|GpuTensor<DepthMapData>
Defined in: packages/runntime/src/zoo/tasks/gpu.ts:34