CPU

data class CPU(useBFCArenaAllocator: Boolean) : ExecutionProvider

Default CPU execution provider. Available on all platforms.

See also

OrtProvider.CPU

Parameters

useBFCArenaAllocator

If true, the CPU provider will use BFC arena allocator.

Constructors

CPU
Link copied to clipboard
common
fun CPU(useBFCArenaAllocator: Boolean = true)

Functions

addOptionsTo
Link copied to clipboard
common
open override fun addOptionsTo(sessionOptions: <ERROR CLASS>)

Adds execution provider options to the OrtSession.SessionOptions.

Properties

internalProviderId
Link copied to clipboard
common
val internalProviderId: <ERROR CLASS>
useBFCArenaAllocator
Link copied to clipboard
common
val useBFCArenaAllocator: Boolean = true