TensorStore
tensorstore::Box<Rank>::shape
Initializing search
    tensorstore
    tensorstore
      • Tutorial
      • Indexing
      • API reference
      • API reference
        • Core
        • Indexing
          • TIndex
          • TDimensionIndex
          • CIndexInterval
          • COptionallyImplicitIndexInterval
          • CIndexDomainDimension
          • TInlineRank
          • CRankConstraint
          • CBox
            • Data members
            • Types
            • Constructors
            • Methods
            • Accessors
              • Forigin
              • Fshape
              • Fnum_elements
              • Fis_empty
            • Assignment
            • Friend functions
            • Related Functions
            • Related Constants
            • Related Types
          • TDimensionSet
          • CIndexDomain
          • CIndexTransform
          • VIsIndexArray
          • CDimExpression
          • Alignment
        • Data types
        • Array
        • Key-value storage
        • Downsampling
        • Utilities
      • Building and Installing
      • Environment variables
      • JSON Spec
      • Index space
      • Schema
      • Context framework
      • Drivers
      • Key-Value Storage Layer
    #include "tensorstore/box.h"
    span<const Index, static_rank> tensorstore::Box<Rank>::shape() const;
    span<Index, static_rank> tensorstore::Box<Rank>::shape();

    Returns the shape array of length rank().

    Back to top
    Previous tensorstore::Box<Rank>::origin
    Next tensorstore::Box<Rank>::num_elements