OutputMixIn#

class pytorch_forecasting.utils.OutputMixIn[source]#

Bases: object

MixIn to give namedtuple some access capabilities of a dictionary

Inherited-members

Methods

get(k[, default])

iget(idx)

Select item(s) row-wise.

items()

keys()

iget(idx: Union[int, slice])[source]#

Select item(s) row-wise.

Parameters

idx ([int, slice]) – item to select

Returns

Output of single item.