GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • tensorstore
  • Tutorial
  • Indexing
  • API reference
  • C TensorStore
  • P rank
  • P ndim
  • P domain
  • M spec
  • P mode
  • P readable
  • P writable
  • P chunk_layout
  • P codec

This view

  • Original page
  • New address

GeezerVison is showing google.github.io — tensorstore.TensorStore.codec - TensorStore

property tensorstore.TensorStore.codec : CodecSpec | None

Data codec spec.

This may be used to create a new TensorStore with the same codec.

Equal to None if the codec is unknown or not applicable.

Example

>>> store = await ts.open(
...     {
...         'driver': 'zarr',
...         'kvstore': {
...             'driver': 'memory'
...         }
...     },
...     create=True,
...     shape=[100],
...     dtype=ts.uint32)
>>> store.codec
CodecSpec({
  'compressor': {
    'blocksize': 0,
    'clevel': 5,
    'cname': 'lz4',
    'id': 'blosc',
    'shuffle': -1,
  },
  'driver': 'zarr',
  'filters': None,
})
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.