I am struggling to understand the symbolic API nuances of MXNet in Julia. I saw an example in MXNet documentation which has the following line:
act1 = mx.Activation(data = fc1, name=:relu1, act_type=:relu)
Why is act_type
assigned the symbol :relu
.?
Is :relu
a function pointer? If not, then where do we assign the value to :relu
symbol? Why is data not assigned a symbol? Why is name assigned a symbol rather than a string?