TensorBufferType

enum TensorBufferType : Enum


The type of the tensor buffer.

Summary

Public companion functions

TensorBufferType
of(type: Int)

Public functions

TensorBufferType
valueOf(value: String)

Returns the enum constant of this type with the specified name.

Array<TensorBufferType>

Returns an array containing the constants of this enum type, in the order they're declared.

Public companion functions

of

fun of(type: Int): TensorBufferType

Public functions

valueOf

fun valueOf(value: String): TensorBufferType

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.)

Throws
kotlin.IllegalArgumentException

if this enum type has no constant with the specified name

values

fun values(): Array<TensorBufferType>

Returns an array containing the constants of this enum type, in the order they're declared.

This method may be used to iterate over the constants.