- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 180 for eraseOp (0.25 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc
} read_variable_op.erase(); continue; } if (auto assign_variable_op = dyn_cast<TF::AssignVariableOp>(&op)) { Value resource = assign_variable_op.getResource(); auto last_store = resource_handle_to_last_store_op[resource]; // Previous store ops to same resource can be erased. if (last_store) last_store.erase();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 55.1K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/ProgramSource.kt
fun from(string: String) = ProgramText(string.replace("\r\n", "\n")) } internal fun erase(ranges: List<IntRange>): ProgramText = if (ranges.isEmpty()) this else ProgramText(text.erase(ranges)) fun preserve(vararg ranges: IntRange): ProgramText = erase(complementOf(ranges)) internal fun preserve(ranges: List<IntRange>): ProgramText =
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 4.5K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/AnsiContext.java
*/ AnsiContext newLines(int numberOfNewLines); /** * @return the current context with the characters moving forward from the write position erased. */ AnsiContext eraseForward(); /** * @return the current context with the entire line erased. */ AnsiContext eraseAll(); /** * @return the current context moved to the specified position. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 2.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/quantize_variables.cc
new_q_op.getResult()); assign_variable_op->replaceAllUsesWith(new_assign_variable_op); } assign_variable_op.erase(); dq_op.erase(); } else { // Add quantize op. builder.setInsertionPoint(assign_variable_op); auto new_q_op = builder.create<QuantizeOp>( assign_variable_op.getLoc(), ref_qtype,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_cluster_formation.cc
builder.create<mlir::tf_device::ReturnOp>(result_op->getLoc(), results); // Then erase all the identity and partitioned output ops. for (const auto& [_, ops] : partitioned_outputs) { for (mlir::TF::TPUPartitionedOutputV2Op op : ops) { op->erase(); } } for (mlir::TF::IdentityOp to_erase : erase_list) { to_erase->erase(); } return result_op; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 22:03:30 UTC 2024 - 39.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/lower_globals_to_ml_program.cc
builder.create<mlir::ml_program::GlobalStoreOp>(op.getLoc(), sym, op.getValue()); op.erase(); }); if (!success) return failure(); // Erase tf_saved_model attributes we consumed. We can't delete them // right away, since they might weave through blocks, but we can replace // them with a dummy which DCE can pick up later.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_inline_tpu_island.cc
/* shouldCloneInlinedRegion = */ false))) { call_op.emitOpError() << "Failed to inline\n"; return WalkResult::interrupt(); } called_func.erase(); call_op.erase(); return WalkResult::advance(); }); if (walk_result.wasInterrupted()) return signalPassFailure(); // Move all remaining nested functions back into the parent module.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 19 08:06:04 UTC 2023 - 4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/readonly_references_to_resources.cc
// directly. auto read_only_vars_fn = [&variable_v2s_to_replace]( VariableV2Op variable_v2_op) { if (variable_v2_op.getResult().use_empty()) { // Erase the op when there is no user. variable_v2_op.erase(); return mlir::WalkResult::advance(); } if (!all_of(variable_v2_op.getResult().getUsers(), [&variable_v2_op](
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7.8K bytes - Viewed (0) -
maven-embedder/src/main/java/org/fusesource/jansi/Ansi.java
return value; } } /** * ED (Erase in Display) / EL (Erase in Line) parameter (see * <a href="https://en.wikipedia.org/wiki/ANSI_escape_code#CSI_sequences">CSI sequence J and K</a>) * @see Ansi#eraseScreen(Erase) * @see Ansi#eraseLine(Erase) */ public enum Erase { FORWARD(0, "FORWARD"), BACKWARD(1, "BACKWARD"), ALL(2, "ALL");
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon May 13 09:53:45 UTC 2024 - 23.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/stack_ops_decomposition.cc
if (failed(HandleStackPopV2Op(pop, data_var_to_size_var))) { return failure(); } } else if (auto close = llvm::dyn_cast<TF::StackCloseV2Op>(&op)) { data_var_to_size_var->erase(close.getHandle()); close.erase(); } else if (auto while_op = llvm::dyn_cast<TF::WhileOp>(&op)) { if (failed(HandleWhileOp(while_op, module, *data_var_to_size_var,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 23.8K bytes - Viewed (0)