No.
Upright pyramid
Inverted pyramid
i.
Producers occupy a broad base.
Producers occupy a narrow base
ii.
Consumers decrease in terms of number or biomass.
Consumers are more in terms of number or biomass.
iii.
Pyramid of energy is always upright, while pyramids of number and biomass are also upright in many ecosystems.
Pyramid of number in tree-dominated ecosystem and pyramid of biomass in an aquatic ecosystem are inverted.