ONE - On-device Neural Engine
Loading...
Searching...
No Matches
onert::exec::IOMinMaxHash Struct Reference

#include <MinMaxMap.h>

Public Member Functions

size_t operator() (const std::tuple< ir::ModelIndex, ir::SubgraphIndex, ir::IOIndex > &k) const noexcept
 

Detailed Description

Definition at line 51 of file MinMaxMap.h.

Member Function Documentation

◆ operator()()

size_t onert::exec::IOMinMaxHash::operator() ( const std::tuple< ir::ModelIndex, ir::SubgraphIndex, ir::IOIndex > &  k) const
inlinenoexcept

Definition at line 54 of file MinMaxMap.h.

55 {
56 return std::hash<ir::ModelIndex>()(std::get<ir::ModelIndex>(k)) ^
57 std::hash<ir::SubgraphIndex>()(std::get<ir::SubgraphIndex>(k)) ^
58 std::hash<ir::IOIndex>()(std::get<ir::IOIndex>(k));
59 }

The documentation for this struct was generated from the following file: