I'm a graduate student (PhD, first year) in physics, and there have been a few times where I just can't figure out something regarding the material/subject of the class. Normally I just tell myself that since I'm a graduate student, I better be able to figure it out myself without the help of the professor, or any other "higher-ups" in my department for that matter. This usually leads to success, but not without a fair amount of work. Sometimes the end of my problem seems to recede faster than I make progress, and I usually have other stuff to do, so I get really tempted to just ask the professor, specifically by going to their office hours.
My question is, is going to office hours in a graduate course seen as a bad or "inferior" in US grad schools? I'm obviously not talking about spamming the professor with impulsive and ill-conceived questions.
EDIT: Some people in the comments are saying "Well you're a graduate student, and there are office hours, so obviously you can and should make use of them." Life isn't as simply black-and-white as that. The focus of my question is on the unspoken, possibly subliminal, perception of going to office hours as a graduate student which, by its very nature, is not explicitly stated in "official" text (e.g. syllabi, student conduct guidelines, etc.). Such latent social phenomena are present in every situation and culture. Stated explicitly or not, general academic culture expects graduate students to become independent researchers. I was wondering whether this underlying expectation affected the perception of going to office hours as a graduate student, which by definition is a partial dependence on the professor. This topic is nuanced by the various ways in which one could "go to office hours" (e.g. fully prepared, unprepared, in-between, etc.) and by the variation in perceptions of those various ways. Therefore I think it's nontrivial and worth asking about.