- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 1,612 for OP (0.03 sec)
-
tensorflow/compiler/mlir/quantization/tensorflow/passes/propagate_quantize_type.cc
// Create a new dequantize op that is propagated. rewriter.setInsertionPointAfter(user_op); TF::PartitionedCallOp new_dequantize_op = cast<TF::PartitionedCallOp>(rewriter.clone(*original_dequantize_op)); // Skip the original dequant op and connect the op before dequantize to the // user op. user_op->setOperand(user_idx, op_before_dequantize);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/quantize_weight.cc
// old ConstantOp is guaranteed to have one F32->F16 convert op regardless // of its number of users. rewriter.setInsertionPointAfter(op); // create new F16 constant op in that location ConstantOp new_const = rewriter.create<ConstantOp>( op->getLoc(), new_result_type, new_value_attr); ConvertOp dcast = rewriter.create<ConvertOp>(op->getLoc(), old_result_type, new_const);
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/tf2xla/internal/passes/extract_outside_compilation.cc
}) .wasInterrupted(); } // Returns whether `op` or any ancestors of `op` are outside compiled. bool HasOutsideCompilationAncestor(Operation* op) { while (op) { if (op->hasAttr(kXlaOutsideCompilationAttr)) { return true; } op = op->getParentOp(); } return false; } // Returns whether any ancestors of `op` are outside compiled.
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/tf2xla/transforms/legalize_tf_communication.cc
} // Checks if an op is a TF/XLA communication op. bool IsCommunicationOp(Operation* op) { return isa<TF::_XlaHostComputeMlirOp, TF::XlaSendToHostOp, TF::XlaRecvFromHostOp>(op); } // Checks if an op is a supported HLO control flow op. bool IsControlFlowOp(Operation* op) { return isa<IfOp, WhileOp>(op); } // Collects control flow op ancestors of a given op, up until FuncOp. If any
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 40.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_stablehlo_custom_call_to_composite.cc
auto calledComputations = op.getCalledComputations(); if (!calledComputations || calledComputations.size() != 1) return op->emitError("expected exactly one called_computation"); auto decomposition = mlir::cast<FlatSymbolRefAttr>(calledComputations[0]); auto composite = rewriter.create<mlir::stablehlo::CompositeOp>( op.getLoc(), op.getResultTypes(), op.getOperands(), name.str(), attrs, decomposition.getValue());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 4.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/extract_head_tail_outside_compilation.cc
llvm::all_of(cluster_op.getUsers(), [&](Operation* op) { return op == terminator || tail_outside_compiled_ops_set.count(op); }); if (!can_be_extracted) continue; // 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()) {
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/tf2xla/internal/passes/verify_input_dialect_to_executor_pass.cc
op->getDialect()->getNamespace().str() + " which is not an accepted dialect"; op->emitError() << error; return WalkResult::interrupt(); } if (IsTfDeviceClusterFuncOp(op)) { std::string error = "failed TF functional to executor validation, op " "tf_device.cluster_func is not allowed"; op->emitError() << error;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Dec 08 16:32:56 UTC 2023 - 2.7K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/nilcheck.go
// before the slice access (and all cap>0 slices have a non-nil ptr). See #30366. if v.Op == OpAddr || v.Op == OpLocalAddr || v.Op == OpAddPtr || v.Op == OpOffPtr || v.Op == OpAdd32 || v.Op == OpAdd64 || v.Op == OpSub32 || v.Op == OpSub64 || v.Op == OpSlicePtr { nonNilValues[v.ID] = v } } } for changed := true; changed; { changed = false for _, b := range f.Blocks {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 31 20:45:54 UTC 2023 - 11.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/ops/stablehlo_op_quant_spec.cc
if (isa<func::ConstantOp, mlir::stablehlo::ConstantOp>(op)) { // Constant ops do not have QuantizableResult attribute but can be // quantized. return true; } else if (op->hasTrait<OpTrait::IsTerminator>() || isa<quantfork::QuantizeCastOp, quantfork::DequantizeCastOp>(op)) { // Terminators, qcast and decast are not quantizable. return false; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 05:56:10 UTC 2024 - 7.8K bytes - Viewed (0) -
src/regexp/syntax/prog.go
for i.Op == InstNop || i.Op == InstCapture { i = &p.Inst[i.Out] } return i } // op returns i.Op but merges all the Rune special cases into InstRune func (i *Inst) op() InstOp { op := i.Op switch op { case InstRune1, InstRuneAny, InstRuneAnyNotNL: op = InstRune } return op } // Prefix returns a literal string that all matches for the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 20:50:01 UTC 2024 - 7.7K bytes - Viewed (0)