Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 455 for operand0 (0.1 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_stablehlo_to_vhlo.cc

      rewriter.replaceAllUsesExcept(result, new_value, new_value.getDefiningOp());
    }
    
    // Wrap operands in an an unrealized cast to create a cast to buffer any type
    // changes to the operand, and apply type converter to operands:
    //   V0 = op(operand)
    //   ==>
    //   V0 = unrealized_cast(operand)
    //   V1 = op(V0)
    void WrapOperandsInUnrealizedCastAndConvert(Operation *op,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 19:48:51 UTC 2024
    - 12.3K 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. 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)
  4. 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)
  5. 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)
  6. src/go/parser/testdata/issue44504.src

    // license that can be found in the LICENSE file.
    
    // Test case for go.dev/issue/44504: panic due to duplicate resolution of slice/index
    // operands. We should not try to resolve a LHS expression with invalid syntax.
    
    package p
    
    func _() {
      var items []bool
      items[] /* ERROR "operand" */ = false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 12:56:53 UTC 2023
    - 410 bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. tensorflow/compiler/mlir/tensorflow/ir/tf_op_base.td

    // operand.
    class TF_DerivedOperandSizeAttr<int idx> : DerivedAttr<
      "size_t",
      "auto range = getODSOperands(" # idx # ");\n"
      "return std::distance(range.begin(), range.end());",
      [{ $_builder.getI64IntegerAttr($_self) }]>;
    
    // A derived attribute that returns the element type of `idx`-th ODS-declared
    // operand. If the `idx`-th operand is a variadic operand, then this attribute
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 30.5K bytes
    - Viewed (0)
Back to top