5 lines
220 B
JavaScript
5 lines
220 B
JavaScript
![]() |
import * as tf from '@tensorflow/tfjs-core';
|
||
|
export function fullyConnectedLayer(x, params) {
|
||
|
return tf.tidy(() => tf.add(tf.matMul(x, params.weights), params.bias));
|
||
|
}
|
||
|
//# sourceMappingURL=fullyConnectedLayer.js.map
|