Spaces:
Build error
Build error
File size: 498 Bytes
e986ee1 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
import numpy as np
import raven_utils.entity as entity
import raven_utils.properties as properties
import raven_utils.group as group
SIZE = entity.SUM * properties.SUM + group.NO + entity.SUM
SLOT_AND_GROUP = group.NO + entity.SUM
PROPERTIES_SLICE = np.s_[:, :-SLOT_AND_GROUP]
SLOT_SLICE = np.s_[:, -SLOT_AND_GROUP:-group.NO]
GROUP_SLICE = np.s_[:, -group.NO:]
GROUP_SLICE_END = np.s_[-group.NO:]
SLOT_SLICE_END = np.s_[-SLOT_AND_GROUP:-group.NO]
PROPERTIES_SLICE_END = np.s_[:-SLOT_AND_GROUP]
|