AffineDemandFunction.from_npz¶
- classmethod AffineDemandFunction.from_npz(data, shared=None, prefix: str = '', **kwargs) paminco.net.demand.LinearDemandFunction [source]¶
Construct object from
.npz
file.- Parameters
- sharedShared
Shared object for network classes.
- datastr or NpzFile
Filename as str or NpzFile.
- prefixstr, default=””
Object data is stored with
key = (prefix + internal_name)
.
- Returns
- obj
Object.
See also
numpy.lib.npyio.NpzFile