Signature of feature arrays. Stores the number of units, the type (sparse vs dense), and the number of dimensions of features.
| 231 | |
| 232 | |
| 233 | class FeatureSignature(NamedTuple): |
| 234 | """Signature of feature arrays. |
| 235 | |
| 236 | Stores the number of units, the type (sparse vs dense), and the number of |
| 237 | dimensions of features. |
| 238 | """ |
| 239 | |
| 240 | is_sparse: bool |
| 241 | units: Optional[int] |
| 242 | number_of_dimensions: int |
| 243 | |
| 244 | |
| 245 | # Mapping of attribute name and feature name to a list of feature arrays representing |
no outgoing calls
searching dependent graphs…