Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for IsInferenceGraph (0.13 sec)

  1. tensorflow/compiler/mlir/tf2xla/internal/mlir_bridge_pass_util.h

    // Check if a graph contains TPUPartitionedCall op, including its reachable
    // functions. The function library is used to store the functions that are
    // defined in a TensorFlow program
    bool IsInferenceGraph(const Graph& graph,
                          const FunctionLibraryDefinition* function_library);
    }  // namespace tensorflow
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 13 16:33:22 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/internal/mlir_bridge_pass_util.cc

        func_op->walk([&](mlir::TF::TPUPartitionedCallOp op) {
          has_tpu_partitioned_call = true;
        });
        if (has_tpu_partitioned_call) break;
      }
      return has_tpu_partitioned_call;
    }
    
    bool IsInferenceGraph(const Graph& graph,
                          const FunctionLibraryDefinition* function_library) {
      if (DoesGraphContainTPUPartitionedCall(graph)) return true;
      GraphDef graph_def;
      graph.ToGraphDef(&graph_def);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 12:22:33 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top