I am going to write a custom grappler pass. So I want to first see what the graph grappler is handling on.
I tried to dump a graph using the following :
TF_CPP_MAX_VLOG_LEVEL=2 \
TF_DUMP_GRAPH_PREFIX="dumped_graph" \
python model.py

This command outputs too many graphs, it will have really a long list of graph,
Is there  any docs for me to find which graph is doing which? Or what graph should I refer to if I want to rewrite the graph in grappler pass?
I tried to search for solution, but I got little ideas.
Thanks in advance.
after_group_0_phase_0_MlirV1CompatGraphOptimizationPass_94635183069520_1.pbtxt
after_group_0_phase_0_MlirV1CompatGraphOptimizationPass_94635183069520_2.pbtxt
after_group_0_phase_0_MlirV1CompatGraphOptimizationPass_94635183069520.pbtxt
after_group_0_phase_0_MlirV1CompatGraphOptimizationPass_94635188981296.pbtxt
after_group_0_phase_10_AccumulateNV2RemovePass_94635183069520_1.pbtxt
after_group_0_phase_10_AccumulateNV2RemovePass_94635183069520_2.pbtxt
after_group_0_phase_10_AccumulateNV2RemovePass_94635183069520.pbtxt
after_group_0_phase_10_AccumulateNV2RemovePass_94635188981296.pbtxt
after_group_0_phase_10_LowerFunctionalOpsPass_94635183069520_1.pbtxt
after_group_0_phase_10_LowerFunctionalOpsPass_94635183069520_2.pbtxt
after_group_0_phase_10_LowerFunctionalOpsPass_94635183069520.pbtxt
after_group_0_phase_10_LowerFunctionalOpsPass_94635188981296.pbtxt
after_group_0_phase_10_ParallelConcatRemovePass_94635183069520_1.pbtxt
after_group_0_phase_10_ParallelConcatRemovePass_94635183069520_2.pbtxt
after_group_0_phase_10_ParallelConcatRemovePass_94635183069520.pbtxt
after_group_0_phase_10_ParallelConcatRemovePass_94635188981296.pbtxt
after_group_0_phase_35_IntroduceFloatingPointJitterPass_94635183069520_1.pbtxt
after_group_0_phase_35_IntroduceFloatingPointJitterPass_94635183069520_2.pbtxt
after_group_0_phase_35_IntroduceFloatingPointJitterPass_94635183069520.pbtxt
after_group_0_phase_35_IntroduceFloatingPointJitterPass_94635188981296.pbtxt
after_group_0_phase_35_IsolatePlacerInspectionRequiredOpsPass_94635183069520_1.pbtxt
after_group_0_phase_35_IsolatePlacerInspectionRequiredOpsPass_94635183069520_2.pbtxt
after_group_0_phase_35_IsolatePlacerInspectionRequiredOpsPass_94635183069520.pbtxt
after_group_0_phase_35_IsolatePlacerInspectionRequiredOpsPass_94635188981296.pbtxt
after_group_0_phase_36_EncapsulateXlaComputationsPass_94635185505904.pbtxt
after_group_0_phase_36_EncapsulateXlaComputationsPass_94635186548256.pbtxt
after_group_0_phase_36_EncapsulateXlaComputationsPass_94635186649296.pbtxt
after_group_0_phase_36_EncapsulateXlaComputationsPass_94635191039344.pbtxt
after_group_0_phase_37_FunctionalizeControlFlowForXlaPass_94635185505904.pbtxt
after_group_0_phase_37_FunctionalizeControlFlowForXlaPass_94635186548256.pbtxt
after_group_0_phase_37_FunctionalizeControlFlowForXlaPass_94635186649296.pbtxt
after_group_0_phase_37_FunctionalizeControlFlowForXlaPass_94635191039344.pbtxt
after_group_1_phase_0_NcclReplacePass_94635185505904.pbtxt
after_group_1_phase_0_NcclReplacePass_94635186548256.pbtxt
after_group_1_phase_0_NcclReplacePass_94635186649296.pbtxt
after_group_1_phase_0_NcclReplacePass_94635191039344.pbtxt
after_group_2_phase_10_MarkForCompilationPass_94635183069520_1.pbtxt
after_group_2_phase_10_MarkForCompilationPass_94635183069520_2.pbtxt
after_group_2_phase_10_MarkForCompilationPass_94635183069520.pbtxt
after_group_2_phase_10_MarkForCompilationPass_94635188981296.pbtxt
after_group_2_phase_12_ForceXlaConstantsOnHostPass_94635183069520_1.pbtxt
after_group_2_phase_12_ForceXlaConstantsOnHostPass_94635183069520_2.pbtxt
after_group_2_phase_12_ForceXlaConstantsOnHostPass_94635183069520.pbtxt
after_group_2_phase_12_ForceXlaConstantsOnHostPass_94635188981296.pbtxt
after_group_2_phase_20_IncreaseDynamismForAutoJitPass_94635183069520_1.pbtxt
after_group_2_phase_20_IncreaseDynamismForAutoJitPass_94635183069520_2.pbtxt
after_group_2_phase_20_IncreaseDynamismForAutoJitPass_94635183069520.pbtxt
after_group_2_phase_20_IncreaseDynamismForAutoJitPass_94635188981296.pbtxt
after_group_2_phase_30_PartiallyDeclusterPass_94635183069520_1.pbtxt
after_group_2_phase_30_PartiallyDeclusterPass_94635183069520_2.pbtxt
after_group_2_phase_30_PartiallyDeclusterPass_94635183069520.pbtxt
after_group_2_phase_30_PartiallyDeclusterPass_94635188981296.pbtxt
after_group_2_phase_40_ReportClusteringInfoPass_94635183069520_1.pbtxt
after_group_2_phase_40_ReportClusteringInfoPass_94635183069520_2.pbtxt
after_group_2_phase_40_ReportClusteringInfoPass_94635183069520.pbtxt
after_group_2_phase_40_ReportClusteringInfoPass_94635188981296.pbtxt
after_group_2_phase_50_EncapsulateSubgraphsPass_94635185505904.pbtxt
after_group_2_phase_50_EncapsulateSubgraphsPass_94635186548256.pbtxt
after_group_2_phase_50_EncapsulateSubgraphsPass_94635186649296.pbtxt
after_group_2_phase_50_EncapsulateSubgraphsPass_94635191039344.pbtxt
after_group_2_phase_5_CloneConstantsForBetterClusteringPass_94635183069520_1.pbtxt
after_group_2_phase_5_CloneConstantsForBetterClusteringPass_94635183069520_2.pbtxt
after_group_2_phase_5_CloneConstantsForBetterClusteringPass_94635183069520.pbtxt
after_group_2_phase_5_CloneConstantsForBetterClusteringPass_94635188981296.pbtxt
after_group_2_phase_60_BuildXlaOpsPass_94635185505904.pbtxt
after_group_2_phase_60_BuildXlaOpsPass_94635186548256.pbtxt
after_group_2_phase_60_BuildXlaOpsPass_94635186649296.pbtxt
after_group_2_phase_60_BuildXlaOpsPass_94635191039344.pbtxt
after_group_2_phase_9_ClusterScopingPass_94635183069520_1.pbtxt
after_group_2_phase_9_ClusterScopingPass_94635183069520_2.pbtxt
after_group_2_phase_9_ClusterScopingPass_94635183069520.pbtxt
after_group_2_phase_9_ClusterScopingPass_94635188981296.pbtxt
after_group_3_phase_1_MklLayoutRewritePass_partition__job:localhost_replica:0_task:0_device:CPU:0_94635183069520_1.pbtxt
after_group_3_phase_1_MklLayoutRewritePass_partition__job:localhost_replica:0_task:0_device:CPU:0_94635183069520_2.pbtxt
after_group_3_phase_1_MklLayoutRewritePass_partition__job:localhost_replica:0_task:0_device:CPU:0_94635183069520.pbtxt
after_group_3_phase_1_MklLayoutRewritePass_partition__job:localhost_replica:0_task:0_device:CPU:0_94635188981296.pbtxt
after_group_3_phase_1_MklLayoutRewritePass_partition__job:localhost_replica:0_task:0_device:GPU:0_94635188001136.pbtxt
after_MetaOptimizer_140736774835712.pbtxt
after_MetaOptimizer_140736774837200.pbtxt
after_MetaOptimizer_140736774838416.pbtxt
after_MetaOptimizer_140736774841968.pbtxt
build_xla_ops_1.pbtxt
build_xla_ops_2.pbtxt
build_xla_ops_3.pbtxt
build_xla_ops.pbtxt
encapsulate_subgraphs_after_1.pbtxt
encapsulate_subgraphs_after_2.pbtxt
encapsulate_subgraphs_after_3.pbtxt
encapsulate_subgraphs_after.pbtxt
encapsulate_subgraphs_before_1.pbtxt
encapsulate_subgraphs_before_2.pbtxt
encapsulate_subgraphs_before_3.pbtxt
encapsulate_subgraphs_before.pbtxt
encapsulate_xla_computations_after_1.pbtxt
encapsulate_xla_computations_after_2.pbtxt
encapsulate_xla_computations_after_3.pbtxt
encapsulate_xla_computations_after.pbtxt
encapsulate_xla_computations_before_1.pbtxt
encapsulate_xla_computations_before_2.pbtxt
encapsulate_xla_computations_before_3.pbtxt
encapsulate_xla_computations_before.pbtxt
encapsulate_xla_computations_halfway_1.pbtxt
encapsulate_xla_computations_halfway_2.pbtxt
encapsulate_xla_computations_halfway_3.pbtxt
encapsulate_xla_computations_halfway.pbtxt
EnsureMemoryTypes_1.pbtxt
EnsureMemoryTypes_2.pbtxt
EnsureMemoryTypes_3.pbtxt
EnsureMemoryTypes_4.pbtxt
EnsureMemoryTypes.pbtxt
partition__job:localhost_replica:0_task:0_device:CPU:0_94635183130328_1.pbtxt
partition__job:localhost_replica:0_task:0_device:CPU:0_94635183130328.pbtxt
partition__job:localhost_replica:0_task:0_device:CPU:0_94635183181336.pbtxt
partition__job:localhost_replica:0_task:0_device:CPU:0_94635191982792.pbtxt
partition__job:localhost_replica:0_task:0_device:GPU:0_94635190961352.pbtxt
pflr_after_all_optimization_passes_94635183069520__job:localhost_replica:0_task:0_device:CPU:0_1.pbtxt
pflr_after_all_optimization_passes_94635183069520__job:localhost_replica:0_task:0_device:CPU:0_2.pbtxt
pflr_after_all_optimization_passes_94635183069520__job:localhost_replica:0_task:0_device:CPU:0.pbtxt
pflr_after_all_optimization_passes_94635188001136__job:localhost_replica:0_task:0_device:GPU:0.pbtxt
pflr_after_all_optimization_passes_94635188981296__job:localhost_replica:0_task:0_device:CPU:0.pbtxt