Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 521 for operands_ (0.14 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/cluster_ops_by_policy.h

    // In order to be clustered operation can require its operands to satisfy
    // some constraints (e.g. reduction operation can require reduction dimension
    // operand to be a constant value).
    enum class ValueConstraint {
      // Operand must have statically known rank.
      kRank = 0,
      // Operand must have statically known shape (all dimensions are known at
      // compile time).
      kShape = 1,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 03:47:00 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  2. src/go/types/expr.go

    // If an error occurs, x.mode is set to invalid.
    func (check *Checker) matchTypes(x, y *operand) {
    	// mayConvert reports whether the operands x and y may
    	// possibly have matching types after converting one
    	// untyped operand to the type of the other.
    	// If mayConvert returns true, we try to convert the
    	// operands to each other's types, and if that fails
    	// we report a conversion failure.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/rewrite_tpu_embedding_ops.cc

    };
    
    // Rewrites the given op to `OpT` op after adding the given operand at the end.
    template <typename OpT>
    OpT AddOperandAndRewriteAs(Operation* op, Value operand, NamedAttrList attr,
                               OpBuilder* builder) {
      builder->setInsertionPoint(op);
      auto operands = llvm::to_vector<4>(op->getOperands());
      operands.push_back(operand);
      auto new_op = builder->create<OpT>(op->getLoc(), op->getResultTypes(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 22:55:42 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_tensor_helper.cc

    // Returns the RankedTensorType for the given operand. TensorFlow constant ops
    // may have non-static shape because the shape is not propagated during constant
    // folding. If the defining op for the given operand is a constant op, this
    // routine uses the constant op's attribute to get the actual shape.
    RankedTensorType GetRankedTensorTypeForOperand(Value operand) {
      DenseElementsAttr attr;
      if (matchPattern(operand, m_Constant(&attr))) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/transforms/reduce_while_operands.cc

        }
        // op has implict arguments not listed in operands.
        // Fact: if every op's operands are defined in the same block as op,
        //       then no operation has implicit arugments (constant doesn't count).
        for (auto operand : op->getOperands()) {
          if (mlir::dyn_cast_or_null<BlockArgument>(operand)) continue;
          auto operand_op = operand.getDefiningOp();
          if (IsConstant(operand_op)) continue;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/ppc64/doc.go

    1. Operand ordering
    
    In Go asm, the last operand (right) is the target operand, but with PPC64 asm,
    the first operand (left) is the target. The order of the remaining operands is
    not consistent: in general opcodes with 3 operands that perform math or logical
    operations have their operands in reverse order. Opcodes for vector instructions
    and those with more than 3 operands usually have operands in the same order except
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 16:47:45 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/experimental/common/outline_operations.cc

             matchPattern(op, m_Constant()) || isa<QConstOp>(op);
    }
    
    // Pre-order traverse, adding results and BlockArgs to `been_defined` and
    // collecting operands not contained within `been_defined`. If we encounter an
    // operand that references a Value that has been defined (and added to
    // `been_defined`) it is garuanteed that the Value definition is not contained
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_communication.cc

      if (flatten_tuple) {
        auto operands = llvm::to_vector(values);
        operands.push_back(token);
        return operands;
      }
    
      auto value = values[0];
      // If value with token already exists, reuse it.
      auto it = rewritten_values.find(value);
      if (it != rewritten_values.end()) return {it->getSecond()};
    
      auto create_tuple = [&](ArrayRef<Value> operands) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 40.5K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top