-
Notifications
You must be signed in to change notification settings - Fork 0
/
onnxruntime_add_int64_uin64_support.patch
24 lines (22 loc) · 1.24 KB
/
onnxruntime_add_int64_uin64_support.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
diff -ruN Pods/onnxruntime-objc/objectivec-old/include/ort_enums.h Pods/onnxruntime-objc/objectivec/include/ort_enums.h
--- Pods/onnxruntime-objc/objectivec-old/include/ort_enums.h 2023-01-24 22:48:41
+++ Pods/onnxruntime-objc/objectivec/include/ort_enums.h 2023-01-23 23:45:50
@@ -36,6 +36,8 @@
ORTTensorElementDataTypeUInt8,
ORTTensorElementDataTypeInt32,
ORTTensorElementDataTypeUInt32,
+ ORTTensorElementDataTypeInt64,
+ ORTTensorElementDataTypeUInt64,
};
/**
diff -ruN Pods/onnxruntime-objc/objectivec-old/src/ort_enums.mm Pods/onnxruntime-objc/objectivec/src/ort_enums.mm
--- Pods/onnxruntime-objc/objectivec-old/src/ort_enums.mm 2023-01-24 22:49:28
+++ Pods/onnxruntime-objc/objectivec/src/ort_enums.mm 2023-01-23 23:45:50
@@ -51,6 +51,8 @@
{ORTTensorElementDataTypeUInt8, ONNX_TENSOR_ELEMENT_DATA_TYPE_UINT8, sizeof(uint8_t)},
{ORTTensorElementDataTypeInt32, ONNX_TENSOR_ELEMENT_DATA_TYPE_INT32, sizeof(int32_t)},
{ORTTensorElementDataTypeUInt32, ONNX_TENSOR_ELEMENT_DATA_TYPE_UINT32, sizeof(uint32_t)},
+ {ORTTensorElementDataTypeInt64, ONNX_TENSOR_ELEMENT_DATA_TYPE_INT64, sizeof(int64_t)},
+ {ORTTensorElementDataTypeUInt64, ONNX_TENSOR_ELEMENT_DATA_TYPE_UINT64, sizeof(uint64_t)},
};
struct GraphOptimizationLevelInfo {