Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for operand$i (0.14 sec)

  1. tensorflow/compiler/jit/deadness_analysis.cc

        return operands_;
      }
      absl::Span<Predicate* const> operands() const { return operands_; }
    
     private:
      std::vector<Predicate*> operands_;
    };
    
    // Represents a logical negation of a set of predicates.
    class NotPredicate : public Predicate {
     public:
      explicit NotPredicate(int64_t id, Predicate* operand)
          : Predicate(id), operands_({operand}) {}
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 60.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/syntax/parser.go

    			var i Expr
    			if p.tok != _Colon {
    				var comma bool
    				if p.tok == _Rbrack {
    					// invalid empty instance, slice or index expression; accept but complain
    					p.syntaxError("expected operand")
    					i = p.badExpr()
    				} else {
    					i, comma = p.typeList(false)
    				}
    				if comma || p.tok == _Rbrack {
    					p.want(_Rbrack)
    					// x[], x[i,] or x[i, j, ...]
    					t := new(IndexExpr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc

      for (auto operand : forward_caller->getOperands()) {
        if (llvm::isa<BlockArgument>(operand)) {
          // Pull this from the original operands to the original while op.
          auto arg = llvm::cast<BlockArgument>(operand);
          f_operands.push_back(loop_operands[arg.getArgNumber()]);
          continue;
        }
        auto src = operand.getDefiningOp();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

    // we will use the original operand's type, otherwise update it with the
    // unranked tensor type.
    template <typename R>
    void UpdateTensorListTypes(
        const llvm::SmallSet<int, 4> &tensor_list_index,
        const llvm::SmallSet<int, 4> &resized_tensor_list_index,
        ArrayRef<Type> types, R &&range, ValueRange operands,
        llvm::SmallVectorImpl<Type> *updated_types) {
      int i = 0;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/internal/passes/extract_outside_compilation.cc

      auto replace_operand_usage = [&](OpOperand& operand) {
        if (mlir::TF::CanBeRefined(operand.get().getType()) ||
            HasDynamicOutputs(operand.getOwner())) {
          return insertion_point->getParentRegion()->isAncestor(
              operand.getOwner()->getParentRegion());
        }
        return insertion_point->getParentRegion()->isAncestor(
                   operand.getOwner()->getParentRegion()) ||
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 68.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td

        (BinaryOp:$result (TFL_TileOp $input, (Arith_ConstantOp $tile)),
         $operand, $act_func),
        (BinaryOp $input, $operand, $act_func),
      [(OperandsBroadcastToOutputType $input, $operand, $result),
       (HasRankAtMost<4> $input),
       (HasRankAtMost<4> $operand)]>;
    
      def FuseTileBroadcastToBinaryOp2#BinaryOp : Pat<
        (BinaryOp:$result $operand,
          (TFL_TileOp $input, (Arith_ConstantOp $tile)), $act_func),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 66.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/tpu_cluster_formation.mlir

    // CHECK-NOT:  "tf.TPUReplicatedOutput"
    
    
    // Test replication with replicated operands and replicated results. The cluster
    // will be wrapped in a `tf_device.cluster` first and then by a replicate.
    // TPUReplicatedInput and TPUReplicatedOutput nodes will be replaced by the
    // replicate operands and results.
    // CHECK-LABEL: func @replication
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc

              new_return.setOperand(resource_arg_to_new_output[index], value);
            });
      }
    
      // Recreate the op without resource operands.
      OpBuilder builder(op);
      // Now use the filtered original operands, which will be replaced by
      // AddLoadsStoresOutsideControlFlowOp().
      auto new_operands =
          FilterRange<Value, OperandRange>(op.getInput(), resource_arg_uses);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 55.1K bytes
    - Viewed (0)
Back to top