Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 175 for Operands (0.14 sec)

  1. src/fmt/errors.go

    //
    // If the format specifier includes a %w verb with an error operand,
    // the returned error will implement an Unwrap method returning the operand.
    // If there is more than one %w verb, the returned error will implement an
    // Unwrap method returning a []error containing all the %w operands in the
    // order they appear in the arguments.
    // It is invalid to supply the %w verb with an operand that does not implement
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/replicate_invariant_op_hoisting.cc

        return;
      }
    
      Operation* input_def = input.getDefiningOp();
    
      // If ShapeOp operand is a ReadVariableOp result where the ReadVariableOp
      // operand is a replicate resource block argument, replace ShapeOp with
      // VariableShapeOp and use the associated first replica operand as its
      // operand.
      auto read_var_op = llvm::dyn_cast<TF::ReadVariableOp>(input_def);
      if (!read_var_op) return;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/utils/shape_inference_utils.h

    namespace mlir {
    
    class Operation;
    
    namespace TF {
    
    // Runs TensorFlow shape inference associated to the op type registered in the
    // TensorFlow op registry based on the Graph version, operands, and attributes.
    // Invoking this shape function will create conversions of parameters to the
    // TensorFlow Graph equivalent data structures and back to MLIR equivalent data
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 06 04:50:13 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/quantization/tensorflow/tf_to_quant.cc

        auto res = tf_op.getOutputs();
        if (!res.hasOneUse() || isa<quantfork::QuantizeCastOp>(*res.user_begin()))
          return failure();
    
        // Extract the min/max constant values from the operands. We also consider
        // a special case that there are tf.Identity ops between the min/max
        // constants and the tf.FakeQuantWithMinMaxVarsOp.
        Value min = tf_op.getMin(), max = tf_op.getMax();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/bools/bools.go

    		if !ok || bin.Op != op.badEq {
    			continue
    		}
    
    		// In order to avoid false positives, restrict to cases
    		// in which one of the operands is constant. We're then
    		// interested in the other operand.
    		// In the rare case in which both operands are constant
    		// (e.g. runtime.GOOS and "windows"), we'll only catch
    		// mistakes if the LHS is repeated, which is how most
    		// code is written.
    		var x ast.Expr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/utils/fake_quant_utils.h

                                    OpBuilder &rewriter) const {
        if (tf_op.getNumBits() != 8) {
          return failure();
        }
    
        // Extract the min/max constant values from the operands. We also consider
        // a special case that there are tf.Identity ops between the min/max
        // constants and the tf.FakeQuantWithMinMaxVarsOp.
        FetchAttrType min_value, max_value;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/utils/fake_quant_utils.h

        auto res = tf_op.getOutputs();
        if (!res.hasOneUse() || isa<QuantizeOp>(*res.user_begin())) {
          return failure();
        }
    
        // Extract the min/max constant values from the operands. We also consider
        // a special case that there are tf.Identity ops between the min/max
        // constants and the tf.FakeQuantWithMinMaxVarsOp.
    
        FetchAttrType min_value, max_value;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/utils/lstm_utils.h

    // A utility class that enables the conversion of the LSTMCellSimple composite
    // op into a fused TFL LSTM op. The fused op is contained within a FuncOp
    // that also contains other supporting ops needed to construct the operands for
    // the fused op. The caller provides the containing FuncOp as input with
    // arguments specifying the input, weight, projection and bias.
    // The weight, projection, bias and layer norm scale all need to be
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 03 00:14:05 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/experimental/common/outline_operations.h

    // location with a `CallOp` which invokes said `FuncOp`. The inputs to
    // this new functions are taken to be the `Values` that appear as operands
    // to ops in the subgraph, which are not self-contained within the subgraph.
    // The outputs of this function are taken to be the results of ops in the
    // subgraph which are referenced as operands outside of the subgraph.
    // Also refer to documention of `AccumulateOperandsDefinedAbove` &
    // `AccumulateResultsDefinedWithin`.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 17 18:49:43 UTC 2022
    - 6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/passes/convert_func_to_bfloat16.cc

      BFloat16TypePattern(TypeConverter& converter, MLIRContext* ctx)
          : ConversionPattern(converter, MatchAnyOpTypeTag(), /*benefit=*/1, ctx) {}
    
      LogicalResult matchAndRewrite(
          Operation* op, const ArrayRef<Value> operands,
          ConversionPatternRewriter& rewriter) const override {
        if (getTypeConverter()->isLegal(op)) {
          return failure();
        }
        if (isa<mlir::stablehlo::BitcastConvertOp>(op)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top