Skip to content

Commit

Permalink
fix nits
Browse files Browse the repository at this point in the history
  • Loading branch information
mingmingtasd committed Sep 19, 2024
1 parent c277175 commit 1a314e9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Status TileOpBuilder::AddToModelBuilderImpl(ModelBuilder& model_builder,
const auto size = repetitions_initializer.dims()[0];
TensorShapeVector repetitions_data{raw_repetitions_data, raw_repetitions_data + size};
emscripten::val input = model_builder.GetOperand(input_defs[0]->Name());
std::vector<int32_t> repetitions;
std::vector<uint32_t> repetitions;
std::transform(repetitions_data.cbegin(), repetitions_data.cend(),
std::back_inserter(repetitions),
[](int64_t repetition) -> uint32_t { return SafeInt<uint32_t>(repetition); });
Expand Down

0 comments on commit 1a314e9

Please sign in to comment.