def test_isub_K3_D2(self, K=3, D=2):
    A = ParamBag(K=K,D=D)
    A.setField('xxT', np.random.randn(K,D,D), dims=('K','D','D'))
    A.setField('x', np.random.randn(K,D), dims=('K','D'))
    B = ParamBag(K=K,D=D)
    B.setField('x', np.random.randn(K,D), dims=('K','D'))
    B.setField('xxT', np.random.randn(K,D,D), dims=('K','D','D'))
    origID = hex(id(A))
    A -= B
    newID = hex(id(A))
    assert origID == newID
    A = A - B
    newnewID = hex(id(A))
    assert newnewID != origID
    
  ######################################################### Dim 0 parsing
dataset/ETHPy150Open daeilkim/refinery/refinery/bnpy/bnpy-dev/tests/suffstats/TestParamBag.py/TestParamBag.test_isub_K3_D2/original