Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 180 for eraseOp (0.37 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/remove_vars_in_session_initializer.cc

      dead_ops.insert(vars.begin(), vars.end());
    
      // Removes relevant ops in topological order.
      for (auto& op : vars) RecursiveRemove(op, erase_list, dead_ops);
    
      // Erases the ops.
      for (auto op : erase_list) op->erase();
    }
    
    void RemoveVariablesInSessionInitializerPass::runOnOperation() {
      ModuleOp module_op = getOperation();
    
      for (auto init_func_op : GetInitializerFunctions(module_op)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_optimize_global_tensors.mlir

      // argument is not erased.
    
      "tf_saved_model.global_tensor"() { sym_name = "exported_unbound", tf_saved_model.exported_names = ["exported_unbound"], type = tensor<f32>, value = dense<42.> : tensor<f32> } : () -> ()
      // CHECK: sym_name = "exported_unbound"
    
      // Test case: Check that a global tensor that isn't even bound to an argument
      // is erased.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/cluster_tf_ops_pass.cc

          CreateRemoteRunCalls(context, *metadatas);
    
          // Erases the original operations which have been cloned in the remote
          // functions.
          for (auto &iter : *metadatas) {
            llvm::StringRef host = iter.first();
            FunctionMetadata &metadata = iter.second;
            // Do not erase operations placed on the localhost.
            if (IsOnLocalHost(host)) continue;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/convert_control_to_data_outputs.cc

      while (!control_barrier_worklist.empty()) {
        Value control_barrier = control_barrier_worklist.front();
        control_barrier_worklist.pop();
    
        // We can only erase control barriers whose uses have been erased as well.
        if (!control_barrier.use_empty()) continue;
    
        // Only values defined by IslandOp were inserted in the worklist.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/passes/unfreeze_constants.cc

      // corresponding VarHandleOps.
      CreateAssignVariableOps(const_op_name_map, session_init_func);
    
      // Erase the ConstOps that are replaced by VarHandleOps.
      absl::c_for_each(target_const_ops, [](auto const_op) { const_op.erase(); });
    }
    
    }  // namespace
    
    std::unique_ptr<OperationPass<ModuleOp>> CreateUnfreezeConstantsPass() {
      return std::make_unique<UnfreezeConstantsPass>();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 16 15:04:53 UTC 2023
    - 14K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ArrayTable.java

       * are valid.
       *
       * @param rowKey row key of mapping to be erased
       * @param columnKey column key of mapping to be erased
       * @return the value previously associated with the keys, or {@code null} if no mapping existed
       *     for the keys
       */
      @CanIgnoreReturnValue
      @CheckForNull
      public V erase(@CheckForNull Object rowKey, @CheckForNull Object columnKey) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/quantization/lite/tfl_to_std.cc

          dq.getOutput().replaceAllUsesWith(dcast);
          dq.erase();
        } else if (auto q = llvm::dyn_cast<QuantizeOp>(op)) {
          auto qcast = b.create<quantfork::QuantizeCastOp>(
              q.getLoc(), q.getOutput().getType(), q.getInput());
          q.getOutput().replaceAllUsesWith(qcast);
          q.erase();
        } else if (auto q = llvm::dyn_cast<ConstOp>(op)) {
          auto value = q.getValue();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 02:50:01 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ArrayTable.java

       * are valid.
       *
       * @param rowKey row key of mapping to be erased
       * @param columnKey column key of mapping to be erased
       * @return the value previously associated with the keys, or {@code null} if no mapping existed
       *     for the keys
       */
      @CanIgnoreReturnValue
      @CheckForNull
      public V erase(@CheckForNull Object rowKey, @CheckForNull Object columnKey) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  9. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/MultiLineBuildProgressAreaTest.groovy

                1 * ansi.eraseLine(Ansi.Erase.ALL)
                1 * ansi.cursorDown(1)
                1 * ansi.eraseLine(Ansi.Erase.ALL)
                1 * ansi.cursorDown(1)
                1 * ansi.eraseLine(Ansi.Erase.ALL)
    
                // Parking
                1 * ansi.cursorDown(1)
                1 * ansi.eraseLine(Ansi.Erase.ALL)
    
                1 * ansi.cursorUp(absoluteDeltaRowToAreaTop)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/tensor_list_ops_decomposition.cc

        new_outputs.push_back(it->getSecond().size);
      }
      OpBuilder(old_terminator)
          .create<TerminatorOp>(old_terminator->getLoc(), new_outputs);
      old_terminator->erase();
      return output_buffer_to_size;
    }
    
    // Adds the corresponding sizes of tensor list buffers in func's return values
    // to the list of return values. Returns the mapping from the buffer indices to
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.2K bytes
    - Viewed (0)
Back to top