Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 64 for Bias (0.07 sec)

  1. src/time/zoneinfo_windows.go

    		std.offset = -int(i.Bias) * 60
    		l.cacheStart = alpha
    		l.cacheEnd = omega
    		l.cacheZone = std
    		l.tx = make([]zoneTrans, 1)
    		l.tx[0].when = l.cacheStart
    		l.tx[0].index = 0
    		return
    	}
    
    	// StandardBias must be ignored if StandardDate is not set,
    	// so this computation is delayed until after the nzone==1
    	// return above.
    	std.offset = -int(i.Bias+i.StandardBias) * 60
    
    	dst := &l.zone[1]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 07:20:34 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/utils/arithmetic_count_util.h

        }
        const int64_t cost_per_col = 2 * weight_type.getNumElements();
    
        *count = cost_per_col * cols;
    
        auto bias = op->getOperand(2);
        if (bias) {
          auto bias_type =
              mlir::dyn_cast_or_null<mlir::RankedTensorType>(bias.getType());
          if (bias_type && bias_type.hasStaticShape()) {
            *count += output_type.getNumElements();
          }
        }
    
        return true;
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. src/math/frexp.go

    	switch {
    	case f == 0:
    		return f, 0 // correctly return -0
    	case IsInf(f, 0) || IsNaN(f):
    		return f, 0
    	}
    	f, exp = normalize(f)
    	x := Float64bits(f)
    	exp += int((x>>shift)&mask) - bias + 1
    	x &^= mask << shift
    	x |= (-1 + bias) << shift
    	frac = Float64frombits(x)
    	return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 929 bytes
    - Viewed (0)
  4. src/math/ldexp.go

    	exp += e
    	x := Float64bits(frac)
    	exp += int(x>>shift)&mask - bias
    	if exp < -1075 {
    		return Copysign(0, frac) // underflow
    	}
    	if exp > 1023 { // overflow
    		if frac < 0 {
    			return Inf(-1)
    		}
    		return Inf(1)
    	}
    	var m float64 = 1
    	if exp < -1022 { // denormal
    		exp += 53
    		m = 1.0 / (1 << 53) // 2**-53
    	}
    	x &^= mask << shift
    	x |= uint64(exp+bias) << shift
    	return m * Float64frombits(x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/optimize.td

      def optimizeConsecutiveConv#OpsTuple[0]#OpsTuple[1] : Pat<
        (OpsTuple[1]
          (OpsTuple[0] $input, $zp_offset, $broadcast_dims_1),
          $bias, $broadcast_dims_2),
        (OpsTuple[0]
          $input,
          (OpsTuple[2] $zp_offset, $bias, $broadcast_dims_2), $broadcast_dims_1),
        [
          (IsNull $broadcast_dims_1),
          (IsNull $broadcast_dims_2),
          (TensorOf<[AnyInteger]> $input),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Feb 24 02:26:47 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization.td

    // Specify this trait if the bias-th input of the op is a bias input, which
    // needs a scale based on the scales of op1 and op2.
    class AccumulatorUniformScale<int bias, int op1, int op2> : NativeOpTrait<
      !strconcat("quant::AccumulatorUniformScale<",
                 !interleave([bias, op1, op2], ", "),
                 ">::Impl")>;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 07:39:40 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/transforms/quantize_patterns.td

    def FoldQuantWeightsIntoTposeConv : Pat<
      (TFL_TransposeConvOp
        $output_shape,
        (TFL_DequantizeOp $quant_weights),
        $quant_input,
        $bias, $padding, $stride_h, $stride_w, $faf),
      (TFL_TransposeConvOp $output_shape, $quant_weights,
        $quant_input, $bias, $padding, $stride_h, $stride_w, $faf), 
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 23:10:13 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/quantization/tensorflow/fallback_to_flex_patterns.td

    // Keeps Add and Sub ops if the second operand is bias.
    def KeepAddV2Op : Pat<
      (TF_AddV2Op:$add_op $input, (TF_ConstOp:$bias_cst $bias)),
      (MarkNoFallback (TF_AddV2Op $input, $bias_cst)),
      [(IsFusibleWithBias $input), (RankEquals<"1"> $bias_cst),
      (NoFallbackAttrNotSet $add_op)]>;
    
    def KeepSubOp : Pat<
      (TF_SubOp:$sub_op $input, (TF_ConstOp:$bias_cst $bias)),
      (MarkNoFallback (TF_SubOp $input, $bias_cst)),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Sep 29 21:02:21 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/common/lift_as_function_call.td

                        "\""# func_name #"\", $0...)", returns>;
    
    // Add the second argument to the first argument, which is expected to be an
    // argument list.
    // bias(einsum(inputs), bias) --> einsum_with_bias(AppendToVector(inputs, bias))
    // Since inputs is a vector in case of einsum, we cannot use ArgumentList here.
    def AppendToVector : NativeCodeCall<"AppendToVector($0, $1)">;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 25 00:32:20 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/gradients/nn_grad_test.cc

        A.reset(A_raw);
      }
      // Bias
      float Bias_vals[] = {2.0f, 3.0f};
      int64_t Bias_dims[] = {2};
      AbstractTensorHandlePtr Bias;
      {
        AbstractTensorHandle* Bias_raw;
        status_ = TestTensorHandleWithDims<float, TF_FLOAT>(
            immediate_execution_ctx_.get(), Bias_vals, Bias_dims, 1, &Bias_raw);
        ASSERT_EQ(errors::OK, status_.code()) << status_.message();
        Bias.reset(Bias_raw);
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 28 13:53:47 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top