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

Method optimized_graph

source/python.js:8126–8130  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8124 return this._graph;
8125 }
8126 optimized_graph() {
8127 const graph_ref = this._graph.copy();
8128 torch._C.preoptimizeGraph(graph_ref, this._force_no_amp);
8129 return graph_ref;
8130 }
8131 ensure_defined() {
8132 if (this._function_creator) {
8133 const creator = this._function_creator;

Callers 1

constructorMethod · 0.80

Calls 1

copyMethod · 0.45

Tested by

no test coverage detected