Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 232 for operands_ (0.26 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc

        new_types.back() = rewriter.getType<tf_executor::ControlType>();
    
        // Control operand is attached on tf_executor::IslandOp.
        llvm::SmallVector<Value> island_control_operands;
        llvm::SmallVector<Value> inner_op_operands;
    
        for (Value value : operands) {
          // Because of the property of graph region, the control operands may
          // not have been converted to tf_executor::ControlType.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/transforms/optimize.cc

        return rewriter.notifyMatchFailure(
            concat, "Concatenate op should have at least two operands");
    
      auto first = concat.getVal()[0].getDefiningOp<mhlo::SliceOp>();
      auto second = concat.getVal()[1].getDefiningOp<mhlo::SliceOp>();
      if (!first || !second)
        return rewriter.notifyMatchFailure(concat, "operands are not slice ops");
      if (first.getOperand() != second.getOperand())
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/functional_control_flow_to_cfg.cc

    // Requires the function to provide arguments for each of the `fn` operands
    // that is compatible for tensor cast.
    static Operation* CallFn(Location loc, const std::function<Value(int)>& get_arg,
                             func::FuncOp fn, OpBuilder* builder) {
      FunctionType fn_type = fn.getFunctionType();
      llvm::SmallVector<Value, 4> operands;
      int num_operands = fn_type.getNumInputs();
      operands.reserve(num_operands);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 13 11:42:59 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/g3doc/tf_dialects.md

    The `tf_executor.graph` operation does not accept any operands, inputs are
    implicitly captured by the region, representing the feeds to the graph.
    
    The region attached to `tf_executor.graph` is terminated by a
    `tf_executor.fetch` operation. The non-control operands of the terminator
    correspond to the result values (or fetches) of the `tf_executor.graph`
    operation. The behavior is undefined if any of the operands of the
    `tf_executor.fetch` is dead.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 13 16:33:28 UTC 2021
    - 16K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/executor_canonicalize.mlir

        }
        tf_executor.fetch %0 : !tf_executor.control
      }
      func.return
    }
    
    // CHECK-NEXT: return
    
    
    // Test empty island with no operands and no data result user is removed.
    // Control result users should also have their respective operands removed.
    // CHECK-LABEL: func @empty_island_no_operand_no_data_result
    func.func @empty_island_no_operand_no_data_result() {
      tf_executor.graph {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Nov 04 14:07:37 UTC 2022
    - 13.6K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/link.go

    type Prog struct {
    	Ctxt     *Link     // linker context
    	Link     *Prog     // next Prog in linked list
    	From     Addr      // first source operand
    	RestArgs []AddrPos // can pack any operands that not fit into {Prog.From, Prog.To}, same kinds of operands are saved in order
    	To       Addr      // destination operand (second is RegTo2 below)
    	Pool     *Prog     // constant pool entry, for arm,arm64 back ends
    	Forwd    *Prog     // for x86 back end
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/stablehlo/transforms/fold_broadcast_pass.cc

        if ((lhs_bcast_op && rhs_bcast_op) || (!lhs_bcast_op && !rhs_bcast_op)) {
          return rewriter.notifyMatchFailure(
              binary_op, "Operands should have exactly one BroadcastInDim op.");
        }
        // When the operand other than the broadcast op is not a const op, we
        // should not fold broadcast op.
        auto binary_op_const_operand =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_tf_xla_call_module_to_stablehlo_pass.cc

          Value operand = std::get<0>(operand_and_type);
          Type expected_type = std::get<1>(operand_and_type);
          if (operand.getType() != expected_type) {
            operand = rewriter.create<TF::CastOp>(
                op.getLoc(), expected_type, operand,
                /*Truncate=*/rewriter.getBoolAttr(false));
          }
          casted_operands.push_back(operand);
        }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 25 09:43:18 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/common/ir/QuantOps.td

    //
    // Like qcasts, a dcast is allowed to have both its operand and result
    // as non quantized types. This facilitates transformations and marks edges
    // where the computation must be carried out in the expressed type.
    //
    // Especially early in transformation, it is common to have dcasts on
    // all operands to ops that must operate with the expressed type (typically
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 09 03:10:59 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/assignments.go

    				v = w
    				v_used = v.used
    			}
    		}
    	}
    
    	var x operand
    	check.expr(nil, &x, lhs)
    
    	if v != nil {
    		v.used = v_used // restore v.used
    	}
    
    	if x.mode == invalid || !isValid(x.typ) {
    		return Typ[Invalid]
    	}
    
    	// spec: "Each left-hand side operand must be addressable, a map index
    	// expression, or the blank identifier. Operands may be parenthesized."
    	switch x.mode {
    	case invalid:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 23 21:21:43 UTC 2024
    - 16.4K bytes
    - Viewed (0)
Back to top