MCPcopy Create free account
hub / github.com/DeepGraphLearning/graphvite / resource_info

Method resource_info

include/core/solver.h:475–486  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

473 }
474
475 virtual inline std::string resource_info() const {
476 std::stringstream ss;
477 ss << "#worker: " << num_worker << ", #sampler: " << num_sampler;
478 if (naive_parallel)
479 ss << ", naive parallel" << std::endl;
480 else
481 ss << ", #partition: " << num_partition << std::endl;
482 ss << "tied weights: " << pretty::yes_no(tied_weights) << ", episode size: " << episode_size << std::endl;
483 ss << "gpu memory limit: " << pretty::size_string(gpu_memory_limit) << std::endl;
484 ss << "gpu memory cost: " << pretty::size_string(gpu_memory_cost);
485 return ss.str();
486 }
487
488 virtual inline std::string sampling_info() const {
489 std::stringstream ss;

Callers

nothing calls this directly

Calls 2

yes_noFunction · 0.85
size_stringFunction · 0.85

Tested by

no test coverage detected