tvmjs
    Preparing search index...

    Class DLDevice

    Represent a runtime context where a Tensor can reside.

    Index
    deviceId: number

    The device index.

    deviceType: number

    The device type code of the device.

    • Submit pending WebGPU commands without waiting for completion.

      Returns boolean

      Whether a command buffer was submitted.

    • Synchronize the device

      Returns Promise<void>