Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for Bias (0.18 sec)

  1. tensorflow/compiler/mlir/lite/transforms/default_quant_params.cc

              mlir::cast<quant::QuantizedType>(non_bias_type.getElementType());
          non_bias_types.push_back(non_bias_ele_type);
        } else {
          // The non-bias hasn't been quantized, let's skip this bias.
          break;
        }
      }
      // The non-bias hasn't been quantized, let's skip this bias.
      if (non_bias_types.size() != non_biases.size()) return {};
    
      return func(/*op_types=*/non_bias_types, /*adjusted_quant_dim=*/-1,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/optimize.mlir

    // CHECK-NEXT: %[[conv:.*]] = "tf.Conv2D"(%arg0, %[[cst]])
    // CHECK-NEXT: %[[bias:.*]] = "tf.AddV2"(%[[conv]], %[[cst_0]])
    // CHECK-NEXT: return %[[bias]] : tensor<256x8x7x16xf32>
    }
    
    // CHECK-LABEL: convaddv2mul
    func.func @convaddv2mul(%arg: tensor<256x32x32x3xf32>) -> tensor<256x8x7x16xf32> {
      %filter = arith.constant dense<2.0> : tensor<3x3x3x16xf32>
      %bias = arith.constant dense<3.0> : tensor<16xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 05 18:35:42 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/optimize_batch_matmul.td

      ),
      [(AreLastTwoDimsTransposed $perm_value), (IsNoneType $bias)]>;
    
    // Fuses TFL_FullyConnectedOp and TFL_TransposeOp Rhs to TFL_BatchMatMulOp
    def FuseTransposeFCRhsToBatchMatmul : Pat<
      (TFL_FullyConnectedOp
        2DTensorOf<[F32]>:$lhs,
        (TFL_TransposeOp TensorOf<[F32]>:$rhs, (Arith_ConstantOp:$perm_value $p0)),
        $bias, $TFL_AF_None, $TFL_FCWO_Default,
        $keep_num_dims, $asymmetric_quantize_inputs
        ),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 09 23:44:09 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. tensorflow/compiler/mlir/tfr/examples/mnist/ops_defs.py

        'NewFullyConnected',
        inputs=['input_: T', 'filter_: T', 'bias: T'],
        attrs=['act: {"", "RELU", "RELU6", "TANH"} = ""'],
        derived_attrs=['T: {float, int8}'],
        outputs=['o: T'])
    def _composite_fully_connected(input_, filter_, bias, act):
      res = tf.raw_ops.MatMul(
          a=input_, b=filter_, transpose_a=False, transpose_b=True)
      res = tf.raw_ops.Add(x=res, y=bias)
      if act == 'RELU':
        return tf.raw_ops.Relu(features=res)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 31 20:23:51 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/tests/optimize-after-quantization.mlir

      func.return %1 : tensor<256x8x7x3xf32>
    
      // CHECK: %[[weight:.*]] = arith.constant dense<3.000000e+00> : tensor<3x3x3x3xf32>
      // CHECK: %[[bias:.*]] = arith.constant dense<[1.500000e+00, 3.000000e+00, 4.500000e+00]>
      // CHECK: %[[conv:.*]] = "tfl.conv_2d"(%arg0, %[[weight]], %[[bias]])
      // CHECK: return %[[conv]] : tensor<256x8x7x3xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 05 18:35:42 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_mark_initialized_variables.mlir

      func.func @serving_default(%arg0: tensor<!tf_type.resource<tensor<100x50xf32>>> {tf.resource_name = "dense/kernel"}, %arg1: tensor<!tf_type.resource<tensor<50xf32>>> {tf.resource_name = "dense/bias"}) -> (tensor<100x50xf32> {tf_saved_model.index_path = ["dense_2"]})
      attributes {tf.entry_function = {control_outputs = "", inputs = "", outputs = "dense_2/Add:0"}, tf_saved_model.exported_names = ["serving_default"]} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  10. 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)
Back to top