Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 90 for idml (0.06 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/tests/odml-to-stablehlo-smuggle-resize.mlir

    // RUN: odml_to_stablehlo %s -skip-resize -smuggle-disallowed-ops -o - | FileCheck %s
    // RUN: odml-to-stablehlo-opt %s --smuggle-disallowed-ops-pass | FileCheck %s --check-prefix=CHECK-OPT
    
    // CHECK-LABEL: @main
    module attributes {tf.versions = {bad_consumers = [], min_consumer = 12 : i32, producer = 975 : i32}, tf_saved_model.semantics}  {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 18:33:43 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/tests/legalize-stablehlo-tfl-composite.mlir

        %0 = stablehlo.composite "odml.scaled_dot_product_attention" %arg0, %arg1, %arg2, %arg3, %arg4 {decomposition = @odml.scaled_dot_product_attention.impl} : (tensor<1x100x32x4xf32>, tensor<1x500x4x4xf32>,...
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/transforms/passes.td

      let dependentDialects = ["TF::TensorFlowDialect"];
      let constructor = "mlir::odml::CreateLegalizeHloToTfPass()";
    }
    
    def LegalizeHloToTfLitePass : Pass<"tfl-legalize-hlo", "mlir::ModuleOp"> {
      let summary = "Legalize from MHLO to the TFLite dialect";
      let dependentDialects = ["TFL::TensorFlowLiteDialect"];
      let constructor = "mlir::odml::CreateLegalizeHloToTfLitePass()";
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 21:59:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/tests/stablehlo-custom-call-legalize-composite.mlir

    // RUN: odml-to-stablehlo-opt %s -stablehlo-custom-call-legalize-composite | FileCheck %s
    
    // CHECK-LABEL: module
    module {
      // CHECK-LABEL: @main
      func.func @main(%arg0: tensor<1xf32>, %arg1: tensor<2xf32>) {
        // CHECK: stablehlo.custom_call @foo
        stablehlo.custom_call @foo() : () -> ()
        // CHECK-NOT: stablehlo.custom_call
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 19:49:44 UTC 2024
    - 1009 bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_stablehlo_composite_to_tfl_custom.cc

    namespace mlir {
    namespace odml {
    
    #define GEN_PASS_DEF_LEGALIZECOMPOSITETOCUSTOMOPPASS
    #include "tensorflow/compiler/mlir/lite/stablehlo/transforms/passes.h.inc"
    
    namespace {
    bool IsSupportedComposite(::mlir::stablehlo::CompositeOp op) {
      // List of supported composites to represent using CustomOp.
      return llvm::is_contained(
          {"odml.update_kv_cache", "odml.scaled_dot_product_attention"},
          op.getName());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_lowering_pass.h

    #define TENSORFLOW_COMPILER_MLIR_LITE_STABLEHLO_TRANSFORMS_COMPOSITE_LOWERING_PASS_H_
    
    namespace mlir {
    namespace odml {
    
    std::unique_ptr<Pass> CreateCompositeLoweringPass();
    
    }  // namespace odml
    }  // namespace mlir
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 26 22:22:03 UTC 2024
    - 1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tf_tfl_passes.cc

      // directly. Additionally remove the composite to custom once ODML long term
      // solution lands.
      pass_manager.addPass(
          mlir::odml::createLegalizeStablehloCustomCallToCompositePass());
      pass_manager.addNestedPass<mlir::func::FuncOp>(
          mlir::odml::createLegalizeCompositeToCustomOpPass());
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/odml_converter/odml_converter_main.cc

     \___/|___/|_|  |_|____|  \___\___/_||_\_/\___|_|  \__\___|_|
    )";
    
    int main(int argc, char* argv[]) {
      tensorflow::InitMlir y(&argc, &argv);
      llvm::errs() << art << "\n";
    
      mlir::odml::registerODMLConverterPasses();
      mlir::odml::registerLegalizeStablehloToVhloPass();
    
      mlir::DialectRegistry registry;
      registry.insert<mlir::func::FuncDialect, mlir::stablehlo::StablehloDialect,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 19:05:30 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/idea/IdeaIntegrationTest.groovy

        outputDir = file('foo-out')
        testOutputDir = file('foo-out-test')
    }
    """
    
            //then
            def iml = getFile([:], 'root.iml').text
            assert iml.contains('inherit-compiler-output="false"')
            assert iml.contains('foo-out')
            assert iml.contains('foo-out-test')
        }
    
        @Test
        @ToBeFixedForConfigurationCache
        void dslSupportsShortFormsForModule() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 01:27:55 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/transforms/tf_stablehlo_pass.h

    namespace mlir {
    namespace odml {
    
    // Adds passes which transform TF Ops to StableHLO Ops.
    void AddLegalizeTFToStablehloPasses(OpPassManager& pm,
                                        bool skip_quantization_ops,
                                        bool skip_resize,
                                        bool skip_partitioned_calls);
    
    }  // namespace odml
    }  // namespace mlir
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 08 20:05:12 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top