Is there any resolution to the problem of memory error?
The memory is 8 GB, and I want to complete the broadcasting operation, but it did have a huge cost.
Given the condition:
interdata = data[:, None] - data[None]
The data is with shape [1000, 32, 32], and I want the interdata with a shape of [1000, 1000, 32, 32], and that seems to be too large for my memory.
Is there a method to solve the difficulty?
interdatain one go.