TensorStore
tensorstore::StridedLayout<Rank, OriginKind, CKind>::byte_strides
Initializing search
    tensorstore
    tensorstore
      • Tutorial
      • Indexing
      • API reference
      • API reference
        • Core
        • Indexing
        • Data types
        • Array
          • EContainerKind
          • CByteStridedPointer
          • CStridedLayout
            • Data members
            • Types
            • Methods
            • Constructors
            • Assignment
            • Accessors
              • Forigin
              • Fbyte_strides
              • Fshape
              • Forigin_byte_offset
              • Fnum_elements
              • Fdomain
            • Indexing
            • Friend functions
            • Related Types
            • Related Constants
            • Related Functions
            • Broadcasting
          • CElementPointer
          • CArray
          • CTransformedArray
          • 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"
    span<const Index, RankConstraint::FromInlineRank(Rank)>
    tensorstore::StridedLayout<Rank, OriginKind, CKind>::byte_strides()
       
     const;
    span<MaybeConstIndex, RankConstraint::FromInlineRank(Rank)>
    tensorstore::StridedLayout<Rank, OriginKind, CKind>::byte_strides();

    Returns the byte strides vector of size rank().

    For the non-const overload, the returned span has non-const Index elements if container_kind == container.

    Back to top
    Previous tensorstore::StridedLayout<Rank, OriginKind, CKind>::origin
    Next tensorstore::StridedLayout<Rank, OriginKind, CKind>::shape