Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 170 for weights (0.23 sec)

  1. src/internal/zstd/huff.go

    	}
    	weights[count] = uint8(highBit + 1)
    	count++
    	weightMark[highBit+1]++
    
    	if weightMark[1] < 2 || weightMark[1]&1 != 0 {
    		return 0, 0, r.makeError(off, "bad Huffman weights")
    	}
    
    	// Change weightMark from a count of weights to the index of
    	// the first symbol for that weight. We shift the indexes to
    	// also store how many we have seen so far,
    	next := uint32(0)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 18 20:34:13 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_extra_models/test_tutorial005.py

                                            "type": "object",
                                            "additionalProperties": {"type": "number"},
                                        }
                                    }
                                },
                            }
                        },
                        "summary": "Read Keyword Weights",
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_extra_models/test_tutorial005_py39.py

                                        "schema": {
                                            "title": "Response Read Keyword Weights Keyword Weights  Get",
                                            "type": "object",
                                            "additionalProperties": {"type": "number"},
                                        }
                                    }
                                },
                            }
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_body_nested_models/test_tutorial009.py

    def test_post_body(client: TestClient):
        data = {"2": 2.2, "3": 3.3}
        response = client.post("/index-weights/", json=data)
        assert response.status_code == 200, response.text
        assert response.json() == data
    
    
    def test_post_invalid_body(client: TestClient):
        data = {"foo": 2.2, "3": 3.3}
        response = client.post("/index-weights/", json=data)
        assert response.status_code == 422, response.text
        assert response.json() == IsDict(
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_body_nested_models/test_tutorial009_py39.py

        data = {"2": 2.2, "3": 3.3}
        response = client.post("/index-weights/", json=data)
        assert response.status_code == 200, response.text
        assert response.json() == data
    
    
    @needs_py39
    def test_post_invalid_body(client: TestClient):
        data = {"foo": 2.2, "3": 3.3}
        response = client.post("/index-weights/", json=data)
        assert response.status_code == 422, response.text
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/quantization_options.proto

        // Apply float16 quantization to all the weights. Quantized weights will be
        // dequantized before running inference.
        // Activation: f32, Weight: f16, Bias: f16
        FLOAT16 = 3;
    
        // Apply static range quantization. The quantization range is determined
        // via calibration phase and quantized during conversion.
        // Activation: qi8, Weight: qi8, Bias: qi32
        POST_TRAINING_QUANTIZATION_STATIC_RANGE = 4;
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 22 02:20:05 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  7. src/cmd/internal/pgo/pgo.go

    }
    
    // NamedEdgeMap contains all unique call edges in the profile and their
    // edge weight.
    type NamedEdgeMap struct {
    	Weight map[NamedCallEdge]int64
    
    	// ByWeight lists all keys in Weight, sorted by edge weight from
    	// highest to lowest.
    	ByWeight []NamedCallEdge
    }
    
    func emptyProfile() *Profile {
    	// Initialize empty maps/slices for easier use without a requiring a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:20:01 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/cc/config.cc

          "composite_conv.*");
    
      // Enable per-channel quantization for convolution weights.
      QuantizedType conv_weight_quantized_type{};
    
      // Assumes NHWC format, specifying the channel dimension (3) as the
      // quantized axis.
      conv_weight_quantized_type.mutable_dimension_specs()->set_dimension(3);
    
      // The index of weight operands passed to lifted functions for convolution
      // is 1.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/common/uniform_quantized_types.h

    // storage type. The available values use the full range of the storage value,
    // i.e. [-128, 127]. Assumes asymmetric quantization, meaning the zero point
    // value can be a non-zero value.
    // If `narrow_range` is set true (ex: for weights), a restricted range of
    // integers will be used for symmetric mapping, i.e. [-127, 127].
    UniformQuantizedType CreateI8F32UniformQuantizedType(Location loc,
                                                         MLIRContext& context,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/tests/lift_quantizable_spots_as_functions_drq_min_elements.mlir

    // RUN: tf-quant-opt %s -split-input-file -quant-lift-quantizable-spots-as-functions-drq="min-num-elements-for-weights=2500000" | FileCheck %s
    
    // CHECK-LABEL: lift_float_matmul
    func.func @lift_float_matmul(%arg0: tensor<1x12x12x512xf32>) -> (tensor<*xf32>, tensor<*xf32>) {
      %cst = "tf.Const"() {value = dense<0.000000e+00> : tensor<512x512xf32>} : () -> tensor<512x512xf32>
      %out_1 = "tf.MatMul"(%arg0, %cst) {
        device = "", transpose_a = false, transpose_b = false
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 2.1K bytes
    - Viewed (0)
Back to top