1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
| // Copyright (c) Microsoft Corporation. All rights reserved.
| // Licensed under the MIT License.
|
| #pragma once
|
| #include <cstdint>
| #include <cstddef>
|
| namespace onnxruntime {
| struct MurmurHash3 {
| // generate 32-bit hash from input and write to 'out'
| static void x86_32(const void* key, size_t len, uint32_t seed, void* out);
|
| // generate 128-bit hash from input and write to 'out'.
| static void x86_128(const void* key, size_t len, uint32_t seed, void* out);
| };
| } // namespace onnxruntime
|
|