nouns - "Hidden layer sizes" vs "Hidden layers sizes"



I am writing a neural network application. In this application, a neural network can have one or more hidden layers, which can have different sizes (neuron counts).


Which label would be correct: "hidden layer sizes" or "hidden layers sizes" and why? I realize this is a more general grammar related question and I'd love to learn about it.


EDIT: the label is for a text box, where user will enter numbers separated by commas.



Answer



In your phrase, hidden layer is an attributive noun: it's a noun which behaves as an adjective modifying sizes.


In English, adjectives are not inflected for number; that is, the form of an adjective doesn't change depending on the number of what it's describing. [This differs from French, for example.]




  • One red apple

  • Two red apples



Thus your "adjective" hidden layer should be singular.


Comments

Popular posts from this blog

etymology - Origin of "s--t eating grin"

First floor vs ground floor, usage origin

usage - "there doesn't seem" vs. "there don't seem"

pronunciation - Where does the intrusive R come from in “warsh”?

Abbreviation of "Street"

etymology - Since when has "a hot minute" meant a long time?

meaning - What is synonyme of "scale"?