Skip to content

Struct tguf::TGStore::IndexRange

ClassList > tguf > TGStore > IndexRange

A contiguous slice of the graph (e.g., training split).

  • #include <tguf.h>

Public Attributes

Type Name
std::size_t end_ = {0}
std::size_t start_ = {0}

Public Functions

Type Name
IndexRange () = default
IndexRange (std::size_t s, std::size_t e)
auto end () const
auto size () const
auto start () const

Public Attributes Documentation

variable end_

std::size_t tguf::TGStore::IndexRange::end_;

variable start_

std::size_t tguf::TGStore::IndexRange::start_;

Public Functions Documentation

function IndexRange [1/2]

tguf::TGStore::IndexRange::IndexRange () = default

function IndexRange [2/2]

inline tguf::TGStore::IndexRange::IndexRange (
    std::size_t s,
    std::size_t e
) 

function end

inline auto tguf::TGStore::IndexRange::end () const

function size

inline auto tguf::TGStore::IndexRange::size () const

function start

inline auto tguf::TGStore::IndexRange::start () const


The documentation for this class was generated from the following file include/tguf.h