- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 843 for OP (0.02 sec)
-
src/cmd/compile/internal/ssa/memcombine.go
v := a[0] if v.Op == shiftOp { v = v.Args[0] } var extOp Op if orOp == OpOr64 && (v.Op == OpZeroExt8to64 || v.Op == OpZeroExt16to64 || v.Op == OpZeroExt32to64) || orOp == OpOr32 && (v.Op == OpZeroExt8to32 || v.Op == OpZeroExt16to32) || orOp == OpOr16 && v.Op == OpZeroExt8to16 { extOp = v.Op v = v.Args[0] } else { return false } if v.Op != OpLoad { return false }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 19:45:41 UTC 2024 - 18.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.td
//===----------------------------------------------------------------------===// // DivNoNan and MulNonNan op patterns. //===----------------------------------------------------------------------===// class BinaryNoNanPat<Op FromOp, Op ToOp> : Pat<(FromOp $l, $r), (TF_SelectV2Op (TF_EqualOp $r, (TF_ConstOp:$zero (GetScalarOfType<0> $r)),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 04 13:30:42 UTC 2024 - 24.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/xla_call_module_deserialization.cc
auto loader, tensorflow::XlaCallModuleLoader::Create( context, static_cast<int>(op.getVersion()), op.getModule().str(), std::move(disabled_checks), std::move(platforms), /*num_invocation_args=*/op.getArgs().size(), op.getHasTokenInputOutput())); return std::move(*loader).module(); } // Renames functions in the stablehlo module to avoid naming conflicts with
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 23 09:05:47 UTC 2024 - 11.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_weights.cc
// And the dequant_op op will propagate towards quant_op only. if (failed(quantizeOps(rewriter, op, weight_component_spec.value()))) { return failure(); } return success(); } private: // Check if op's user or op's user after an identity op is connected to a // terminator. bool checkIfAnyUserIsConnectedToTermiantor(BlockArgument op) const {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 05 07:39:40 UTC 2024 - 11.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver.cc
InitializeArgState(arg, value); } fn_.walk([&](Operation* op) { std::unique_ptr<OpQuantScaleSpec> scale_spec = GetQuantScaleSpec(op); if (!IsOpQuantizable(op) && !scale_spec->has_same_scale_requirement) { return; } work_list_.push_back(op); for (int i = 0; i < op->getNumOperands(); ++i) { Value operand = op->getOperand(i); if (Operation* inst = operand.getDefiningOp()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 38.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/insert_weight_param.cc
LogicalResult match(Operation* op) const override { if (op->getNumResults() != 1) { return failure(); } auto type = mlir::cast<TensorType>(op->getResult(0).getType()); if (!type || !type.getElementType().isF32()) { return failure(); } return success( op->hasOneUse() && IsWeightQuantizableFunction(*op->getUses().begin(), type.getRank())); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 05:56:10 UTC 2024 - 10.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/analysis/side_effect_analysis.h
// Runs the analysis and populates `control_predecessors_` for `op`. void AnalyzeOp(Operation* op); // Updates `control_predecessors_` for given `resource_id` and `op`. void AddPredecessorsForAccess(ResourceId resource_id, Operation* op, bool read_only); // Updates resource access for given `resource_id` and `op` in // `per_resource_access_info_` and `op_to_resource_ids_`.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 15 09:04:13 UTC 2024 - 14.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/attrs_and_constraints.h
// Returns the entry function name for the given tf.XlaCallModule op. Returns // empty string if such attribute does not exist. StringRef GetEntryFunctionName(TF::XlaCallModuleOp op); // Checks whether the given op contains QuantizationTrait::FullyQuantizable. inline bool HasQuantizableTrait(Operation* op) { return op->hasAttrOfType<StringAttr>(kQuantTraitAttrName) && op->getAttrOfType<StringAttr>(kQuantTraitAttrName).getValue().str() ==
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 9.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_device.cc
rewriter.replaceOpWithNewOp<tf_device::ReturnOp>(return_op, cluster_vals); // Rewrite the cluster op. rewriter.setInsertionPoint(op); auto new_op = rewriter.create<tf_device::ClusterOp>( op->getLoc(), new_return.getOperandTypes(), op->getOperands(), op->getAttrs()); rewriter.inlineRegionBefore(op.getBodyRegion(), new_op.getBodyRegion(), new_op.getBodyRegion().end()); int idx = 0;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 33.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/legalize_tensorlist.cc
LogicalResult matchAndRewrite(TF::TensorListPopBackOp op, PatternRewriter& rewriter) const override { // It is currently not possible to easily pack the output of a multi-result // op into an op with a single varidic output in `.td`. auto converted = rewriter.create<TFL::CustomOp>( op->getLoc(), op->getResultTypes(), op->getOperands(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 07 23:04:40 UTC 2024 - 10.6K bytes - Viewed (0)