Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
skottmckay committed Jul 21, 2024
1 parent 5396974 commit 1c3ec54
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ Status SliceOpBuilder::AddToModelBuilderImpl(ModelBuilder& model_builder, const
// We convert any int64 model input to int32 when running the CoreML model for the partition.
// Any other integer data created at runtime is the output from CoreML operations, and should int32 not int64.
// Based on that, we assume that the actual input when running will be int32, so we override the output data
// type to reflect this.
// type to reflect this.
// If we were to leave it as TensorProto_DataType_INT64 the CoreML model would be invalid.
std::optional<int32_t> output_datatype;

Expand Down

0 comments on commit 1c3ec54

Please sign in to comment.