Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for residuals (0.07 sec)

  1. docs_src/path_params/tutorial005.py

        if model_name.value == "lenet":
            return {"model_name": model_name, "message": "LeCNN all the images"}
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 26 13:26:03 UTC 2022
    - 546 bytes
    - Viewed (0)
  2. tests/test_tutorial/test_path_params/test_tutorial005.py

    
    def test_get_enums_resnet():
        response = client.get("/models/resnet")
        assert response.status_code == 200
        assert response.json() == {"model_name": "resnet", "message": "Have some residuals"}
    
    
    def test_get_enums_invalid():
        response = client.get("/models/foo")
        assert response.status_code == 422
        assert response.json() == IsDict(
            {
                "detail": [
                    {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Sep 28 04:14:40 UTC 2023
    - 5K bytes
    - Viewed (0)
  3. test-site/activator

        residual_args=()
        process_my_args "${myargs[@]}"
      }
    }
    
    # Actually runs the script.
    run() {
      # TODO - check for sane environment
    
      # process the combined args, then reset "$@" to the residuals
      process_args "$@"
      detect_terminal_for_ui
      set -- "${residual_args[@]}"
      argumentCount=$#
    
      #check for jline terminal fixes on cygwin
      if is_cygwin; then
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 9.3K bytes
    - Viewed (0)
Back to top