MCPcopy Create free account
hub / github.com/geekcomputers/Python / __init__

Method __init__

ML/src/python/neuralforge/nas/search_space.py:8–13  ·  view source on GitHub ↗
(self, genome: List[int])

Source from the content-addressed store, hash-verified

6
7class Architecture:
8 def __init__(self, genome: List[int]):
9 self.genome = genome
10 self.fitness = 0.0
11 self.accuracy = 0.0
12 self.params = 0
13 self.flops = 0
14
15 def __repr__(self):
16 return f"Architecture(fitness={self.fitness:.4f}, acc={self.accuracy:.2f}%, params={self.params})"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected