MCPcopy Create free account
hub / github.com/tensorflow/tfjs / FunctionDefLibrary

Function FunctionDefLibrary

tfjs-converter/tools/compiled_api.js:1585–1592  ·  view source on GitHub ↗
(p)

Source from the content-addressed store, hash-verified

1583 tensorflow.FunctionDefLibrary = (function() {
1584
1585 function FunctionDefLibrary(p) {
1586 this["function"] = [];
1587 this.gradient = [];
1588 if (p)
1589 for (var ks = Object.keys(p), i = 0; i < ks.length; ++i)
1590 if (p[ks[i]] != null)
1591 this[ks[i]] = p[ks[i]];
1592 }
1593
1594 FunctionDefLibrary.prototype["function"] = $util.emptyArray;
1595 FunctionDefLibrary.prototype.gradient = $util.emptyArray;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…