I've created simple Keras model (prediction, not classification or regression)
inpLayer = tf.keras.layers.Input((1,), dtype=tf.float64)
hiddenLayer = tf.keras.layers.Dense(2, activation=tf.atan, dtype=tf.float64)(inpLayer)
outputLayer = tf.keras.layers.Dense(1, activation='linear', dtype=tf.float64)(hiddenLayer)
model = tf.keras.models.Model(inpLayer, outputLayer)
with Adam optimizer and I used Mean squared error as a loss function and using batch (offline) gradient descent. I have a small dataset (2 "rows").
x = [35., 49.]
y = [0., 1.]
Am I able to train this simple Neural Network on those features and labels? By "train" I mean: When the model predicts, it returns output close to the labels using whole float64. So the output should have 15 to 17 significant decimal digits precision.
Acceptable: Output for 0 would be in range 9.9e-14 to 1.0e-17. Output for 1 would be in range 1.0e+14 to 9.9e+17.
Is it even possible to train the Neural network like that or it is not? If so, what am I doing wrong there?