We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0bd4edb + eb9a99d commit 23509a7Copy full SHA for 23509a7
src/utils/models/SimpleCNN/loadSimpleCNN.ts
@@ -10,7 +10,7 @@ export const createSimpleCNN = (
10
numClasses: number,
11
randomizeWeights: boolean
12
) => {
13
- const seed = randomizeWeights ? Math.random() : 0.42;
+ const seed = randomizeWeights ? Math.floor(Math.random() * 1000) : 42;
14
15
const imageWidth = inputShape.width;
16
const imageHeight = inputShape.height;
0 commit comments