Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 289 for weights (0.3 sec)

  1. 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)
  2. 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)
  3. tensorflow/compiler/mlir/lite/tests/end2end/fake_quant_without_identity.pbtxt

          }
        }
      }
    }
    node {
      name: "BoxPredictor_4/ClassPredictor/weights/read"
      op: "Identity"
      input: "BoxPredictor_4/ClassPredictor/weights"
      attr {
        key: "T"
        value {
          type: DT_FLOAT
        }
      }
      attr {
        key: "_class"
        value {
          list {
            s: "loc:@BoxPredictor_4/ClassPredictor/weights"
          }
        }
      }
    }
    node {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/end2end/fake_quant_without_identity_4bit.pbtxt

          }
        }
      }
    }
    node {
      name: "BoxPredictor_4/ClassPredictor/weights/read"
      op: "Identity"
      input: "BoxPredictor_4/ClassPredictor/weights"
      attr {
        key: "T"
        value {
          type: DT_FLOAT
        }
      }
      attr {
        key: "_class"
        value {
          list {
            s: "loc:@BoxPredictor_4/ClassPredictor/weights"
          }
        }
      }
    }
    node {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/loadbalancer/loadbalancer.go

    	// by providing weights in LocalityLbEndpoints via load_balancing_weight.
    	// By setting weights across different localities, it can allow
    	// Envoy to do weighted load balancing across different zones and geographical locations.
    	for _, localityWeightSetting := range distribute {
    		if localityWeightSetting != nil &&
    			util.LocalityMatch(locality, localityWeightSetting.From) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 23 05:38:57 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/passes/passes.td

      }];
      let dependentDialects = ["mlir::stablehlo::StablehloDialect"];
    }
    
    def InsertWeightParamPass : Pass<"stablehlo-insert-weight-param", "mlir::func::FuncOp"> {
      let summary = "Insert quantization parameters of weights for weight-only quantization and dynamic range quantization.";
      let dependentDialects = [
          "mlir::stablehlo::StablehloDialect",
          "TF::TensorFlowDialect",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/end2end/fake_quant_per_channel.pbtxt

          }
        }
      }
    }
    node {
      name: "BoxPredictor_4/ClassPredictor/weights/read"
      op: "Identity"
      input: "BoxPredictor_4/ClassPredictor/weights"
      attr {
        key: "T"
        value {
          type: DT_FLOAT
        }
      }
      attr {
        key: "_class"
        value {
          list {
            s: "loc:@BoxPredictor_4/ClassPredictor/weights"
          }
        }
      }
    }
    node {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/passes.td

      let description = [{
          This pass encodes sparse weights in the model in the proper format, and adds
          Densify() op if necessary. The general algorithm is:
            1. Get list of operands (weights) of an op that can be sparse.
            2. Get list of supported block configurations of the op.
            3. Calculate random sparsity of the weight.
              3.1. If sparsity level is below the encoding threshold, keep in dense.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tests/end2end/fake_quant_per_channel_4bit.pbtxt

          }
        }
      }
    }
    node {
      name: "BoxPredictor_4/ClassPredictor/weights/read"
      op: "Identity"
      input: "BoxPredictor_4/ClassPredictor/weights"
      attr {
        key: "T"
        value {
          type: DT_FLOAT
        }
      }
      attr {
        key: "_class"
        value {
          list {
            s: "loc:@BoxPredictor_4/ClassPredictor/weights"
          }
        }
      }
    }
    node {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/passes/insert_weight_param.cc

    namespace {
    
    using ::stablehlo::quantization::Method;
    using ::stablehlo::quantization::QuantizedType;
    using ::stablehlo::quantization::WeightOnlyPtq;
    
    // Inserts quantization parameters of weights for weight-only quantization and
    // dynamic range quantization of `stablehlo.convolution` and
    // `stablehlo.dot_general`.
    class InsertWeightParamPass
        : public impl::InsertWeightParamPassBase<InsertWeightParamPass> {
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 05:56:10 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top