Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for residuals (0.1 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)
  4. src/archive/tar/strconv_test.go

    			t.Errorf("parsePAXRecord(%q): got (%q: %q), want (%q: %q)",
    				v.in, key, val, v.wantKey, v.wantVal)
    		}
    		if res != v.wantRes {
    			t.Errorf("parsePAXRecord(%q): got residual %q, want residual %q",
    				v.in, res, v.wantRes)
    		}
    	}
    }
    
    func TestFormatPAXRecord(t *testing.T) {
    	medName := strings.Repeat("CD", 50)
    	longName := strings.Repeat("AB", 100)
    
    	vectors := []struct {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Feb 09 05:28:50 UTC 2021
    - 14K bytes
    - Viewed (0)
  5. src/archive/tar/reader.go

    	// headers since 0.0 headers were not PAX compliant.
    	var sparseMap []string
    
    	paxHdrs := make(map[string]string)
    	for len(sbuf) > 0 {
    		key, value, residual, err := parsePAXRecord(sbuf)
    		if err != nil {
    			return nil, ErrHeader
    		}
    		sbuf = residual
    
    		switch key {
    		case paxGNUSparseOffset, paxGNUSparseNumBytes:
    			// Validate sparse header order and value.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Mar 08 01:59:14 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  6. RELEASE.md

        *   `Estimator` now supports `Dataset`: `input_fn` can return a `Dataset`
            instead of `Tensor`s.
        *   Add `RevBlock`, a memory-efficient implementation of reversible residual
            layers.
        *   Reduce BFCAllocator internal fragmentation.
        *   Add `cross_entropy` and `kl_divergence` to
            `tf.distributions.Distribution`.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Oct 22 14:33:53 UTC 2024
    - 735.3K bytes
    - Viewed (0)
Back to top