Исходный код СУБД RuDB — свободной СУБД с открытым исходным кодом на базе PostgreSQL
rudb
3 days ago bd039d1e92813358c5c5a1e346b49074baf513f2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
 
#pragma once
 
namespace onnxruntime {
 
/// Options to configure how an ORT format model is loaded.
struct OrtFormatLoadOptions {
  /// If true, set initializer TensorProtos to point to memory in the flatbuffer instead of copying data.
  /// This requires the flatbuffer to remain valid for the entire duration of the InferenceSession.
  bool can_use_flatbuffer_for_initializers{true};
 
  /// Saved runtime optimizations contain graph rewrite instructions and are ignored unless explicitly trusted.
  bool ignore_saved_runtime_optimizations{true};
};
 
}  // namespace onnxruntime