Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 107 for eraseOp (0.17 sec)

  1. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/DefaultAnsiExecutor.java

                return this;
            }
    
            @Override
            public AnsiContext eraseForward() {
                delegate.eraseLine(Ansi.Erase.FORWARD);
                return this;
            }
    
            @Override
            public AnsiContext eraseAll() {
                delegate.eraseLine(Ansi.Erase.ALL);
                return this;
            }
    
            @Override
            public AnsiContext cursorAt(Cursor cursor) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/partitioned_topological_sort.cc

                                ? WalkResult::advance()
                                : WalkResult::interrupt();
                   })
                   .wasInterrupted()) {
            unscheduled_ops.erase(&unscheduled_op);
            num_partitions_after += op_partition && (scheduled_something == false);
            scheduled_something = true;
            // Schedule the operation by moving it to the start.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 19 15:05:28 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/lower_variable_ops_to_ml_program.cc

            load = builder.create<TF::CastOp>(op.getLoc(), op.getValue().getType(),
                                              load->getResult(0));
          }
          op.getResult().replaceAllUsesWith(load->getResult(0));
          op.erase();
        });
    
        module.walk([&](TF::AssignVariableOp op) {
          Operation* source = GetHandleSource(op, solver);
          if (!source) return;
          ml_program::GlobalOp globalOp =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 06 23:53:00 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/utils/parallel_execute_util.cc

          return failure();
        }
        ops_move[0]->remove();
        builder->insert(ops_move[0]);
        parallel_execute.replaceAllUsesWith(ops_move[0]);
        parallel_execute.erase();
      }
      return success();
    }
    
    }  // namespace TF
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 13 03:57:18 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/xla_inline_device_ops.cc

      Value old_val, new_val;
      for (auto it : llvm::zip(cluster_op.getResults(), return_op.getOperands())) {
        std::tie(old_val, new_val) = it;
        old_val.replaceAllUsesExcept(new_val, &return_op);
      }
    
      cluster_op.erase();
    }
    
    void XlaInlineDeviceOpsPass::runOnOperation() {
      ModuleOp module = getOperation();
    
      llvm::SmallVector<tf_device::ClusterOp, 4> ops;
      module.walk(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 04 00:59:46 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/transforms/tfxla_device_specific_transforms.cc

      OpBuilder opbuilder(get_alg_op);
    
      auto tf_const = opbuilder.create<TF::ConstOp>(
          get_alg_op->getLoc(), opbuilder.getI32IntegerAttr((int)tensorflow_rng));
    
      get_alg_op->replaceAllUsesWith(tf_const);
      get_alg_op->erase();
      return success();
    }
    
    void TFXLADeviceSpecificTransforms::runOnOperation() {
      if (!device_type_.hasValue()) return;
      auto func_op = getOperation();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 05:56:39 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/utils/xla_rewrite_util.h

    #include "xla/xla_data.pb.h"
    #include "tensorflow/core/lib/core/status.h"
    #include "tensorflow/core/platform/statusor.h"
    #include "tensorflow/core/util/device_name_utils.h"
    
    namespace tensorflow {
    // Erase rewritten ClusterFuncOp(s). If TPUPartitionedInputV2Op /
    // TPUPartitionedOutputV2Op are present, they must be removed along with the
    // ClusterFuncOp(s).
    mlir::LogicalResult EraseClusterFuncs(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/modify_io_nodes.cc

            return failure();
          }
          new_input_types[i] = arg_type;
          arg.dropAllUses();
          if (quantize_op.use_empty()) {
            quantize_op.erase();
          }
        } else {
          // `arg` has multiple uses or the user isn't a quantiz op (so we couldn't
          // rewrite it to a different type. Make a copy of the `arg` and replace
          // its use.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/ProgramParserTest.kt

            assertEmptyProgram(" /* before */buildscript { /* within */ }/* after */ ")
        }
    
        @Test
        fun `empty Stage 1 with non-empty Stage 2 parse to Stage 2 with Stage 1 fragments erased`() {
    
            val scriptOnlySource =
                programSourceWith("println(\"Stage 2\")")
    
            assertProgramOf(
                scriptOnlySource,
                Program.Script(scriptOnlySource)
            )
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/convert_launch_func_to_tf_call.cc

            /*executor_type=*/builder.getStringAttr(""));
        call_op->setAttr("device", launch->getAttrOfType<StringAttr>("device"));
        launch.replaceAllUsesWith(call_op);
        launch.erase();
      });
    }
    
    }  // namespace
    
    std::unique_ptr<OperationPass<ModuleOp>> CreateConvertLaunchFuncToTFCallPass() {
      return std::make_unique<ConvertLaunchFuncToTFCallPass>();
    }
    
    }  // namespace TFDevice
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 31 21:08:09 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top