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

#include <MinMaxMap.h>

Public Member Functions

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

Detailed Description

Definition at line 38 of file MinMaxMap.h.

Member Function Documentation

◆ operator()()

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

Definition at line 40 of file MinMaxMap.h.

42 {
43 return std::hash<ir::ModelIndex>()(std::get<ir::ModelIndex>(k)) ^
44 std::hash<ir::SubgraphIndex>()(std::get<ir::SubgraphIndex>(k)) ^
45 std::hash<ir::OperationIndex>()(std::get<ir::OperationIndex>(k));
46 }

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