U
U
Urukhayy2019-12-15 17:19:21
Neural networks
Urukhayy, 2019-12-15 17:19:21

How to make an artificial neural network that can multiply by 2?

It is necessary to make a neural network that can multiply by 2 without libraries for neural networks.
How to do this if the activation function at the output can only give numbers in the range from 0 to 1?
Here's how in this article: https://habr.com/ru/post/453558/
Only in this article they use the ready-made TensorFlow library.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vladimir Korotenko, 2019-12-15
@firedragon

public int getValue (int a){return a * 2;}

F
freeExec, 2019-12-15
@freeExec

Not all activation functions work within the aisles 1. ReLUhere is a bright representative.

X
xmoonlight, 2019-12-15
@xmoonlight

We are looking for the words in the link in the question:

Let's now go back to our Celsius to Fahrenheit conversion example.
and immediately look at the diagram and read everything that is written below.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question