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

Function prepData

tfjs-layers/src/engine/training_test.ts:2725–2728  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2723 model = new tfl.LayersModel({inputs: input, outputs: output});
2724 }
2725 function prepData() {
2726 x = ones([numExamples, inputSize]);
2727 y = ones([numExamples, outputSize]);
2728 }
2729
2730 it('Calling evaluate before compile leads to error', () => {
2731 prepModel();

Callers 1

training_test.tsFile · 0.85

Calls 1

onesFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…