Skip to content

Struct tguf::TGUFSchema

ClassList > tguf > TGUFSchema

metadata defining the layout of a Temporal Graph Unified Format file.

  • #include <tguf.h>

Public Attributes

Type Name
std::size_t edge_capacity
Max number of edges.
std::size_t label_capacity
Max number of label events.
std::size_t label_dim
Fixed label target dimension.
std::size_t msg_dim
Fixed edge feature dimension.
std::size_t negatives_per_edge
Fixed number of negatives per edge.
std::size_t negatives_start_e_id
For link prediction evaluation, the e_id where pre-computed negatives begin.
std::size_t node_feat_capacity
Max nodes with static features.
std::size_t node_feat_dim
Fixed static node feature dimension.
std::string path
Path to .tguf binary.
std::optional< std::size_t > test_start = std::nullopt
Global index offset where the test split begins. Must be greater than or equal to val_start if both are provided.
std::optional< std::size_t > val_start = std::nullopt
Global index offset where the validation split begins. If std::nullopt , the dataset is treated as 100% training data unless overridden duringTGStore initialization.

Public Attributes Documentation

variable edge_capacity

Max number of edges.

std::size_t tguf::TGUFSchema::edge_capacity;

variable label_capacity

Max number of label events.

std::size_t tguf::TGUFSchema::label_capacity;

variable label_dim

Fixed label target dimension.

std::size_t tguf::TGUFSchema::label_dim;

variable msg_dim

Fixed edge feature dimension.

std::size_t tguf::TGUFSchema::msg_dim;

variable negatives_per_edge

Fixed number of negatives per edge.

std::size_t tguf::TGUFSchema::negatives_per_edge;

variable negatives_start_e_id

For link prediction evaluation, the e_id where pre-computed negatives begin.

std::size_t tguf::TGUFSchema::negatives_start_e_id;

variable node_feat_capacity

Max nodes with static features.

std::size_t tguf::TGUFSchema::node_feat_capacity;

variable node_feat_dim

Fixed static node feature dimension.

std::size_t tguf::TGUFSchema::node_feat_dim;

variable path

Path to .tguf binary.

std::string tguf::TGUFSchema::path;

variable test_start

Global index offset where the test split begins. Must be greater than or equal to val_start if both are provided.

std::optional<std::size_t> tguf::TGUFSchema::test_start;

variable val_start

Global index offset where the validation split begins. If std::nullopt , the dataset is treated as 100% training data unless overridden duringTGStore initialization.

std::optional<std::size_t> tguf::TGUFSchema::val_start;


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