Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GraphPruningPass (0.11 sec)

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

    #include "tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.h.inc"
    
    // This transformation pass prunes a TF graph eliminating dead-nodes.
    class GraphPruningPass
        : public impl::ExecutorGraphPruningPassBase<GraphPruningPass> {
     public:
      GraphPruningPass() = default;
      explicit GraphPruningPass(llvm::ArrayRef<std::string> ops_to_preserve);
      void runOnOperation() override;
    
     private:
      bool ShouldPreserveOp(Operation* op);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 23:50:19 UTC 2022
    - 7.6K bytes
    - Viewed (0)
Back to top