summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/platform/graphics/highcontrast/highcontrast_classifier.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/platform/graphics/highcontrast/highcontrast_classifier.h')
-rw-r--r--chromium/third_party/blink/renderer/platform/graphics/highcontrast/highcontrast_classifier.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/chromium/third_party/blink/renderer/platform/graphics/highcontrast/highcontrast_classifier.h b/chromium/third_party/blink/renderer/platform/graphics/highcontrast/highcontrast_classifier.h
new file mode 100644
index 00000000000..2e649cec133
--- /dev/null
+++ b/chromium/third_party/blink/renderer/platform/graphics/highcontrast/highcontrast_classifier.h
@@ -0,0 +1,34 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef THIRD_PARTY_BLINK_RENDERER_PLATFORM_GRAPHICS_HIGHCONTRAST_HIGHCONTRAST_CLASSIFIER_H_
+#define THIRD_PARTY_BLINK_RENDERER_PLATFORM_GRAPHICS_HIGHCONTRAST_HIGHCONTRAST_CLASSIFIER_H_
+
+// This file is automatically generated using tfNative from a neural network,
+// trained by TensorFlow. Please do not edit.
+
+#include <cstdint>
+
+namespace highcontrast_tfnative_model {
+
+struct alignas(16) FixedAllocations {
+ float alloc0[10];
+ int32_t alloc0_shape[2];
+ float alloc1[10];
+ int32_t alloc1_shape[2];
+};
+
+extern int32_t input0Shape[2];
+extern int32_t logits_MatMul_merged_with_dnn_logits_BiasAdd0Shape[2];
+
+void Inference(
+ const float* __restrict input0 /* shape: 1,4 */,
+ float* __restrict logits_MatMul_merged_with_dnn_logits_BiasAdd0 /* shape:
+ 1,1 */
+ ,
+ FixedAllocations* __restrict fixed);
+
+} // namespace highcontrast_tfnative_model
+
+#endif // highcontrast_tfnative_model