MCPcopy Index your code
hub / github.com/lutzroeder/netron / check_single_output

Method check_single_output

source/python.js:8142–8146  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8140 this.check_single_output();
8141 }
8142 check_single_output() {
8143 if (this.graph().outputs().length !== 1) {
8144 throw new python.Error('Graph must have a single output.');
8145 }
8146 }
8147 getSchema() {
8148 this._schema = this._schema || this.defaultSchemaFor(this);
8149 return this._schema;

Callers 1

ensure_definedMethod · 0.80

Calls 2

outputsMethod · 0.45
graphMethod · 0.45

Tested by

no test coverage detected