- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for IsWeight (0.2 sec)
-
tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver.h
// Sets up all the data structures for quantization propagation. void SetupAllStates(); // Returns Whether the constant is a weight, which shouldn't be shared by // different ops. bool IsWeight(Operation* cst) { return llvm::is_contained(weights_, cst); } // Returns all the related quantization constraints of the op. std::unique_ptr<OpQuantSpec> GetQuantSpec(Operation* op);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 20 11:42:17 UTC 2024 - 16.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver.cc
// (post-training quantization) and it is weight (filter) and hasn't // been quantized, we infer the quantization parameters from the content. if (infer_tensor_range_ && IsWeight(constant_op) && !IsQuantized(op)) { // The quantization parameters are determined by the content of the // constant. changed |= SetConstantResultParams(op); } continue; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 38.1K bytes - Viewed (0) -
src/crypto/internal/edwards25519/scalarmult_test.go
var z Scalar var p Point p.ScalarMult(&z, B) if I.Equal(&p) != 1 { t.Error("0*B != 0") } checkOnCurve(t, &p) scEight, _ := (&Scalar{}).SetCanonicalBytes([]byte{1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}) p.ScalarMult(scEight, B) if B.Equal(&p) != 1 { t.Error("1*B != 1") } checkOnCurve(t, &p) } func TestScalarMultVsDalek(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 28 17:26:17 UTC 2023 - 4.9K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/driver/html/common.js
const swidth = svg.clientWidth || svg.parentNode.clientWidth; const sheight = svg.clientHeight || svg.parentNode.clientHeight; // Convert deltas from screen space to svg space. dx *= (svg.viewBox.baseVal.width / swidth); dy *= (svg.viewBox.baseVal.height / sheight); svg.viewBox.baseVal.x -= dx; svg.viewBox.baseVal.y -= dy; }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 16 15:19:53 UTC 2024 - 20K bytes - Viewed (0)