Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,112 for multiplier (0.15 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/unfuse_batch_norm_pass.cc

        if (!epsilon) {
          return failure();
        }
    
        // Compute multiplier = scale / sqrt(variance + epsilon)
        Value multiplier = rewriter.create<mhlo::AddOp>(
            bn_op.getLoc(), bn_op.getVariance(), epsilon);
        multiplier = rewriter.create<mhlo::RsqrtOp>(bn_op.getLoc(), multiplier);
        multiplier = rewriter.create<mhlo::MulOp>(bn_op.getLoc(), multiplier,
                                                  bn_op.getScale());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_lifting.cc

        return mul_op.getResult();
      }
      auto q_op = dq_op.getArg().getDefiningOp<quantfork::QuantizeCastOp>();
      if (!q_op) return {};
    
      Value float_value = q_op.getArg();
      Value new_value = builder.create<TF::MulOp>(loc, float_value, multiplier);
      auto new_value_type = mlir::cast<TensorType>(new_value.getType());
    
      // Get multiplier value in double.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. src/encoding/hex/hex_test.go

    		}
    	}
    }
    
    func TestEncoderDecoder(t *testing.T) {
    	for _, multiplier := range []int{1, 128, 192} {
    		for _, test := range encDecTests {
    			input := bytes.Repeat(test.dec, multiplier)
    			output := strings.Repeat(test.enc, multiplier)
    
    			var buf bytes.Buffer
    			enc := NewEncoder(&buf)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:30:23 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. platforms/jvm/plugins-test-report-aggregation/src/integTest/groovy/org/gradle/api/plugins/TestReportAggregationPluginIntegrationTest.groovy

                        @Test
                        public void testMultiply() {
                            Multiplier multiplier = new Multiplier();
                            Assert.assertEquals(1, multiplier.multiply(1, 1));
                            Assert.assertEquals(4, multiplier.multiply(2, 2));
                            Assert.assertEquals(2, multiplier.multiply(1, 2));
                        }
                    }
                """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 16:00:57 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTransformNodeIdBuildOperationIntegrationTest.groovy

                            parameters.multiplier.set(2)
                        }
                        registerTransform(MakeColor) {
                            from.attribute(color, 'red')
                            to.attribute(color, 'green')
                            parameters.targetColor.set('green')
                            parameters.multiplier.set(1)
                        }
                    }
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc

        // have a corresponding 'depth_multiplier' attribute; the multiplier is the
        // fourth dimension in the 4-D filter tensor. We query the multiplier from
        // tf.DepthwiseConv2dNative and set it as the attribute value accordingly.
        auto multiplier =
            mlir::cast<RankedTensorType>(filter.getType()).getDimSize(3);
    
        filter = legalizeFilter(rewriter, loc, filter);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  7. src/internal/fuzz/pcg.go

    // creation and use, no reproducibility, no concurrency safety, just the
    // necessary methods, optimized for speed.
    
    var globalInc atomic.Uint64 // PCG stream
    
    const multiplier uint64 = 6364136223846793005
    
    // pcgRand is a PRNG. It should not be copied or shared. No Rand methods are
    // concurrency safe.
    type pcgRand struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:28:14 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. src/math/rand/v2/pcg.go

    	// https://github.com/imneme/pcg-cpp/blob/428802d1a5/include/pcg_random.hpp#L161
    	//
    	// Numpy's PCG multiplies by the 64-bit value cheapMul
    	// instead of the 128-bit value used here and in the official PCG code.
    	// This does not seem worthwhile, at least for Go: not having any high
    	// bits in the multiplier reduces the effect of low bits on the highest bits,
    	// and it only saves 1 multiply out of 3.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:31:58 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. internal/config/scanner/scanner.go

    	EnvMaxWait       = "MINIO_SCANNER_MAX_WAIT"
    	EnvMaxWaitLegacy = "MINIO_CRAWLER_MAX_WAIT"
    )
    
    // Config represents the heal settings.
    type Config struct {
    	// Delay is the sleep multiplier.
    	Delay float64 `json:"delay"`
    
    	// Sleep always or based on incoming S3 requests.
    	IdleMode int32 // 0 => on, 1 => off
    
    	// Alert upon this many excess object versions
    	ExcessVersions int64 // 100
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td

                    $w_factor, TFL_AF_None, $padding, $stride_h, $stride_w,
                    $multiplier)),
        (TFL_DepthwiseConv2DOp $input, $filter, $bias, $h_factor, $w_factor,
            ActFnAttr, $padding, $stride_h, $stride_w, $multiplier),
        [(HasOneUse $conv_out)]>;
    }
    
    multiclass FuseActFnIntoPoolOpPat<Op ActFnOp, ConstantStrAttr ActFnAttr> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 66.4K bytes
    - Viewed (0)
Back to top