Skip to content

Commit a638e77

Browse files
committed
chore: remove redundant comments
1 parent 694655a commit a638e77

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

  • packages/react-native-executorch/common/rnexecutorch/host_objects

packages/react-native-executorch/common/rnexecutorch/host_objects/JsiConversions.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -187,15 +187,12 @@ getJsiValue(const std::vector<std::shared_ptr<JSTensorViewOut>> &vec,
187187
for (size_t i = 0; i < vec.size(); i++) {
188188
jsi::Object tensorObj(runtime);
189189

190-
// Convert sizes array
191190
tensorObj.setProperty(runtime, "shape",
192191
getJsiValue(vec[i]->sizes, runtime));
193192

194-
// Set scalar type
195193
tensorObj.setProperty(runtime, "scalarType",
196194
jsi::Value(static_cast<int>(vec[i]->scalarType)));
197195

198-
// Set data as ArrayBuffer
199196
jsi::ArrayBuffer arrayBuffer(runtime, vec[i]->data);
200197
tensorObj.setProperty(runtime, "data", arrayBuffer);
201198

0 commit comments

Comments
 (0)