or.nn

来自「<B>DirectX9.0 3D游戏编程</B>」· NN 代码 · 共 31 行

NN
31
字号
# First line starts the NN loading and gives the # of layers.
NN_BEGIN 2
#
# NEURON x y z
# x = layer number
# y = node name
# z = node bias
NEURON 0 in1 0.0
NEURON 0 in2 0.0
NEURON 1 out 0.5
#
# DEFAULTOUT "string"
# string = the default output
DEFAULTOUT "0 (False)"
#
# EDGE x y z
# x = source neuron
# y = dest neuron
# z = edge weight
EDGE in1 out 0.6
EDGE in2 out 0.6
#
# INPUT/OUTPUT x "y"
# x = node for input/output
# y = fancy name for the input/output
INPUT in1 "Input 1"
INPUT in2 "Input 2"
OUTPUT out "1 (True)"
#
NN_END

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?