- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for zeroCount (0.3 sec)
-
src/cmd/internal/obj/arm64/asm7.go
func (c *ctxt7) con64class(a *obj.Addr) int { zeroCount := 0 negCount := 0 for i := uint(0); i < 4; i++ { immh := uint32(a.Offset >> (i * 16) & 0xffff) if immh == 0 { zeroCount++ } else if immh == 0xffff { negCount++ } } if zeroCount >= 3 || negCount >= 3 { return C_MOVCON } else if zeroCount == 2 || negCount == 2 { return C_MOVCON2
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 15:44:14 UTC 2024 - 201.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/uniform_quantized_types_test.cc
const UniformQuantizedType qi8_type = quant::UniformQuantizedType::get( /*flags=*/QuantizationFlags::Signed, builder_.getI8Type(), builder_.getF32Type(), /*scale=*/1.0, /*zeroPoint=*/0, /*storageTypeMin=*/-128, /*storageTypeMax=*/127); EXPECT_TRUE(IsI8F32UniformQuantizedType(qi8_type)); } TEST_F(IsI8F32UniformQuantizedTypeTest, UniformQuantizedTypeSucceeds) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 28.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_traits.h
// template argument list. template <unsigned BitWidth, int ZeroPoint, int ScaleMantissa, int ScaleExp, int64_t StorageTypeMin, int64_t StorageTypeMax, bool Sign> class FixedResultUniformScale { public: template <typename ConcreteType> class Impl : public QuantizationSpecTraitBase< ConcreteType, FixedResultUniformScale< BitWidth, ZeroPoint, ScaleMantissa, ScaleExp,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 05 07:39:40 UTC 2024 - 5.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/prepare_quantize_helper.h
quant_type = UniformQuantizedType::getChecked( const_op->getLoc(), quant::QuantizationFlags::Signed, rewriter.getIntegerType(16), attr.getType().getElementType(), scale, /*zeroPoint=*/0, llvm::minIntN(10), -llvm::minIntN(10)); } else { quant_type = mlir::dyn_cast<quant::UniformQuantizedType>( quant::GetUniformQuantizedTypeForWeight( attr, /*symmetric=*/true,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 18:01:23 UTC 2024 - 28K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/mkerrors.sh
$2 ~ /^MTD/ || $2 ~ /^OTP/ || $2 ~ /^MEM/ || $2 ~ /^WG/ || $2 ~ /^FIB_RULE_/ || $2 ~ /^BLK[A-Z]*(GET$|SET$|BUF$|PART$|SIZE|IOMIN$|IOOPT$|ALIGNOFF$|DISCARD|ROTATIONAL$|ZEROOUT$|GETDISKSEQ$)/ {printf("\t%s = C.%s\n", $2, $2)} $2 ~ /^__WCOREFLAG$/ {next} $2 ~ /^__W[A-Z0-9]+$/ {printf("\t%s = C.%s\n", substr($2,3), $2)} {next} ' | sort echo ')' ) >_const.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 20.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/replace_cast_hacks_with_tf_xla_ops.cc
auto mul_op = builder.create<TF::MulOp>(loc, zp, reduced); SmallVector<Value> folded_results = ConstantFoldOpIfPossible(mul_op); return folded_results.front(); } // Add two contributions, and a zeropoint modification term // Consider two quantized matrices P, Q with zero points z, w. Let's say the // dimensions are l X n, n X m. // What we want to calculate is: R = matmul(P-z, Q-w).
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 47.1K bytes - Viewed (0) -
src/fmt/scan.go
// and returns the base, digit string, and whether a zero was found. // It is called only if the verb is %v. func (s *ss) scanBasePrefix() (base int, digits string, zeroFound bool) { if !s.peek("0") { return 0, decimalDigits + "_", false } s.accept("0") // Special cases for 0, 0b, 0o, 0x. switch { case s.peek("bB"): s.consume("bB", true)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 21:56:20 UTC 2024 - 31.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.cc
if (axis_size == 1) { return quant::UniformQuantizedType::getChecked( builder.getUnknownLoc(), /*flags=*/true, storage_type, expressed_type, scales[0], /*zeroPoint=*/0, storage_type_min, storage_type_max); } else { SmallVector<int64_t, 4> zero_points(axis_size, 0); // If the bias is a 1-D tensor, set the `quantizedDimension` to 0.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 08 02:10:16 UTC 2024 - 43.2K bytes - Viewed (0)