diff --git a/.github/workflows/CI-models.yml b/.github/workflows/CI-models.yml index df2ef61b0..cc7b41b91 100644 --- a/.github/workflows/CI-models.yml +++ b/.github/workflows/CI-models.yml @@ -27,7 +27,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install dependencies @@ -51,7 +51,7 @@ jobs: # steps: # - uses: actions/checkout@v4 # - name: Set up Python ${{ matrix.python-version }} -# uses: actions/setup-python@v4 +# uses: actions/setup-python@v5 # with: # python-version: ${{ matrix.python-version }} # - name: Install dependencies @@ -75,7 +75,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install dependencies @@ -99,7 +99,7 @@ jobs: # steps: # - uses: actions/checkout@v4 # - name: Set up Python ${{ matrix.python-version }} -# uses: actions/setup-python@v4 +# uses: actions/setup-python@v5 # with: # python-version: ${{ matrix.python-version }} # - name: Install dependencies @@ -124,7 +124,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install dependencies @@ -150,7 +150,7 @@ jobs: # steps: # - uses: actions/checkout@v4 # - name: Set up Python ${{ matrix.python-version }} -# uses: actions/setup-python@v4 +# uses: actions/setup-python@v5 # with: # python-version: ${{ matrix.python-version }} # - name: Install dependencies diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 01b5047ec..fe3db7dd3 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -29,7 +29,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install dependencies @@ -62,7 +62,7 @@ jobs: # steps: # - uses: actions/checkout@v4 # - name: Set up Python ${{ matrix.python-version }} -# uses: actions/setup-python@v4 +# uses: actions/setup-python@v5 # with: # python-version: ${{ matrix.python-version }} # - name: Install dependencies @@ -96,7 +96,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install dependencies @@ -128,7 +128,7 @@ jobs: # steps: # - uses: actions/checkout@v4 # - name: Set up Python ${{ matrix.python-version }} -# uses: actions/setup-python@v4 +# uses: actions/setup-python@v5 # with: # python-version: ${{ matrix.python-version }} # - name: Install dependencies @@ -163,7 +163,7 @@ jobs: # steps: # - uses: actions/checkout@v4 # - name: Set up Python ${{ matrix.python-version }} -# uses: actions/setup-python@v4 +# uses: actions/setup-python@v5 # with: # python-version: ${{ matrix.python-version }} # - name: Install dependencies @@ -199,7 +199,7 @@ jobs: # steps: # - uses: actions/checkout@v4 # - name: Set up Python ${{ matrix.python-version }} -# uses: actions/setup-python@v4 +# uses: actions/setup-python@v5 # with: # python-version: ${{ matrix.python-version }} # - name: Install dependencies diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 2d4189809..0c515d77a 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -18,7 +18,7 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: conda-incubator/setup-miniconda@v2 + - uses: conda-incubator/setup-miniconda@v3 with: auto-update-conda: true python-version: "3.10" diff --git a/docs/core_concept/brainpy_dynamical_system.ipynb b/docs/core_concept/brainpy_dynamical_system.ipynb index ab7f7d0a2..b8151486d 100644 --- a/docs/core_concept/brainpy_dynamical_system.ipynb +++ b/docs/core_concept/brainpy_dynamical_system.ipynb @@ -124,7 +124,7 @@ "We call `s` as shared arguments because they are same and shared for all nodes/layers. On the contrary, different nodes/layers have different input `x`.\n", "\n", "Here, it is necessary to explain the usage of ``bp.share``.\n", - "- ``bp.share.save( )``: The function saves shared arguments in the global context. User can save shared arguments in tow ways, for example, if user want to set the current time ``t=100``, the current time step ``dt=0.1``,the user can use ``bp.share.save(\"t\",100,\"dt\",0.1)`` or ``bp.share.save(t=100,dt=0.1)``.\n", + "- ``bp.share.save( )``: The function saves shared arguments in the global context. User can save shared arguments in two ways, for example, if user want to set the current time ``t=100``, the current time step ``dt=0.1``,the user can use ``bp.share.save(\"t\",100,\"dt\",0.1)`` or ``bp.share.save(t=100,dt=0.1)``.\n", " \n", "- ``bp.share.load( )``: The function gets the shared data by the ``key``, for example, ``bp.share.load(\"t\")``.\n", " \n",