Open FranzKnut opened 11 months ago
Using MemoryChain-bsuite with num_bits > 1 resulted in
MemoryChain-bsuite
num_bits > 1
TypeError: select cases must have the same shapes
when selecting (masking) the context for current time.
This PR simply fixes this by making sure the negative case array containing only zeros has the same shape as the context.
Using
MemoryChain-bsuite
withnum_bits > 1
resulted inwhen selecting (masking) the context for current time.
This PR simply fixes this by making sure the negative case array containing only zeros has the same shape as the context.