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

Method maybeSchema

source/python.js:12655–12661  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12653 (this._kind === 'prim::Constant' && !this.hasAttributes() && this.output().type() instanceof torch.OptionalType);
12654 }
12655 maybeSchema() {
12656 const op = this.maybeOperator();
12657 if (op) {
12658 return op.schema();
12659 }
12660 return null;
12661 }
12662 maybeOperator() {
12663 if (!this._op) {
12664 const candidates = torch._C.getAllOperatorsFor(this.kind());

Callers 3

hasUntrackedMutationMethod · 0.80
constructorMethod · 0.80
isNondeterministicMethod · 0.80

Calls 2

maybeOperatorMethod · 0.80
schemaMethod · 0.80

Tested by

no test coverage detected