MCPcopy Index your code
hub / github.com/tensorflow/tfjs / logWeights

Method logWeights

tfjs-node/src/callbacks.ts:295–299  ·  view source on GitHub ↗
(step: number)

Source from the content-addressed store, hash-verified

293 }
294
295 private logWeights(step: number) {
296 for (const weights of this.model.weights) {
297 this.trainWriter.histogram(weights.name, weights.read(), step);
298 }
299 }
300
301 private ensureTrainWriterCreated() {
302 this.trainWriter = summaryFileWriter(path.join(this.logdir, 'train'));

Callers 1

constructorMethod · 0.95

Calls 2

histogramMethod · 0.80
readMethod · 0.65

Tested by

no test coverage detected