Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/lutzroeder/netron
/ num_inputs
Method
num_inputs
source/python.js:8154–8156 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
8152
this._schema = schema;
8153
}
8154
num_inputs() {
8155
return
this.graph().inputs().length;
8156
}
8157
unshapedType(
type
) {
8158
if
(
type
.isSubtypeOf(torch.TensorType.get())) {
8159
return
torch.TensorType.get();
Callers
1
defaultSchemaFor
Method · 0.80
Calls
2
inputs
Method · 0.45
graph
Method · 0.45
Tested by
no test coverage detected