Skip to main content

Function: computeDecoderInputSize()

computeDecoderInputSize(channels, positionalEncoding, dualGrid?, lowResChannels?): number

Four G0 taps (with positional encoding), a bilinear G1 vector, and LOD. Every feature level has its own independently trained half-resolution G1.

Parameters​

channels​

number

positionalEncoding​

boolean

dualGrid?​

boolean = false

lowResChannels?​

number = channels

Returns​

number