Single file drivers¶
Chunked storage drivers¶
Common options supported by all chunked storage drivers.
Specifies the rank of the TensorStore.
transformis also specified, the input rank must match. Otherwise, the rank constraint applies to the driver directly.
create: boolean =
delete_existing: boolean =
cache_pool: ContextResource =
data_copy_concurrency: ContextResource =
recheck_cached_metadata: CacheRevalidationBound =
Time after which cached metadata is assumed to be fresh. Cached metadata older than the specified time is revalidated prior to use. The metadata is used to check the bounds of every read or write operation.
truemeans that the metadata will be revalidated prior to every read or write operation. With the default value of
"open", any cached metadata is revalidated when the TensorStore is opened but is not rechecked for each read or write operation.
recheck_cached_data: CacheRevalidationBound =
Time after which cached data is assumed to be fresh. Cached data older than the specified time is revalidated prior to being returned from a read operation. Partial chunk writes are always consistent regardless of the value of this option.
The default value of
truemeans that cached data is revalidated on every read. To enable in-memory data caching, you must both specify a
cache_poolwith a non-zero
total_bytes_limitand also specify
"open", or an explicit time bound for
Determines under what circumstances cached data is revalidated.
Revalidate cached data at every operation.
Assume cached data is always fresh and never revalidate.
Revalidate cached data older than the time at which the TensorStore was opened.
Revalidate cached data older than the specified time in seconds since the unix epoch.