Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for MhloDialect (0.3 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/passes/testing/passes.td

      ];
      let dependentDialects = [
        "mlir::stablehlo::StablehloDialect", "mlir::TF::TensorFlowDialect",
        "mlir::func::FuncDialect", "mlir::mhlo::MhloDialect",
        "mlir::quant::QuantizationDialect", "mlir::chlo::ChloDialect",
        "mlir::vhlo::VhloDialect", "mlir::shape::ShapeDialect",
        "mlir::quantfork::QuantizationForkDialect",
      ];
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 23:21:42 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/passes.td

        Convert TF Quant ops to MHLO quant ops.
      }];
    
      let constructor = "mlir::quant::stablehlo::CreateConvertTFQuantOpsToMHLOPass()";
      let dependentDialects = ["TF::TensorFlowDialect", "chlo::ChloDialect",
                               "mhlo::MhloDialect", "tf_type::TFTypeDialect",
                               "quant::QuantizationDialect"];
    }
    
    def ConvertTFQuantTypes : Pass<"convert-tf-quant-types", "mlir::func::FuncOp"> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 23 01:41:18 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/transforms/xla_legalize_tf_passes.td

            "patterns">,
      ];
    
      let constructor = "mlir::mhlo::createLegalizeTFPass()";
      let dependentDialects = [
        "arith::ArithDialect",
        "chlo::ChloDialect",
        "func::FuncDialect",
        "mhlo::MhloDialect",
        "quant::QuantizationDialect",
        "shape::ShapeDialect",
        "sparse_tensor::SparseTensorDialect",
        "stablehlo::StablehloDialect"
      ];
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 17:44:14 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/transforms/xla_legalize_targets.cc

      ConversionTarget target(mlir_context);
    
      if (legalize_chlo) {
        target.addIllegalDialect<chlo::ChloDialect>();
        target.addIllegalDialect<stablehlo::StablehloDialect>();
      } else {
        target.addLegalDialect<chlo::ChloDialect>();
      }
      target.addLegalDialect<MhloDialect>();
      target.addLegalDialect<arith::ArithDialect>();
      target.addLegalDialect<func::FuncDialect>();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 17:44:14 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/runtime_passes.td

               "Whether to serialize TPUCompileMetadataProto metadata in 'tf._TPUCompileMlir' op as a proto debug string">
      ];
    
      let dependentDialects = [
        "mlir::mhlo::MhloDialect",
        "mlir::tf_device::TensorFlowDeviceDialect"
      ];
      let constructor = "mlir::TFTPU::CreateTPURewritePass()";
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 10 18:58:57 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/transforms/tf_xla_passes.td

    def LegalizeTFCommunicationPass : Pass<"xla-legalize-tf-communication", "ModuleOp"> {
      let summary = "Legalize TF/XLA communication ops (TensorFlow dialect) to the HLO "
               "dialect";
      let dependentDialects = ["mhlo::MhloDialect", "sparse_tensor::SparseTensorDialect"];
      let constructor = "::mlir::mhlo::CreateLegalizeTFCommunicationPass()";
      let description = [{
        A pass that legalizes TF/XLA communication ops, propagates their respective
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 05:56:39 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/sparsecore_passes.td

           tf_device.return
         }) {device = "/job:localhost/replica:0/task:0/device:CPU:0"} : () -> ()
       ```
      }];
    
      let dependentDialects = [
        "mhlo::MhloDialect",
        "tf_device::TensorFlowDeviceDialect"
      ];
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 23:42:09 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/transforms/passes.td

    }
    
    def LegalizeStablehloToVhloPass : Pass<"stablehlo-legalize-vhlo", "ModuleOp"> {
      let summary = "Legalize StableHLO to VHLO for ODML.";
      let dependentDialects = ["mlir::vhlo::VhloDialect"];
    }
    
    def LegalizeVhloToStablehloPass : Pass<"vhlo-legalize-stablehlo", "ModuleOp"> {
      let summary = "Legalize VHLO to StableHLO for ODML.";
      let dependentDialects = ["mlir::stablehlo::StablehloDialect"];
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 21:59:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/stablehlo/transforms/tf_stablehlo_pass.cc

      chlo::ConstantLikeOp::getCanonicalizationPatterns(patterns, context);
    
      ConversionTarget target(*context);
      target.addIllegalDialect<chlo::ChloDialect>();
      target.addLegalDialect<mhlo::MhloDialect>();
      target.addLegalDialect<arith::ArithDialect>();
      target.addLegalDialect<func::FuncDialect>();
      target.addLegalDialect<tensor::TensorDialect>();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/transforms/tflite_legalize_hlo.cc

      // Add new conversion patterns here.
      PopulateLegalizeHloToTFLitePatterns(&patterns, &context);
    
      ConversionTarget target(context);
      target.addLegalDialect<TFL::TensorFlowLiteDialect, mhlo::MhloDialect>();
      target.addLegalOp<func::CallOp, func::ConstantOp, arith::ConstantOp>();
      target.addDynamicallyLegalOp<mhlo::CustomCallOp>(IsCustomCallLegal);
      target.addDynamicallyLegalOp<mhlo::ReduceOp>(IsReduceOpLegal);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top