public void SetInputWeight(string stateName, float weight, int layer = 0)
        {
            StateLayer stateLayer = GetStateLayer(layer);

            if (stateLayer != null)
            {
                stateLayer.SetInputWeight(stateName, weight);
            }
        }