Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 30 for PassRegistration (0.19 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_stablehlo_custom_call_to_composite.cc

        if (failed(applyPartialConversion(getOperation(), target,
                                          std::move(patterns)))) {
          return signalPassFailure();
        }
      }
    };
    
    static PassRegistration<LegalizeStablehloCustomCallToCompositePass>
        pass_shlo_sc2c;
    
    }  // namespace odml
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/passes/cast_bf16_ops_to_f32.cc

    }  // namespace
    
    // Creates an instance of the Cast BF16 ops to F32 pass.
    std::unique_ptr<OperationPass<ModuleOp>> CreateCastBf16OpsToF32Pass() {
      return std::make_unique<CastBf16OpsToF32Pass>();
    }
    
    static PassRegistration<CastBf16OpsToF32Pass> pass;
    
    }  // namespace quant
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Dec 10 05:52:02 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/passes/convert_custom_aggregation_op_to_quant_stats.cc

            op->getLoc(), op.getInput(), layer_stats, axis_stats, axis);
        op.getOutput().replaceAllUsesWith(stats_op.getResult());
        return success();
      }
    };
    
    static PassRegistration<ConvertCustomAggregationOpToQuantStatsPass> pass;
    
    void ConvertCustomAggregationOpToQuantStatsPass::runOnOperation() {
      MLIRContext *ctx = &getContext();
      RewritePatternSet patterns(ctx);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/optimize_op_order.cc

    // Creates an instance of the TensorFlow Lite optimize op order pass.
    std::unique_ptr<OperationPass<func::FuncOp>> CreateOptimizeOpOrderPass() {
      return std::make_unique<OptimizeOpOrderPass>();
    }
    
    static PassRegistration<OptimizeOpOrderPass> pass;
    
    }  // namespace TFL
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/experimental/tac/transforms/cost_model.cc

      // Default quant/dequant/requant cost.
      return kDefaultFixedValuedCost;
    }
    
    std::unique_ptr<OperationPass<func::FuncOp>> CreateGetOpCostPass() {
      return std::make_unique<GetOpCostPass>();
    }
    
    static PassRegistration<GetOpCostPass> pass;
    
    }  // namespace tac
    }  // namespace TFL
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/transforms/tflite_legalize_hlo.cc

    // Creates an instance of the pass.
    std::unique_ptr<OperationPass<ModuleOp>> CreateLegalizeHloToTfLitePass() {
      return std::make_unique<LegalizeHloToTfLitePass>();
    }
    
    // Registers the pass implementation
    static PassRegistration<LegalizeHloToTfLitePass> pass;
    
    }  // namespace odml
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/transforms/partitioned_topological_sort.cc

      }
    }
    
    }  // namespace
    
    std::unique_ptr<OperationPass<func::FuncOp>>
    CreatePartitionedTopologicalSortPass() {
      return std::make_unique<PartitionedTopologicalSortPass>();
    }
    
    static PassRegistration<PartitionedTopologicalSortPass> pass;
    
    }  // namespace TFL
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 19 15:05:28 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/api/v1/tf_dialect_to_executor.cc

          ->IncrementBy(1);
    
      return diag_handler.ConsumeStatus();
    }
    
    // Registers a pipeline builder function for TF Graph export. Should be
    // the same as ExportFromTensorflowDialectToExecutor just in PassRegistration
    // form.
    mlir::PassPipelineRegistration<> tf_dialect_to_executor_pipeline(
        "tf-dialect-to-executor-v1",
        "Run passes to convert from TF Dialect to Executor in preparation for "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 16 03:41:02 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/experimental/tac/transforms/fold_constants_to_subgraph.cc

    std::unique_ptr<OperationPass<ModuleOp>> CreateFoldConstantsToSubgraphPass(
        bool fold_all_constants) {
      return std::make_unique<FoldConstantsToSubgraphPass>(fold_all_constants);
    }
    
    static PassRegistration<FoldConstantsToSubgraphPass> pass;
    
    }  // namespace tac
    }  // namespace TFL
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/transforms/fuse_convolution_pass.cc

          return signalPassFailure();
        }
      }
    };
    
    std::unique_ptr<Pass> createFuseConvolutionPass() {
      return std::make_unique<FuseMhloConvolutionPass>();
    }
    
    static PassRegistration<FuseMhloConvolutionPass> pass;
    
    }  // namespace odml
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 22:21:19 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top