Layer.from_data

classmethod Layer.from_data(data)[source]

Construct a layer from its data representation.

Parameters:

data (dict) – The data dictionary.

Returns:

layer – The constructed layer.