Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for dropAllReferences (0.27 sec)

  1. tensorflow/compiler/mlir/lite/experimental/common/outline_operations.cc

      // Clear the subgraph.
      // 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);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

        if (arg_node.node->IsArg()) {
          TF_RETURN_IF_ERROR(
              set_attributes_on_func(arg_node.node, i, /*is_arg=*/true));
        }
    
        island->dropAllReferences();
        island->erase();
      }
    
      llvm::SmallVector<mlir::Value, 8> inst_to_return;
      for (const auto& ret_and_idx : llvm::enumerate(ret_nodes)) {
        const auto& ret = ret_and_idx.value();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
Back to top