TensorStore
tensorstore::StridedLayout<Rank, OriginKind, CKind>::num_elements
Initializing search
    tensorstore
    tensorstore
      • Tutorial
      • Indexing
      • API reference
      • API reference
        • Core
        • Indexing
        • Data types
        • Array
          • E ContainerKind
          • C ByteStridedPointer
          • C StridedLayout
            • Data members
            • Types
            • Methods
            • Constructors
            • Assignment
            • Accessors
              • F origin
              • F byte_strides
              • F shape
              • F origin_byte_offset
              • F num_elements
              • F domain
            • Indexing
            • Friend functions
            • Related Types
            • Related Constants
            • Related Functions
            • Broadcasting
          • C ElementPointer
          • C Array
          • C TransformedArray
          • Transformation
          • Iteration
        • Key-value storage
        • Downsampling
        • Utilities
      • Building and Installing
      • Environment variables
      • JSON Spec
      • Index space
      • Schema
      • Context framework
      • Drivers
      • Key-Value Storage Layer
    #include "tensorstore/strided_layout.h"
    Index tensorstore::StridedLayout<Rank, OriginKind, CKind>::
        
    num_elements() const;

    Returns the total number of elements (product of extents in shape()).