Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions extension/apple/ExecuTorch/Exported/ExecuTorchValue.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,6 @@ typedef NS_ENUM(uint32_t, ExecuTorchValueTag) {
ExecuTorchValueTagDouble,
ExecuTorchValueTagInteger,
ExecuTorchValueTagBoolean,
ExecuTorchValueTagBooleanList,
ExecuTorchValueTagDoubleList,
ExecuTorchValueTagIntegerList,
ExecuTorchValueTagTensorList,
ExecuTorchValueTagScalarList,
ExecuTorchValueTagOptionalTensorList,
} NS_SWIFT_NAME(ValueTag);

typedef NSNumber *ExecuTorchScalarValue
Expand Down Expand Up @@ -107,7 +101,7 @@ __attribute__((objc_subclassing_restricted))
*
* @return An float representing the float value.
*/
@property(nonatomic, readonly) ExecuTorchFloatValue floatValue NS_SWIFT_NAME(float);
@property(nonatomic, readonly) ExecuTorchFloatValue floatValue NS_SWIFT_NAME(float);

/**
* Returns YES if the value is of type None.
Expand Down Expand Up @@ -166,7 +160,7 @@ __attribute__((objc_subclassing_restricted))
*
* @return A BOOL indicating whether the value is a float.
*/
@property(nonatomic, readonly) BOOL isFloat;
@property(nonatomic, readonly) BOOL isFloat;

/**
* Creates an instance encapsulating a Tensor.
Expand Down
12 changes: 0 additions & 12 deletions extension/apple/ExecuTorch/Exported/ExecuTorchValue.mm
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,6 @@ static inline ExecuTorchValueTag deduceValueTag(NSNumber *number) {
return @"integer";
case ExecuTorchValueTagBoolean:
return @"boolean";
case ExecuTorchValueTagBooleanList:
return @"boolean_list";
case ExecuTorchValueTagDoubleList:
return @"double_list";
case ExecuTorchValueTagIntegerList:
return @"integer_list";
case ExecuTorchValueTagTensorList:
return @"tensor_list";
case ExecuTorchValueTagScalarList:
return @"scalar_list";
case ExecuTorchValueTagOptionalTensorList:
return @"optional_tensor_list";
}
return @"undefined";
}
Expand Down
Loading