assertall(map(lambdat:len(t)==stages,(dims,depths,layer_heads))),'dimensions, depths, and heads must be a tuple that is less than the designated number of stages'
assertall(map(lambdat:len(t)==stages,(dims,depths,layer_heads))),'dimensions, depths, and heads must be a tuple that is less than the designated number of stages'