tf.keras.ops.geomspace

Returns numbers spaced evenly on a log scale (a geometric progression).

This is similar to logspace, but with endpoints specified directly instead of as logarithms. Each output sample is a constant multiple of the previous.

start The starting value of the sequence.
stop The final value of the sequence, unless endpoint is False. In that case, num + 1 values are spaced over the interval in log-space, of which all but the last (a sequence of length num) are returned.
num Number of samples to generate. Defaults to 50.
endpoint If True, stop is the last sample. Otherwise, it is not included. Defaults to True.
dtype The type of the output tensor.
axis The axis in the result to store the samples. Relevant only if start or stop are array-like.

Torch backend does not support axis argument.

A tensor of num samples, evenly spaced on a log scale.