#pragma once #include typedef std::string node_t; typedef std::tuple edge_t; typedef std::string rel_t; std::tuple neighbor_sample_cpu(const torch::Tensor &colptr, const torch::Tensor &row, const torch::Tensor &input_node, const std::vector num_neighbors, const bool replace, const bool directed); std::tuple, c10::Dict, c10::Dict, c10::Dict> hetero_neighbor_sample_cpu( const std::vector &node_types, const std::vector &edge_types, const c10::Dict &colptr_dict, const c10::Dict &row_dict, const c10::Dict &input_node_dict, const c10::Dict> &num_neighbors_dict, const int64_t num_hops, const bool replace, const bool directed);