mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-06-27 03:11:28 +00:00
* Add minimal build option to build.py Group some of the build settings so binary size reduction options are all together Make some cmake variable naming more consistent Replace usage of std::hash with murmurhash3 for kernel. std::hash is implementation dependent so can't be used. Add initial doco and ONNX to ORT model conversion script Misc cleanups of minimal build breaks.
16 lines
471 B
C++
16 lines
471 B
C++
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// Licensed under the MIT License.
|
|
|
|
#pragma once
|
|
|
|
#include <cstdint>
|
|
|
|
namespace onnxruntime {
|
|
struct MurmurHash3 {
|
|
// generate 32-bit hash from input and write to 'out'
|
|
static void x86_32(const void* key, int len, uint32_t seed, void* out);
|
|
|
|
// generate 128-bit hash from input and write to 'out'.
|
|
static void x86_128(const void* key, int len, uint32_t seed, void* out);
|
|
};
|
|
} // namespace onnxruntime
|