- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 522 for OP (0.02 sec)
-
tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver.h
// Returns all the related quantization constraints of the op. std::unique_ptr<OpQuantSpec> GetQuantSpec(Operation* op); std::unique_ptr<OpQuantScaleSpec> GetQuantScaleSpec(Operation* op); // Returns whether quantization parameters have been propagated to the results // of this op. bool IsQuantized(Operation* op); // Adds all the users of index-th result of op to the work list.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 20 11:42:17 UTC 2024 - 16.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/import_quant_stats_pass.cc
} b.setInsertionPointAfter(op); if (IsQuantizableResult(op, index)) { InsertStatsOpAtResult(b, op->getResult(index), layer_stats, axis_stats, axis); } else { for (int i = 0, e = op->getNumResults(); i < e; ++i) { if (IsQuantizableResult(op, i)) { InsertStatsOpAtResult(b, op->getResult(i), layer_stats, axis_stats, axis);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 08 10:41:08 UTC 2024 - 9.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_custom_aggregation_ops.cc
using ::stablehlo::quantization::Method; constexpr StringRef kQuantTraitAttrName = "_tfl_quant_trait"; // Whether the op is a call op to lifted composite function. bool IsCallToQuantizableLiftedFunction(Operation *op) { if (!op) return false; if (auto xla_call_module_op = dyn_cast_or_null<TF::XlaCallModuleOp>(op); xla_call_module_op != nullptr) { absl::StatusOr<Method> method = GetQuantizationMethod(xla_call_module_op);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 14.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/dilated_conv.h
public: LogicalResult matchAndRewrite(Conv2dOpTy op, PatternRewriter& rewriter) const override; }; template <typename Conv2dOpTy> LogicalResult ConvertTFDilatedConvOp<Conv2dOpTy>::matchAndRewrite( Conv2dOpTy op, PatternRewriter& rewriter) const { if (!op.getResult().hasOneUse()) { return rewriter.notifyMatchFailure( op, "result for current op has more than 1 use"); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 20K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/deadstore.go
// with sym effects already. Sanity check that here. // Ignore Args since they can't be autos. if v.Op.SymEffect() != SymNone && v.Op != OpArg { panic("unhandled op with sym effect") } if v.Uses == 0 && v.Op != OpNilCheck && !v.Op.IsCall() && !v.Op.HasSideEffects() || len(args) == 0 { // We need to keep nil checks even if they have no use.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 25 20:07:26 UTC 2024 - 11K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/analysis/resource_alias_analysis.cc
// the attached regions first before visiting the op, so there is no // opportunity during the walk to seed region arguments. Also note that walk // eventually also visits the Op on which the walk() is called, so make sure // we do not overwrite the function argument mapping here. func_op.walk([&](Operation* op) { if (op == func_op) return; for (Region& region : op->getRegions()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 15 09:04:13 UTC 2024 - 28.2K bytes - Viewed (0) -
src/cmd/asm/internal/asm/asm.go
// Parse left to right. op := operands[next] if len(op) < 2 || op[0].ScanToken != '$' { p.errorf("TEXT %s: frame size must be an immediate constant", name) return } op = op[1:] negative := false if op[0].ScanToken == '-' { negative = true op = op[1:] } if len(op) == 0 || op[0].ScanToken != scanner.Int {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 02:04:54 UTC 2024 - 25.5K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/typecheck.go
return } if n.Op() == ir.OINDEXMAP { n := n.(*ir.IndexExpr) n.Assigned = true return } defer n.SetType(nil) switch { case n.Op() == ir.ODOT && n.(*ir.SelectorExpr).X.Op() == ir.OINDEXMAP: base.Errorf("cannot assign to struct field %v in map", n) case (n.Op() == ir.OINDEX && n.(*ir.IndexExpr).X.Type().IsString()) || n.Op() == ir.OSLICESTR:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 20 19:08:34 UTC 2024 - 30.5K bytes - Viewed (0) -
src/regexp/onepass.go
next := i.MatchRunePos(r) if next >= 0 { return i.Next[next] } if i.Op == syntax.InstAltMatch { return i.Out } return 0 } func iop(i *syntax.Inst) syntax.InstOp { op := i.Op switch op { case syntax.InstRune1, syntax.InstRuneAny, syntax.InstRuneAnyNotNL: op = syntax.InstRune } return op } // Sparse Array implementation is used as a queueOnePass. type queueOnePass struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:36:03 UTC 2024 - 13.7K bytes - Viewed (0) -
tensorflow/c/eager/c_api.cc
} void TFE_DeleteOp(TFE_Op* op) { if (op == nullptr) { return; } tensorflow::unwrap(op)->Release(); } const char* TFE_OpGetName(const TFE_Op* op, TF_Status* status) { return tensorflow::unwrap(op)->Name().c_str(); } TFE_Context* TFE_OpGetContext(const TFE_Op* op, TF_Status* status) { return tensorflow::wrap(tensorflow::unwrap(op)->GetContext()); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 08:11:23 UTC 2024 - 44K bytes - Viewed (0)