Skip to content
TensorStore
tensorstore.array
Initializing search
    tensorstore
    tensorstore
      • Tutorial
      • Indexing
      • API reference
        • Core
        • Indexing
        • Spec
        • Views
          • Fcast(store)
          • Fcast(spec)
          • Farray
            • Parameters
              • parray
              • pdtype
              • pcontext
          • Foverlay
          • Fstack
          • Fconcat
          • Fdownsample(store)
          • Fdownsample(spec)
          • Virtual views
        • Data types
        • Asynchronous support
        • Experimental
      • Building and Installing
      • Environment variables
      • JSON Spec
      • Index space
      • Schema
      • Context framework
      • Drivers
      • Key-Value Storage Layer
    • Parameters
      • parray
      • pdtype
      • pcontext
    tensorstore.array(array: ArrayLike, dtype: dtype | None = None, context: Context = None) → TensorStore

    Returns a TensorStore that reads/writes from an in-memory array.

    Parameters:¶
    array: ArrayLike¶

    Source array.

    dtype: dtype | None = None¶

    Data type to which array will be converted.

    context: Context = None¶

    Context to use.

    Back to top
    Previous tensorstore.cast(spec)
    Next tensorstore.overlay