Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for FixupInputNamesFromEdges (0.39 sec)

  1. tensorflow/compiler/mlir/tensorflow/translate/export_graphdef.cc

        }
      }
      return absl::OkStatus();
    }
    
    // After conversion from MLIR the input names are all blank which causes
    // graph compilation to fail. This uses the edges to fix up the input names.
    void FixupInputNamesFromEdges(Graph* graph) {
      for (Node* n : graph->nodes()) {
        if (n->IsOp()) {
          NodeDef* node_def = n->mutable_def();
          node_def->clear_input();
          for (const Edge* e : n->in_edges()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.cc

        }
      }
      return absl::OkStatus();
    }
    
    // After conversion from MLIR the input names are all blank which causes
    // graph compilation to fail. This uses the edges to fix up the input names.
    void FixupInputNamesFromEdges(Graph* graph) {
      for (Node* n : graph->nodes()) {
        if (n->IsOp()) {
          NodeDef* node_def = n->mutable_def();
          node_def->clear_input();
          for (const Edge* e : n->in_edges()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 23:04:51 UTC 2024
    - 35.2K bytes
    - Viewed (0)
Back to top