Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
JuliusNmn committed Mar 16, 2024
1 parent 989751c commit 3043dc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/demo/Buddy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export class Brain {
const decisionOutputDimension = this.io.muscles.length;

this.model = tf.sequential();
const hiddenLayer = 15;
const hiddenLayer = 30;
const A1 = tf.randomNormal([stateInputDimension, hiddenLayer], 0, 0.5)
const B1 = tf.randomUniform([hiddenLayer], -0.5, 0.5)
this.model.add(tf.layers.dense({units: hiddenLayer, inputShape: [stateInputDimension], weights: [A1, B1]}))
Expand Down

0 comments on commit 3043dc6

Please sign in to comment.