GraphShape.from_jsonable_dict

classmethod GraphShape.from_jsonable_dict(count_shape)[source]

Deserialize GraphShape from a JSON-friendly dictionary.

Parameters:

count_shape (dict) – Dict with ‘hyper_edge_sets’ and ‘addresses’.

Returns:

Reconstructed GraphShape.

Return type:

GraphShape