there are different types of yoga
a true bikram hot yoga class you won't survive as a newb. those are the classes I do and most people are down before it is over. very few of us make it through
the other end of the spectrum is old people yoga. for me it is completely useless. they have free classes at my gym and it is a joke.
so if you are new find something in between and work your way up