- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 120 for eraseOp (0.14 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/tpu_space_to_depth_pass.cc
if (argnum_num_users[arg_num] != conv2d_and_block_sizes.size() || conv2d_and_block_sizes.empty()) { argnum_and_convolutions.erase(arg_num); continue; } int64_t block_size = conv2d_and_block_sizes[0].second; if (block_size < 2) { argnum_and_convolutions.erase(arg_num); continue; } // Continue if not all the block sizes for space to depth transform are the // same.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 29.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/extract_tpu_copy_with_dynamic_shape_op.cc
auto new_host_launch_op = CreateNewHostLaunchOpWithNewResult( &old_launch_op, new_launch_op_results); UpdateReturnOpResultWithLaunchOpResult(&new_host_launch_op); old_launch_op->erase(); tf_device::LaunchOp new_device_launch_op; if (failed(CreateNewDeviceLaunchOp(op, replicated, new_device_launch_op))) return signalPassFailure();
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/sparsecore/embedding_pipelining.cc
// Erase original while op and temporary functions. Note, we use the non_tpu // function in the output graph. symbol_table.lookup(orig_callers.forward.getF())->erase(); symbol_table.lookup(orig_callers.core_tpu.getF())->erase(); symbol_table.lookup(orig_callers.backward.getF())->erase(); orig_while_op.body_function().erase(); orig_while_op.erase();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 92.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/replicate_invariant_op_hoisting.cc
replicate_op.GetReplicaOperandForBlockArgument(block_arg, /*replica=*/0)); shape_op.replaceAllUsesWith(new_shape_op.getOperation()); shape_op.erase(); } } // Checks if op and inner op operands are all replicate invariant. bool IsOpReplicateInvariant(Region* replicate_region, Operation* op) { auto ancestor_of_replicate = [&](Region* region) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/common/outline_operations.cc
// Those ops should be removed. for (auto* op : subgraph.partition_ops_) { if (IsConstantOrNone(op)) { continue; } op->dropAllDefinedValueUses(); op->dropAllReferences(); op->erase(); } // Ensure that users of the call op's results appear after the launch op in // order to preserve the dominance property. TF::ReorderOpResultUses(call_op); } } // namespace common
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/lite/transforms/pin_ops_with_side_effects.cc
outer_op.getBody().takeBody(region); // Careful: We can't use outer_op.getResults(), because that also includes // the control token. op->replaceAllUsesWith(outer_op.getOutputs()); op->erase(); // Control token is last result of outer_op. control_tokens.assign(1, outer_op.getResults().back()); } } } // namespace
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/tensorflow/transforms/xla_call_module_serialization.cc
// and remove them. void RemoveSerializedStablehloFunctions(ModuleOp module) { module.walk([&](func::FuncOp f) { if (f->hasAttr(kFromXlaCallModuleAttrName)) { f->erase(); } }); } class XlaCallModuleSerializationPass : public impl::XlaCallModuleSerializationPassBase< XlaCallModuleSerializationPass> { public: void runOnOperation() override {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 9.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_outline_tpu_island.cc
island_op.getBody().push_back(new Block); replacer.create<mlir::func::ReturnOp>(yield_op.getLoc(), yield_op.getOperands()); yield_op.erase(); } // Remap the captured operands in the (former) island block with newly // created entry block arguments in the function body. { Block &entry_block = outlined_func.getBody().front();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.7K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/deprecation/DeprecationLogger.java
* The compiler is happy with the casting that allows to hide the checked exception. * The runtime is happy with the casting because the checked exception type information is captured in a generic type parameter which gets erased. */ private static <T, E extends Exception> Factory<T> toUncheckedThrowingFactory(final ThrowingFactory<T, E> throwingFactory) { return new Factory<T>() { @Nullable @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:37 UTC 2024 - 13.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/prepare_quantize_helper.h
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 18:01:23 UTC 2024 - 28K bytes - Viewed (0)