Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 46 for legalized (0.46 sec)

  1. tensorflow/compiler/mlir/tf2xla/transforms/tf2xla_rewriter.cc

                                            PatternRewriter& rewriter,
                                            const std::string& device_type) {
      Tf2XlaRewriter tf2xla_rewriter(op, rewriter, device_type);
      return tf2xla_rewriter.LegalizeOp();
    }
    
    Tf2XlaRewriter::Tf2XlaRewriter(Operation* op, PatternRewriter& rewriter,
                                   const std::string& device_type)
        : op_(op),
          device_type_(device_type),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:16:07 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/internal/passes/xla_broadcast.cc

    bool GetDummyParams(OpBuilder& builder, Value val_bcast, Attribute& zero,
                        DenseIntElementsAttr& shape) {
      Type type = val_bcast.getType();
      Type elem_type = getElementTypeOrSelf(type);
      // Xla's all_reduce legalizer bitcasts to 32 bits, so only
      // element types size <= 4 bytes are supported.
      if (elem_type.isBF16() || elem_type.isF16() || elem_type.isTF32() ||
          elem_type.isF32()) {
        zero = builder.getFloatAttr(elem_type, 0);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 18:52:07 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_types.cc

    ==============================================================================*/
    
    // The TF dialect uses some TF types that are illegal in the MHLO dialect and
    // some generic types that are legal in MHLO. This pass legalizes TF types into
    // types that are legal in MHLO. For example, TF::Qint8Type is converted to i8.
    // Rewrites here should run before TF to MHLO op legalizations are run.
    
    #include <memory>
    #include <string>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_tf_xla_call_module_to_stablehlo_pass.cc

                             OperationPass<ModuleOp>> {
     public:
      StringRef getArgument() const final {
        return "tf-xla-call-module-op-to-stablehlo-pass";
      }
      StringRef getDescription() const final {
        return "Legalize TF_XlaCallModule Op to stablehlo";
      }
      void getDependentDialects(DialectRegistry &registry) const override {
        registry.insert<stablehlo::StablehloDialect, vhlo::VhloDialect,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 25 09:43:18 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/transforms/legalize_tensorlist.cc

      // `lower_static_tensor_list` pass.
      return element_type->isF32() || element_type->isInteger(64) ||
             element_type->isInteger(32) || element_type->isInteger(1);
    }
    
    // Only legalize TensorFlow TensorList ops if all TensorList ops are supported
    // natively.
    class LegalizeTensorListPass
        : public impl::LegalizeTensorListPassBase<LegalizeTensorListPass> {
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 23:04:40 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/transforms/BUILD

    gentbl_cc_library(
        name = "xla_legalize_tf_passes_inc_gen",
        compatible_with = get_compatible_with_portable(),
        tbl_outs = [
            (
                [
                    "-gen-pass-decls",
                    "-name=LegalizeTf",
                ],
                "xla_legalize_tf_passes.h.inc",
            ),
        ],
        tblgen = "@llvm-project//mlir:mlir-tblgen",
        td_file = "xla_legalize_tf_passes.td",
        deps = [
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  7. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/api/plugins/JavaPluginIntegrationTest.groovy

                dependencies {
                    testImplementation 'junit:junit:4.13'
                }
    
                tasks.withType(Test).configureEach {
                    throw new RuntimeException("Test task should not have been realized")
                }""".stripIndent()
    
            file("src/main/java/com/example/SampleClass.java") << """
                package com.example;
    
                public class SampleClass {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 29 11:39:00 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/tests/tfl_legalize_hlo.mlir

    // COM: This file is there to check that the `tfl-legalize-hlo` pass exists in `odml-to-stablehlo-opt`.
    
    // RUN: odml-to-stablehlo-opt %s -tfl-legalize-hlo -split-input-file | FileCheck %s --dump-input=fail
    
    func.func @main(%arg0: tensor<5x7xf32>) -> tensor<5x7xf32> {
      func.return %arg0: tensor<5x7xf32>
    // CHECK-LABEL: main
    // CHECK: return %arg0 : tensor<5x7xf32>
    }
    
    // - transpose
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 40.1K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/DefaultTaskContainerTest.groovy

            then:
            1 * deferredAction.execute(task)
            then:
            0 * action._
            0 * deferredAction._
        }
    
        void "task configuration action is executed immediately when task is already realized"() {
            def action = Mock(Action)
            def task = task("task")
    
            given:
            1 * taskFactory.create(_ as TaskIdentity) >> task
    
            def provider = container.register("task")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 14:36:44 UTC 2024
    - 44.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/translate/export_graphdef.cc

    constexpr char kResourceArgUniqueIdAttr[] = "tf._resource_arg_unique_id";
    constexpr char kEntryFuncAttr[] = "tf.entry_function";
    constexpr char kAliasingAttr[] = "tf.aliasing_output";
    
    // OpOrArgLocNameMapper that legalizes the returned name.
    class LegalizedOpOrValLocNameMapper : public OpOrArgLocNameMapper {
     private:
      std::string GetName(OpOrVal op_or_val) override {
        std::string name = OpOrArgLocNameMapper::GetName(op_or_val);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 35.2K bytes
    - Viewed (0)
Back to top