- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 232 for operands_ (0.26 sec)
-
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) -
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) -
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) -
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) -
tensorflow/compiler/mlir/tensorflow/transforms/cluster_ops_by_policy.cc
constraints.Walk([](Value value, ValueConstraint constraint) { for (OpOperand &operand : value.getUses()) operand.getOwner()->emitRemark( llvm::formatv("operand #{0} constrained to: {1}", operand.getOperandNumber(), constraint)); }); } void EmitInputsConstraintsRemarks(func::FuncOp func,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 27.9K bytes - Viewed (0) -
src/go/types/call.go
if n := len(elist); n == 1 { xlist, _ = check.multiExpr(elist[0], false) } else if n > 1 { // multiple (possibly invalid) values xlist = make([]*operand, n) for i, e := range elist { var x operand check.expr(nil, &x, e) xlist[i] = &x } } return } // genericExprList is like exprList but result operands may be uninstantiated or partially
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 33.5K bytes - Viewed (0) -
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) -
tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_sequencing.cc
// that was extracted.. // Find the input edges to form the set of operands to the new function call. llvm::SetVector<Value> inputs; for (Operation* op : ops) { for (Value operand : op->getOperands()) { Operation* defining_op = operand.getDefiningOp(); if (!ops.contains(defining_op)) inputs.insert(operand); } } // Find the output edges to form the set of resutls of the new function call.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 39.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_device_propagation.cc
for (Value operand : op.getOperands()) { if (mlir::isa<tf_executor::TokenType>(operand.getType())) continue; if (mlir::isa<tf_executor::ControlType>(operand.getType())) break; if (is_switch && llvm::isa_and_nonnull<tf_executor::LoopCondOp>(operand.getDefiningOp())) continue; auto it = value_to_device.find(operand);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/executor_island_coarsening.cc
// Collect operands for the new merged island. island_operands_and_results.operands.clear(); for (IslandOp island : merged_island.islands) island_operands_and_results.operands.insert(island.operand_begin(), island.operand_end()); for (IslandOp island : merged_island.islands) island_operands_and_results.operands.remove(island.getControl());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 19.7K bytes - Viewed (0)