예제 #1
0
    public override void SetUp()
    {
        targetNeuralNetwork.Init();

        threadNeuralNetwork = new _NeuralNetwork();
        threadNeuralNetwork.Init(targetNeuralNetwork);

        agentTransform.transform.position = startPosition;
    }
예제 #2
0
    public void Init(_NeuralNetwork targetNet)
    {
        W_DW_conv1 = (double[, , ])targetNet.W_DW_conv1.Clone();
        PW_conv1   = (double[, , , ])targetNet.PW_conv1.Clone();

        W_DW_conv2 = (double[, , ])targetNet.W_DW_conv2.Clone();
        PW_conv2   = (double[, , , ])targetNet.PW_conv2.Clone();

        W_DW_conv3 = (double[, , ])targetNet.W_DW_conv2.Clone();
        PW_conv3   = (double[, , , ])targetNet.PW_conv2.Clone();

        W_fc_1 = (double[, ])targetNet.W_fc_1.Clone();
        W_fc_2 = (double[, ])targetNet.W_fc_2.Clone();
    }