MCPcopy Create free account
hub / github.com/RolnickLab/climart / OnlyLayersAreNodesTransforms

Class OnlyLayersAreNodesTransforms

climart/data_transform/transforms.py:174–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172
173
174class OnlyLayersAreNodesTransforms(AbstractGraphTransform, ABC):
175 def __init__(self, exp_type: str):
176 super().__init__(exp_type)
177 self._n_nodes = self.spatial_input_dim[LAYERS]
178 self.LAYER_NODES = slice(0, self.n_nodes) # all nodes are layer nodes
179
180
181class OnlyLevelsAreNodesTransforms(AbstractGraphTransform, ABC):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected