t in adam optimizer I'm newbie in NN and I get confused about frequency t in adam optimizer. if I have NN with architecture like this:

Can't it be said that Xk (k=1,2,..., n), where n is the number of input data? in the example above n=4. In adam optimization we calculate the gradient t with the following formula:

is it right if we can write gt ($t=1, 2, \dotsc, n$)? but $n$ here is what? if seen from the example picture above how many $n$ there?


Can't it be said that Xk (k=1,2,..., n), where n is the number of
input data? in the example above n=4.

Sure, you can use the notation $n$ for that.

is it right if we can write gt ($t=1, 2, \dotsc, n$)? but $n$ here is what? if seen from the example picture above how many $n$ there?

Now $n$ is the maximum number of iterations in your optimization algorithm. This is defined by you a priori. This $n$ has nothing to do with the previous definition for $n$.
