Alibaba Group Holding Limited
Efficient in-memory representation of computation graph for fast serialization and comparison

Last updated:

Abstract:

Embodiments of the present disclosure introduce an offset-based representation for a computation graph of a neural network model. In this representation, the edges in the graph are implemented as offsets to the base address of the graph when the model is loaded into memory rather than pointers to address locations in memory. By replacing the pointer fields with offsets, the model in memory is no longer dependent on the allocation of memory. This overcomes the limitations of performance and/or power that is critical for comparing two models and copying a model to another memory location in latency sensitive applications and in mobile environments.

Status:
Grant
Type:

Utility

Filling date:

11 Jun 2018

Issue date:

21 Sep 2021