Skip to content

Commit 1ec10ef

Browse files
committed
Update on "[executorch][flat_tensor] flat tensor header"
Parse a FlatTensor header. The FlatTensor header contains: - flatbuffer offset - flatbuffer size - segment base offset - segment data size (total size of all segments) Mostly taken from extended_header.cpp/.h Differential Revision: [D67064570](https://our.internmc.facebook.com/intern/diff/D67064570/) [ghstack-poisoned]
2 parents 4fa2719 + 9767dd0 commit 1ec10ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extension/flat_tensor/test/flat_tensor_header_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class FlatTensorHeaderTest : public ::testing::Test {
3434
* this test data must change too. The layout of the header is a contract, not
3535
* an implementation detail.
3636
*/
37-
// clang-format off
37+
// clang-format off
3838
// @lint-ignore CLANGTIDY facebook-hte-CArray
3939
constexpr char kExampleHeaderData[] = {
4040
// Magic bytes

0 commit comments

Comments
 (0)