Dimension error for Hierarchical model

@cluhmann This the error message i am getting below

ValueError: Shapes on dimension 1 do not match: (5, 120)

and this the verbose form… its actually longer but more of a repetition of the same error below.

"name": "ValueError",
	"message": "Shapes on dimension 1 do not match: (5, 120)\nApply node that caused the error: Elemwise{mul,no_inplace}(InplaceDimShuffle{x,0}.0, TensorConstant{[[0.002840..67640458]]})\nToposort index: 45\nInputs types: [TensorType(float64, (1, None)), TensorType(float64, (1, 120))]\nInputs shapes: [(1, 5), (1, 120)]\nInputs strides: [(40, 8), (960, 8)]\nInputs values: [array([[-0.07151783, -0.70122294,  0.62348847,  0.32553264,  0.52987376]]), 'not shown']\nInputs type_num: [12, 12]\nOutputs clients: [[Elemwise{Composite{Switch(i0, ((i1 + (i2 * sqr(((i3 - ((i4 * sigmoid((-(i5 * i6))) * (i7 - exp((i5 * i6)))) + (i8 * sigmoid((-i9)) * (i7 - exp(i9))) + (i10 * sigmoid((-i11)) * (i7 - exp(i11))) + (i12 * sigmoid((-i13)) * (i7 - exp(i13))) + (i14 * sigmoid((-i15)) * (i7 - exp(i15))) + (i16 * sigmoid((-i17)) * (i7 - exp(i17))) + (i18 * sigmoid((-i19)) * (i7 - exp(i19))) + i20 + i21 + i22 + i23 + i24 + i25 + i26 + i27)) / i28)))) - i29), i30)}}(Elemwise{gt,no_inplace}.0, TensorConstant{(1, 1) of ..5332046727}, TensorConstant{(1, 1) of -0.5}, TensorConstant{[[27. 42. .. 99. 76.]]}, InplaceDimShuffle{x,0}.0, Dot22Scalar.0, InplaceDimShuffle{x,0}.0, TensorConstant{(1, 1) of 1.0}, InplaceDimShuffle{x,0}.0, Elemwise{Mul}[(0, 0)].0, InplaceDimShuffle{x,0}.0, Elemwise{Mul}[(0, 0)].0, InplaceDimShuffle{x,0}.0, Elemwise{Mul}[(0, 0)].0, InplaceDimShuffle{x,0}.0, Elemwise{Mul}[(0, 0)].0, InplaceDimShuffle{x,0}.0, Elemwise{Mul}[(0, 0)].0, InplaceDimShuffle{x,0}.0, Elemwise{Mul}[(0, 0)].0, Elemwise{Composite{(i0 * sigmoid((-(i1 * i2))) * (i3 - exp((i1 * i2))))}}[(0, 1)].0, Elemwise{Composite{(i0 * sigmoid((-(i1 * i2))) * (i3 - exp((i1 * i2))))}}[(0, 1)].0, Elemwise{Composite{(i0 * sigmoid((-(i1 * i2))) * (i3 - exp((i1 * i2))))}}[(0, 1)].0, Elemwise{mul,no_inplace}.0, Elemwise{mul,no_inplace}.0, Elemwise{mul,no_inplace}.0, Elemwise{mul,no_inplace}.0, InplaceDimShuffle{x,x}.0, InplaceDimShuffle{x,x}.0, Elemwise{log,no_inplace}.0, TensorConstant{(1, 1) of -inf})]]\n\nBacktrace when the node is created (use Aesara flag traceback__limit=N to make it longer)