Skip to content

Commit ece9498

Browse files
committed
Update on "Add named data map merge"
Add merge functionality to named_data_map interface and flat_tensor_data_map. pte_data_map does not implement merge. Differential Revision: [D76351013](https://our.internmc.facebook.com/intern/diff/D76351013/) [ghstack-poisoned]
2 parents cb423c4 + 23ff06c commit ece9498

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

extension/flat_tensor/flat_tensor_data_map.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,18 @@
88

99
#pragma once
1010

11-
#include <executorch/runtime/core/named_data_map.h>
12-
1311
#include <executorch/extension/flat_tensor/serialize/flat_tensor_header.h>
1412

13+
#include <executorch/runtime/core/named_data_map.h>
1514
#include <executorch/runtime/core/data_loader.h>
1615
#include <executorch/runtime/core/exec_aten/exec_aten.h>
1716
#include <executorch/runtime/core/result.h>
1817
#include <executorch/runtime/core/tensor_layout.h>
1918
#include <executorch/runtime/platform/compiler.h>
2019

20+
#include <unordered_map>
2121
#include <utility>
22+
#include <vector>
2223

2324
// Forward declare flatbuffer types. This is a public header and must not
2425
// include the generated flatbuffer header.

0 commit comments

Comments
 (0)