Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions backends/vulkan/runtime/graph/Logging.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,11 @@ void ComputeGraph::print_readable() {
// Node type
std::cout << std::setw(10);
{
if (input_set.count(value_idx) > 0) {
if (input_set.contains(value_idx)) {
std::cout << "INPUT";
} else if (output_set.count(value_idx) > 0) {
} else if (output_set.contains(value_idx)) {
std::cout << "OUTPUT";
} else if (prepack_set.count(value_idx) > 0) {
} else if (prepack_set.contains(value_idx)) {
std::cout << "PREPACK";
} else {
std::cout << "";
Expand All @@ -119,7 +119,7 @@ void ComputeGraph::print_readable() {
}

std::cout << std::setw(10);
if (value_ref_to_shared_object_idx.count(value_idx) > 0) {
if (value_ref_to_shared_object_idx.contains(value_idx)) {
size_t shared_obj_idx = value_ref_to_shared_object_idx.at(value_idx);
std::cout << shared_obj_idx;
} else {
Expand Down
Loading