Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for PerFunctionAggregateAnalysisConsumerPass (0.48 sec)

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

    namespace {
    
    constexpr char kDeviceAttr[] = "device";
    constexpr char kDeviceCPU[] = "CPU";
    constexpr char kFuncDeviceAttr[] = "tf.device";
    
    struct TPUDynamicLayoutPass
        : public TF::PerFunctionAggregateAnalysisConsumerPass<
              TPUDynamicLayoutPass, TF::ResourceAliasAnalysis> {
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(TPUDynamicLayoutPass)
    
      void runOnFunction(
          func::FuncOp func,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/breakup-islands.cc

    //
    // We do this as an IR->IR transform to keep the Graph exporter as simple as
    // possible.
    
    namespace mlir {
    
    namespace {
    
    class BreakUpIslands : public TF::PerFunctionAggregateAnalysisConsumerPass<
                               BreakUpIslands, TF::SideEffectAnalysis> {
      void getDependentDialects(DialectRegistry& registry) const override {
        registry.insert<tf_executor::TensorFlowExecutorDialect>();
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 11 20:52:36 UTC 2023
    - 16.7K bytes
    - Viewed (0)
Back to top