exa.common.api.proto_serialization.array.unpack

Contents

exa.common.api.proto_serialization.array.unpack#

unpack(source)#

Unpacks protobuf to array. Reverse operation of pack().

Parameters:

source (Array) – A protobuf instance that encapsulates some data.

Returns:

Unpacked data.

Raises:

ValueError or google.protobuf.message.DecodeError in case of invalid buffer

Return type:

ndarray