- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 83 for lowering (0.17 sec)
-
tensorflow/compiler/mlir/lite/transforms/legalize_tf.cc
bool preserve_assert_op) { this->run_tfl_runtime_verification_ = run_tfl_runtime_verification; this->preserve_assert_op_ = preserve_assert_op; } /// Performs the lowering to TFLite dialect. void runOnOperation() override; }; // Util that casts 'val' to Int32 by adding a cast Op. Value CreateCastToInt32(Value val, Location loc, PatternRewriter& rewriter) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 20 20:06:54 UTC 2024 - 45.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/sccp.go
constValue.reset(OpInvalid) return lattice{bottom, nil} } func (t *worklist) visitValue(val *Value) { if !possibleConst(val) { // fast fail for always worst Values, i.e. there is no lowering happen // on them, their lattices must be initially worse Bottom. return } oldLt := t.getLatticeCell(val) defer func() { // re-visit all uses of value if its lattice is changed
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 22 16:54:50 UTC 2024 - 17.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalization_op_config.cc
TypeID::get<TF::AssertOp>(), // TF2XLA fallback pattern doesn't support these op as MLIR hlo builder // doesn't override the necessary builder methods. These ops have simple // lowering pattern so this should be safe. TypeID::get<TF::CrossReplicaSumOp>(), TypeID::get<TF::InfeedDequeueTupleOp>(), TypeID::get<TF::OutfeedEnqueueTupleOp>(), TypeID::get<TF::XlaShardingOp>(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 04:08:35 UTC 2024 - 21.7K bytes - Viewed (0) -
src/cmd/compile/internal/dwarfgen/dwinl.go
// In the top-level case (ii=0) this can happen // because a composite variable was split into pieces, // and we're looking at a piece. We can also see // return temps (~r%d) that were created during // lowering, or unnamed params ("_"). v.ChildIndex = int32(synthCount) synthCount++ } } } // Make a second pass through the progs to compute PC ranges for // the various inlined calls.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 20:45:07 UTC 2024 - 12.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/remat/rematerializer_test.cc
remat.RunGreedyAlgorithm(/*max_cost=*/1, /*max_block_length=*/1, /*min_savings=*/1); // Only as single remat is done -- this will be the best one possible, // lowering the profile by 8 instead of the maximum 1 + 2 + 4 + 8. EXPECT_THAT(remat.GetMemProfile(), ElementsAreArray({1, 3, 7, 15, 23, 23, 15, 15, 7, 3, 1})); } TEST_F(GreedyRematTest, SimpleForbiddenOps) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 14 20:57:44 UTC 2023 - 19.1K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCompilerFacility.kt
// generated, which requires a container source to be provided. Without a facade class, function IR symbols will have // an `IrExternalPackageFragment` parent, which trips up code generation during IR lowering. val psiSourceFile = descriptor.toSourceElement.containingFile as? PsiSourceFile ?: return super.getContainerSource(descriptor)
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed Jun 05 08:42:45 UTC 2024 - 29.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/passes.td
"When specified to true, if the tensorlist ops has unspecified batch " "size, this pass will assume that the batch size is one to proceed " "tensorlist op lowering (default true)">, Option<"enable_dynamic_update_slice_", "enable-dynamic-update-slice", "bool", "false", "When specified to true, lower TensorListSetItem with "
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 20:30:06 UTC 2024 - 22.6K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/compile.go
// the rules in late lower run after the general rules. {"lower", "late lower"}, // late lower may generate some values that need to be CSEed. {"late lower", "lowered cse"}, // checkLower must run after lowering & subsequent dead code elim {"lower", "checkLower"}, {"lowered deadcode", "checkLower"}, {"late lower", "checkLower"}, // late nilcheck needs instructions to be scheduled. {"schedule", "late nilcheck"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 14:55:18 UTC 2024 - 18.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_rewrite_pass.cc
// TODO(b/157054714): When a better abstraction instead of _TPUCompileMlirOp // and _XlaRecvAtHostOp and _XlaSendFromHostOp are used, update to a more // structured lowering. old_parallel_execute.walk( [&](TF::_XlaCompileMlirPlaceholderProgramKeyOp key_op) { key_op.replaceAllUsesWith(compile_op->getResult(1)); key_op.erase(); });
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 21:25:12 UTC 2024 - 29.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_ops_to_mhlo.cc
template <typename UniformQuantizedConvolutionOp> FailureOr<SmallVector<NamedAttribute>> ConvertToMhloConvolutionOpAttrs( UniformQuantizedConvolutionOp op, PatternRewriter &rewriter) { // TODO(b/261005147): Update the lowering logic after migration to mhlo // ConvolutionDimensionNumbers. ::tensorflow::UniformQuantizedConvolutionDimensionNumbersAttr dnums_input; if (!dnums_input.ParseFromString(std::string(op.getDimensionNumbers()))) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 30.9K bytes - Viewed (0)