2020-08-20 02:10:42 +02:00
|
|
|
import * as tf from '@tensorflow/tfjs-core';
|
|
|
|
export function fullyConnectedLayer(x, params) {
|
2020-08-18 14:04:33 +02:00
|
|
|
return tf.tidy(() => tf.add(tf.matMul(x, params.weights), params.bias));
|
|
|
|
}
|
|
|
|
//# sourceMappingURL=fullyConnectedLayer.js.map
|