- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 39 for operand1 (0.11 sec)
-
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) -
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) -
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) -
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) -
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) -
tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc
Value GetNumElements(TF::TensorListReserveOp op, ValueRange operands, PatternRewriter *rewriter) const override { Value scalar_zero = CreateI32SplatConst(op.getLoc(), rewriter, {}, 0); Type shape_dtype = getElementTypeOrSelf(op.getElementShape().getType()); Value num_elements = operands[1]; IntegerAttr attr; if (matchPattern(num_elements, m_Constant(&attr))) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 70.7K bytes - Viewed (0) -
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) -
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) -
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) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td
let hasRegionVerifier = 1; let builders = [ OpBuilder<(ins "TypeRange":$resultTypes, "ValueRange":$operands, "llvm::ArrayRef<::mlir::NamedAttribute>":$attributes, "unsigned":$numRegions), [{ assert(numRegions == 2u && "mismatched number of regions"); build($_builder, $_state, resultTypes, operands, attributes); }]>]; let hasCanonicalizer = 1; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 04:08:35 UTC 2024 - 90.5K bytes - Viewed (0)