(cls, prefix: str, value: dict[str, np.ndarray])
| 254 | |
| 255 | @classmethod |
| 256 | def deserialize(cls, prefix: str, value: dict[str, np.ndarray]) -> Self: |
| 257 | tensor_edge = super().deserialize(prefix, value) |
| 258 | |
| 259 | # Convert from torch.Tensor to AutoScalingTensor |
| 260 | tensor_edge.out_deg = AutoScalingTensor(None, grow_on=0, init_tensor=tensor_edge.out_deg) |
| 261 | tensor_edge.edges = AutoScalingTensor(None, grow_on=0, init_tensor=tensor_edge.edges) |
| 262 | return tensor_edge |
| 263 | |
| 264 | |
| 265 | class Scaling_DenseEdge_Multi(DenseEdge_Multi): |
nothing calls this directly
no test coverage detected