Interface

BackendAvailability

Result structure of WebDNN.getBackendAvailability

Inheritance hierarchy
  • BackendAvailability
Properties
# defaultOrder: BackendName[] [webdnn.ts:93]

Default backend order WebDNN try to use

Examples

WebDNN.getBackendAvailability().defaultOrder
>>> ['webassembly', 'webgl', 'fallback']
# status: object [webdnn.ts:81]

Whether each backend is available or not.

Example

WebDNN.getBackendAvailability().status
>>> {
  'webgpu': false,
  'webassembly': true,
  'webgl': true,
  'fallback': true
}