mirror of
https://github.com/wassname/keras-js.git
synced 2026-09-09 11:25:25 +08:00
Revert "Added failing test for convolutional1D with input (16,1)"
This reverts commit 5c91ed8eb7.
This commit is contained in:
@@ -83,27 +83,7 @@
|
||||
data: [0.854959, 0.355561, 0.888899, -0.9834, -0.825345, 0.941694, -0.490434, -0.699848, 0.872523, -0.887886, -0.408331, -0.018902, 0.959544, 0.66633, -0.779488, 0.038157],
|
||||
shape: [8, 2]
|
||||
}
|
||||
},
|
||||
'convolutional.Convolution1D.3': {
|
||||
input: {
|
||||
data: [-0.143383, 0.528281, -0.994279, -0.285153, 0.81939, -0.087838, 0.963605, 0.734714, 0.972055, 0.846533, -0.392613, 0.692207, -0.757556, 0.571153, -0.49899, -0.807941],
|
||||
shape: [16, 1]
|
||||
},
|
||||
weights: [
|
||||
{
|
||||
data: [0.895265, -0.546905, 0.18884, -0.143383, 0.528281, -0.994279, -0.285153, 0.81939, -0.087838],
|
||||
shape: [3, 1, 1, 3]
|
||||
},
|
||||
{
|
||||
data: [0.895265, -0.546905, 0.18884],
|
||||
shape: [3]
|
||||
}
|
||||
],
|
||||
expected: {
|
||||
data: [0.765182, -0.189783, 0.284999, 0.974674, -1.004109, -0.27616, 1.59209, -1.594735, 1.302239, -0.187643, 0.51763, 0.212628, 0.547538, -0.030059, -0.671994, 1.366655, -0.251868, 0.346268, 0.468956, 0.612206, -0.850375, 1.375417, 0.110722, -0.445086, 1.172261, 0.258435, -0.713268, 1.756087, -0.953023, -0.4348, 1.512045, -0.650102, 0.678265, 0.66054, -0.587236, -0.507005, 1.460728, -0.857683, 1.02261, 0.277446, -0.239732, -0.478271, 1.70853, -1.784897, 0.8638, 0.564381, -0.700825, 0.897929],
|
||||
shape: [16, 3]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
window.TEST_DATA = Object.assign({}, window.TEST_DATA, DATA)
|
||||
|
||||
Reference in New Issue
Block a user