Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 80 for PassRegistration (0.64 sec)

  1. tensorflow/compiler/mlir/tfr/passes/rewrite_quantized_io.cc

    }
    
    // Creates an instance of the pass to decompose the TF ops.
    std::unique_ptr<OperationPass<ModuleOp>> CreateRewriteQuantizedIOPass() {
      return std::make_unique<RewriteQuantizedIOPass>();
    }
    
    static PassRegistration<RewriteQuantizedIOPass> pass([] {
      return CreateRewriteQuantizedIOPass();
    });
    
    }  // namespace TFR
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 01:19:25 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/transforms/smuggle_disallowed_ops.cc

          signalPassFailure();
        }
      }
    };
    
    std::unique_ptr<Pass> CreateSmuggleDisallowedOpsPass() {
      return std::make_unique<SmuggleDisallowedOpsPass>();
    }
    
    static PassRegistration<SmuggleDisallowedOpsPass> pass;
    
    }  // namespace odml
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 19 01:14:04 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/raise_custom_ops.cc

    std::unique_ptr<OperationPass<func::FuncOp>> CreateRaiseCustomOpsPass(
        const std::vector<std::string> &target_ops) {
      return std::make_unique<RaiseCustomOpsPass>(target_ops);
    }
    
    static PassRegistration<RaiseCustomOpsPass> pass;
    
    }  // namespace TFL
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 17 07:31:01 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/merge_duplicate_resource_ops.cc

        ops_to_remove.push_back(&op);
      }
    
      // Remove op after the loop to avoid crash.
      for (Operation* op : ops_to_remove) {
        op->erase();
      }
    }
    
    static PassRegistration<MergeDuplicateResourceOpsPass> pass{};
    
    }  // namespace
    
    std::unique_ptr<OperationPass<func::FuncOp>>
    CreateMergeDuplicateResourceOpsPass() {
      return std::make_unique<MergeDuplicateResourceOpsPass>();
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 26 04:26:16 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/passes/mark_functions_noinline.cc

        func_op->setAttr(kTfNoinlineAttr, builder.getBoolAttr(true));
        LLVM_DEBUG(llvm::dbgs()
                   << "Marked tf._noinline = true: " << func_op.getSymName());
      }
    }
    
    static PassRegistration<MarkFunctionsNoinlinePass> pass{};
    
    }  // namespace
    
    std::unique_ptr<OperationPass<func::FuncOp>> CreateMarkFunctionsNoinlinePass(
        const ArrayRef<std::string> noinline_functions) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 18 02:52:57 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/transforms/unfold_splat_constant_pass.cc

        const_op->erase();
      }
    };
    
    }  // namespace
    
    std::unique_ptr<OperationPass<ModuleOp>> CreateUnfoldSplatConstantPass() {
      return std::make_unique<UnfoldSplatConstantPass>();
    }
    
    static PassRegistration<UnfoldSplatConstantPass> pass;
    
    }  // namespace odml
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_quantize_drq.cc

                        ::mlir::quantfork::QuantizationForkDialect>();
      }
    
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(PrepareQuantizeDRQPass)
    
      // Constructor used by the PassRegistration and enforce int8 quantization.
      // This is only used by test.
      explicit PrepareQuantizeDRQPass() : op_set_(OpSet::UNIFORM_QUANTIZED) {
        quant_specs_.inference_type = tensorflow::DT_QINT8;
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_stablehlo_to_vhlo.cc

            failed(ApplyVhloToStablehloPatterns(module)) ||
            failed(ApplyUnrealizedCastCanonicalization(module)))
          return signalPassFailure();
      }
    };
    
    static PassRegistration<LegalizeStablehloToVhloPass> pass_s2v;
    static PassRegistration<LegalizeVhloToStablehloPass> pass_v2s;
    
    }  // namespace odml
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 19:48:51 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/experimental/tac/transforms/compute_cost.cc

        UpdateCost(func, total_cost, &builder);
      }
    }
    
    }  // namespace
    
    std::unique_ptr<OperationPass<ModuleOp>> CreateComputeCostPass() {
      return std::make_unique<ComputeCostPass>();
    }
    
    static PassRegistration<ComputeCostPass> pass;
    
    }  // namespace tac
    }  // namespace TFL
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 24 15:10:02 UTC 2022
    - 4.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/transforms/legalize_tf_while.cc

    }
    
    // Creates an instance of the TensorFlow While to TFLite While pass.
    std::unique_ptr<OperationPass<ModuleOp>> CreateLegalizeTFWhilePass() {
      return std::make_unique<LegalizeWhilePass>();
    }
    
    static PassRegistration<LegalizeWhilePass> pass;
    
    }  // namespace TFL
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 03 12:35:38 UTC 2022
    - 3.4K bytes
    - Viewed (0)
Back to top