Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
added 4 characters in body
Source Link

Suppose we have a simple neural network as follows:

f = NetChain[ { LinearLayer[32], ElementwiseLayer["ReLU"], LinearLayer[16], ElementwiseLayer["ReLU"], LinearLayer[1] }, "Input" -> 3, "Output" -> 1 ] 

How can we represent the function g as a neural network that behaves aslike the function below?

g[v_] := Max@Map[f[Append[v, #]] &, Range[10000]] 

Suppose we have a simple neural network as follows:

f = NetChain[ { LinearLayer[32], ElementwiseLayer["ReLU"], LinearLayer[16], ElementwiseLayer["ReLU"], LinearLayer[1] }, "Input" -> 3, "Output" -> 1 ] 

How can we represent the function g as neural network that behaves as the function below?

g[v_] := Max@Map[f[Append[v, #]] &, Range[10000]] 

Suppose we have a simple neural network as follows:

f = NetChain[ { LinearLayer[32], ElementwiseLayer["ReLU"], LinearLayer[16], ElementwiseLayer["ReLU"], LinearLayer[1] }, "Input" -> 3, "Output" -> 1 ] 

How can we represent the function g as a neural network that behaves like the function below?

g[v_] := Max@Map[f[Append[v, #]] &, Range[10000]] 
Source Link

Neural network that augments the input with constants

Suppose we have a simple neural network as follows:

f = NetChain[ { LinearLayer[32], ElementwiseLayer["ReLU"], LinearLayer[16], ElementwiseLayer["ReLU"], LinearLayer[1] }, "Input" -> 3, "Output" -> 1 ] 

How can we represent the function g as neural network that behaves as the function below?

g[v_] := Max@Map[f[Append[v, #]] &, Range[10000]]