Skip to content
Commit 6b5f674a authored by Matthew Bentham's avatar Matthew Bentham Committed by TeresaARM
Browse files

Change the semantics of RefTensorHandle::Import to 'overlay' existing memory



This makes it possible to call Import on an Allocated() or memory-managed Tensor,
which is needed for the current implementation of OptimizerOptions::m_ExportEnabled
to work (as the last layer before the OutputLayer needs to be able to Import the
user's OutputTensor, but this is done after other memory allocation).

Signed-off-by: Matthew Bentham's avatarMatthew Bentham <matthew.bentham@arm.com>
Change-Id: I1a885c2da7b1f0f3964ae53b8135b5e96a66614f
parent da6bf9e2
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