Skip to main content

//clika-runtime/io.clika.runtime/InterpMode

InterpMode

[common]
enum InterpMode : Enum<InterpMode>

Resampling mode for ops::interpolate (rank dispatch picks the spatial variant: Linear covers linear/bilinear/trilinear by input rank).

Entries​

NEAREST[common]
NEAREST
LINEAR[common]
LINEAR
BICUBIC[common]
BICUBIC
AREA[common]
AREA
NEAREST_EXACT[common]
NEAREST_EXACT

Types​

NameSummary
Companion[common]
object Companion

Properties​

NameSummary
code[common]
val code: Int
name[common]
val name: String
ordinal[common]
val ordinal: Int

Functions​

NameSummary
valueOf[common]
fun valueOf(value: String): InterpMode
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
values[common]
fun values(): Array<InterpMode>
Returns an array containing the constants of this enum type, in the order they're declared.