Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 493 for operands_ (0.17 sec)

  1. tensorflow/compiler/mlir/tfr/ir/tfr_ops.td

        the same symbol scope as the callee. The operands and result types of the
        call must match the specified function type. The callee is encoded as a
        symbol reference attribute named "callee".
    
        Example:
    
        ```mlir
        %2 = tfr.call @my_add(%0, %1) : (tfr.tensor, f32) -> tfr.tensor_list
        ```
    
        Note that the operands of the `call` operation can only be with tfr.tensor,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 10:54:29 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

      Value GetNumElements(TF::TensorListReserveOp op, ValueRange operands,
                           PatternRewriter *rewriter) const override {
        Value scalar_zero = CreateI32SplatConst(op.getLoc(), rewriter, {}, 0);
        Type shape_dtype = getElementTypeOrSelf(op.getElementShape().getType());
        Value num_elements = operands[1];
        IntegerAttr attr;
        if (matchPattern(num_elements, m_Constant(&attr))) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/internal/passes/extract_head_tail_outside_compilation.cc

        // Collect operands of cluster op that are generated within the cluster.
        // These values should be returned by the cluster.
        cluster_op.walk([&](Operation* op) {
          for (Value operand : op->getOperands()) {
            Operation* operand_op = GetOpOfValue(operand);
            if (operand_op->getParentRegion() == cluster_region)
              cluster_results_set.insert(operand);
          }
        });
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_async.cc

          // For simplicity, we don't consolidate these ops when all the
          // non-canonicalizable operands are adjacent.
          new_values.push_back(
              rewriter
                  .create<fallback_async::CoreRTTensorHandleToFallbackTensorOp>(
                      op.getLoc(), rewriter.getType<fallback::TFTensorType>(),
                      operand, op->getAttrOfType<mlir::StringAttr>("device"))
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 01:19:25 UTC 2023
    - 15.6K bytes
    - Viewed (0)
  5. 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)
  6. src/internal/types/testdata/check/shifts.go

    	var s uint
    	_ = 1.0 /* ERROR "shifted operand 1.0 (type float64) must be integer" */ <<s == 1
    	_ = 1.0 /* ERROR "shifted operand 1.0 (type float64) must be integer" */ <<s == 1.0
    	_ = 1 /* ERROR "shifted operand 1 (type float64) must be integer" */ <<s == 1.0
    	_ = 1 /* ERROR "shifted operand 1 (type float64) must be integer" */ <<s + 1.0 == 1
    	_ = 1 /* ERROR "shifted operand 1 (type float64) must be integer" */ <<s + 1.1 == 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

        llvm::SmallVector<Value, 4> operands(addn_op.getInputs().begin(),
                                             addn_op.getInputs().end());
    
        int64_t n = operands.size();
        // Keep doing tree-based reduction when there are more than one operand.
        while (n > 1) {
          for (int64_t i = 0; i < n; i += 2) {
            // Add two adjacent operands if applicable.
            operands[i / 2] =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/analyze_variables.cc

        }
    
        // If any of the operands is a resource type, then we break
        // and mark the module as not valid for TFLite legalization.
        // Note: this might disable native variables in more than needed cases.
        // TODO(b/189370197): Enhance variable analysis.
        for (auto operand : op->getOperands()) {
          if (mlir::isa<TF::ResourceType>(
                  getElementTypeOrSelf(operand.getType()))) {
            legalize_to_tfl = false;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/quantization/quantization_context.h

        // The map contains all the quantization parameters which are required to
        // satisfy the same operands and results constraint. The keys of this map
        // are the values from `operand_states_` and `result_state_`.
        std::unordered_map<int, RequantizeState> rescale_states_;
    
        // Maps of indexes to the propagation state vector from the ops operands,
        // results and arguments.
        llvm::DenseMap<OpValue, int> operand_states_;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 08 01:38:03 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  10. 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)
Back to top