File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
extension/apple/ExecuTorch/Exported Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change 10
10
11
11
NS_ASSUME_NONNULL_BEGIN
12
12
13
+ /* *
14
+ * Enum to define the dynamic type of a Value.
15
+ * Values can be a subset, but must numerically match exactly those defined in
16
+ * runtime/core/tag.h
17
+ */
18
+ typedef NS_ENUM (uint32_t , ExecuTorchValueTag) {
19
+ ExecuTorchValueTagNone,
20
+ ExecuTorchValueTagTensor,
21
+ ExecuTorchValueTagString,
22
+ ExecuTorchValueTagDouble,
23
+ ExecuTorchValueTagInteger,
24
+ ExecuTorchValueTagBoolean,
25
+ ExecuTorchValueTagBooleanList,
26
+ ExecuTorchValueTagDoubleList,
27
+ ExecuTorchValueTagIntegerList,
28
+ ExecuTorchValueTagTensorList,
29
+ ExecuTorchValueTagScalarList,
30
+ ExecuTorchValueTagOptionalTensorList,
31
+ } NS_SWIFT_NAME(ValueTag);
32
+
13
33
NS_SWIFT_NAME (Value)
14
34
__attribute__((deprecated(" This API is experimental." )))
15
35
@interface ExecuTorchValue : NSObject
You can’t perform that action at this time.
0 commit comments