Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MrNothing/AI-Blocks
/ getInputSize
Function
getInputSize
Sources/scripts/graph.py:33–38 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
31
return
variables
32
33
def
getInputSize(self):
34
if
hasattr(model_elements[0],
'hidden_units'
):
35
return
model_elements[0].hidden_units[0]
36
else
:
37
LogErr(
"No hidden units found in graph: "
+str(self.id))
38
return
None
Callers
nothing calls this directly
Calls
1
LogErr
Function · 0.85
Tested by
no test coverage detected