TensorBufferRequirements

data class TensorBufferRequirements

Requirements for allocating a TensorBuffer.

Summary

Public constructors

TensorBufferRequirements(
    supportedTypes: IntArray,
    bufferSize: Int,
    strides: IntArray
)

Alternate constructor for creating a TensorBufferRequirements, which takes int array for supportedTypes, and strides.

TensorBufferRequirements(
    supportedTypes: List<TensorBufferType>,
    bufferSize: Int,
    strides: List<Int>
)

Public constructors

TensorBufferRequirements

TensorBufferRequirements(
    supportedTypes: IntArray,
    bufferSize: Int,
    strides: IntArray
)

Alternate constructor for creating a TensorBufferRequirements, which takes int array for supportedTypes, and strides.

TensorBufferRequirements

TensorBufferRequirements(
    supportedTypes: List<TensorBufferType>,
    bufferSize: Int,
    strides: List<Int>
)

Public properties

bufferSize

val bufferSizeInt

strides

val stridesList<Int>

supportedTypes

val supportedTypesList<TensorBufferType>