Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 171 for Bias (0.05 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_lift_variables_invalid_session.mlir

        %1 = "tf.ReadVariableOp"(%0) {device = ""} : (tensor<!tf_type.resource<tensor<100x50xf32>>>) -> tensor<100x50xf32>
        %2 = "tf.VarHandleOp"() {_class = ["loc:@dense/bias"], allowed_devices = [], container = "", device = "", shared_name = "dense/bias"} : () -> tensor<!tf_type.resource<tensor<50xf32>>>
        %3 = "tf.ReadVariableOp"(%2) {device = ""} : (tensor<!tf_type.resource<tensor<50xf32>>>) -> tensor<50xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 24 05:47:26 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/optimize.cc

            auto attr = rewriter.getZeroAttr(type);
            bias = rewriter.create<arith::ConstantOp>(add_op.getLoc(), type, attr);
            auto none_af = rewriter.getStringAttr("NONE");
    
            bias =
                rewriter.create<AddOp>(add_op.getLoc(), bias, constant_val, none_af)
                    .getOutput();
          } else {
            // If there no pre-existing bias and the `constant_val` is 1D, simply
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/idn/Punycode.kt

                  when {
                    k <= bias -> TMIN
                    k >= bias + TMAX -> TMAX
                    else -> k - bias
                  }
                if (q < t) break
                result.writeByte((t + ((q - t) % (BASE - t))).punycodeDigit)
                q = (q - t) / (BASE - t)
              }
    
              result.writeByte(q.punycodeDigit)
              bias = adapt(delta, h + 1, h == b)
              delta = 0
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 03 03:04:50 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. src/math/floor.go

    	//     return t + Copysign(1, x)
    	//   }
    	//   return t
    	// }
    	bits := Float64bits(x)
    	e := uint(bits>>shift) & mask
    	if e < bias {
    		// Round abs(x) < 1 including denormals.
    		bits &= signMask // +-0
    		if e == bias-1 {
    			bits |= uvone // +-1
    		}
    	} else if e < bias+shift {
    		// Round any abs(x) >= 1 containing a fractional component [0,1).
    		//
    		// Numbers with larger exponents are returned unchanged since they
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  5. src/net/http/cookiejar/punycode.go

    				continue
    			}
    			q := delta
    			for k := base; ; k += base {
    				t := k - bias
    				if t < tmin {
    					t = tmin
    				} else if t > tmax {
    					t = tmax
    				}
    				if q < t {
    					break
    				}
    				output = append(output, encodeDigit(t+(q-t)%(base-t)))
    				q = (q - t) / (base - t)
    			}
    			output = append(output, encodeDigit(q))
    			bias = adapt(delta, h+1, h == b)
    			delta = 0
    			h++
    			remaining--
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 10 23:42:56 UTC 2021
    - 3.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_lifting.td

        (TF_BiasAddOp:$bias_add
          $conv_out,
          (TF_ConstOp:$bias IsFloatElementsAttr:$bias_value), $data_format),
        (TF_ConstOp:$add_rhs IsFloatElementsAttr:$add_rhs_value)),
      (TF_BiasAddOp
        $conv_out, (TF_AddV2Op $bias, (ReshapeTo1DTensor $add_rhs)), $data_format),
      [(HasOneUse $bias_add),
       (ReshapableTo1DTensor $add_rhs),
       (HasEqualElementSize<[-1], [-1]> $bias, $add_rhs)]>;
    
    // Fuse AffineOp followed by an MulOp patterns.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 03:24:59 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_traits.h

          : public QuantizationSpecTraitBase<
                ConcreteType, AccumulatorUniformScale<Bias, Operands...>::Impl> {
       public:
        // Whether the index-th operand is a bias.
        static bool IsBias(int index) { return index == Bias; }
    
        // Returns the indexes of all the non-bias operands.
        static std::vector<int> GetAllNonBiasOperands() {
          return std::vector<int>({Operands...});
        }
      };
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 07:39:40 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/tests/dilated-conv.mlir

      // CHECK-NEXT: [[CONV:%.*]] = "tf.Conv2D"([[INPUT]], [[FILTER]]) <{dilations = [1, 2, 2, 1], padding = "SAME", strides = [1, 1, 1, 1]}> : (tensor<1x128x128x3xf32>, tensor<5x5x3x8xf32>) -> tensor<1x128x128x8xf32>
      // CHECK-NEXT: [[RESULT:%.*]] = "tf.BiasAdd"([[CONV]], [[BIAS]]) : (tensor<1x128x128x8xf32>, tensor<8xf32>) -> tensor<1x128x128x8xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 44.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td

    def UndoBroadcastFullyConnectedBiasAdd : Pat<
      (TFL_AddOp $lhs, (Arith_ConstantOp:$const_value $bias), TFL_AF_None),
      (TFL_AddOp $lhs, (Arith_ConstantOp (FlattenTo1D $bias)), TFL_AF_None),
      [(AnyStaticShapeTensor $lhs),
       (IsLastDimEqualToNumElements $bias, $bias),
       (HasRankAtMost<4> $bias),
       (HasRankAtLeast<2> $bias),
       (IsDefinedByFullyConnectedOp $lhs),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 66.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/quantization_options.proto

        // conversion, then dequantized during inference.
        // Activation: f32, Weight: qi8, Bias: f32
        WEIGHT_ONLY = 1;
    
        // Apply default dynamic range quantization. Quantized tensor value's
        // ranges are determined during graph runtime.
        // Activation: f32, Weight: qi8, Bias: f32
        POST_TRAINING_QUANTIZATION_DYNAMIC_RANGE = 2;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 22 02:20:05 UTC 2023
    - 3.6K bytes
    - Viewed (0)
Back to top