6 points · by minihat · 1y ago · 2 comments
import numpy as np
A = np.random.rand(1, 2, 2)
B = np.array([0, 1, 0, 1])
C = A[0, :, B]
print("C.shape:", C.shape)
So far every LLM I've tried (Grok 3, o1, Gemini Pro) all predict (2, 4) and can't be persuaded otherwise.