tvmjs
    Preparing search index...

    Function hasTensorInCache

    • Function to check if NDarray is in Cache or not

      Parameters

      • tensorCacheUrl: string

        The cache url which links to the Tensor

      • cacheScope: string = "tvmjs"

        The scope identifier of the cache

      • cacheType: string = "cache"

        The type of the cache: "cache" or "indexedDB"

      Returns Promise<boolean>

      the result if the cache has Tensor