Implement neural_memory_update(M, S, k, v, theta=0.1, eta=0.9, alpha=0.01), a simplified Titans-style neural memory update. M is the current memory matrix of shape (d, d), S the momentum (accumulated surprise) matrix of shape (d, d), and k, v are the key and value vectors of shape (d,).
Compute, in this order:
(d, d) outer product.eta) and learning rate (theta): .alpha): .Return the tuple (M_new, S_new) as NumPy arrays, each rounded to 4 decimal places.