diff options
author | Kevin Cheng <kevin.cheng@arm.com> | 2021-06-17 15:57:08 -0700 |
---|---|---|
committer | Kevin Cheng <kevin.cheng@arm.com> | 2021-06-24 10:48:46 -0700 |
commit | 3bb1bc1189bfa14670d2f7839d708f443f5b5942 (patch) | |
tree | ad0f72f278e0029c67d671cdbbe1d874230fba20 /schema | |
parent | a8b4eafda31fe41b99a46c09c131ac7295382570 (diff) | |
download | serialization_lib-3bb1bc1189bfa14670d2f7839d708f443f5b5942.tar.gz |
Constant data is embedded in flatbuffer as u8 array instead of saving out as separate numpy files now.
Change-Id: I9d757ee3bdc637595732b06c5319d1dc957eaf96
Diffstat (limited to 'schema')
-rw-r--r-- | schema/tosa.fbs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/schema/tosa.fbs b/schema/tosa.fbs index d64a50c..9c8add8 100644 --- a/schema/tosa.fbs +++ b/schema/tosa.fbs @@ -276,10 +276,10 @@ table Version { } table TosaTensor { - name:string; // name of the tensor, used for solving dependency - shape:[int32]; // shape of the tensor - type:DType; // data type of the tensor - npy_filename: string; // numpy array filename + name:string; // name of the tensor, used for solving dependency + shape:[int32]; // shape of the tensor + type:DType; // data type of the tensor + data: [ubyte] (force_align: 8); // raw data array if it's a constant tensor. } table TosaOperator { |