Skip to content
Commit 6fa0bbad authored by Jacob Bohlin's avatar Jacob Bohlin
Browse files

MLBEDSW-10776 Don't serialize intermediates vector if empty



Most operations do not have any intermediate tensors. In this case there
is no need to create a vector in the flatbuffer file as even empty vectors
contain a 4 byte length header. With this patch the intermediates vector
is only created if any intermediate tensors are present.

Change-Id: I505ebe8c17a577eee2361050d18715207555409d
Signed-off-by: Jacob Bohlin's avatarJacob Bohlin <jacob.bohlin@arm.com>
parent 5c42e8cc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment