Class

DescriptorRunner

DescriptorRunner provides interface to execute DNN model and access input and output buffers.

Inheritance hierarchy
Constructors
#
Parameters
Name Type Default Description
option DescriptorRunnerOptions {}
Returns
Properties
Methods
#

Run descriptor. You must call getInputViews and getOutputViews before calling this function.

Returns
Promise<void >
#

checkAvailability

checkAvailability(): boolean [descriptor_runner/descriptor_runner.ts:97]

Return true if this backend is available in this environment.

Returns
boolean