Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DLDevice

Represent a runtime context where a NDArray can reside.

Hierarchy

  • DLDevice

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

deviceId

deviceId: number

The device index.

deviceType

deviceType: number

The device type code of the device.

Methods

sync

  • sync(): Promise<void>
  • Synchronize the device

    Returns Promise<void>

toString

  • toString(): string

Generated using TypeDoc