Skip to content

Commit a41266e

Browse files
committed
update determ output results
1 parent e2d2d98 commit a41266e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/examples/hotgym/HelloSPTP.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -205,12 +205,12 @@ Real64 BenchmarkHotgym::run(UInt EPOCHS, bool useSPlocal, bool useSPglobal, bool
205205

206206
SDR goldTM({COLS});
207207
const SDR_sparse_t deterministicTM{
208-
51, 62, 72, 77, 102, 155, 287, 306, 337, 340, 370, 493, 542, 952, 1089, 1110, 1115, 1193, 1463, 1488, 1507, 1518, 1547, 1626, 1668, 1694, 1781, 1803, 1805, 1827, 1841, 1858,1859, 1860, 1861, 1862, 1878, 1881, 1915, 1918, 1923, 1929, 1933, 1939, 1941, 1953, 1955, 1956, 1958, 1961, 1965, 1968, 1975, 1976, 1980, 1981, 1985, 1986, 1987, 1991, 1992, 1994, 1997, 2002, 2006, 2008, 2012, 2013, 2040, 2042
208+
62, 77, 85, 322, 340, 432, 952, 1120, 1488, 1502, 1512, 1518, 1547, 1627, 1633, 1668, 1727, 1729, 1797, 1803, 1805, 1812, 1858, 1859, 1896, 1918, 1923, 1925, 1929, 1931, 1939, 1941, 1942, 1944, 1950, 1953, 1955, 1956, 1965, 1966, 1967, 1968, 1974, 1980, 1987, 1996, 2006, 2008, 2011, 2027, 2030, 2042, 2046
209209
};
210210
goldTM.setSparse(deterministicTM);
211211

212-
const float goldAn = 0.745098f;
213-
const float goldAnAvg = 0.408286f;
212+
const float goldAn = 0.627451f;
213+
const float goldAnAvg = 0.407265f;
214214

215215
if(EPOCHS == 5000) { //these hand-written values are only valid for EPOCHS = 5000 (default), but not for debug and custom runs.
216216
NTA_CHECK(input == goldEnc) << "Deterministic output of Encoder failed!\n" << input << "should be:\n" << goldEnc;

0 commit comments

Comments
 (0)