Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 209 for legalized (0.31 sec)

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

        registry.insert<shape::ShapeDialect>();
      }
    
     public:
      StringRef getArgument() const final { return "tf-mhlo"; }
      StringRef getDescription() const final {
        return "This pass will legalize TF Ops to MHLO Ops.";
      }
    
     protected:
      Option<bool> skip_quantization_ops_{
          *this, "skip-quantization-ops",
          ::llvm::cl::desc("Skip quantization ops")};
    
      Option<bool> skip_resize_{
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/legalize_tfg_arg_control_dep.mlir

    // RUN: tf-opt -tfe-legalize-tfg %s | FileCheck %s
    
    module  {
      tfg.graph #tf_type.version<producer = 62, min_consumer = 12> {
        %Const, %ctl = Const name("Constant") {dtype = i32, value = dense<0> : tensor<i32>} : () -> (tensor<i32>)
        %foo, %ctl_0 = foo(%Const) name("_tf.foo") : (tensor<i32>) -> (tensor<*xi32>)
      }
      tfg.func @foo(%arg: tensor<*xi32> {tfg.name = "arg"})
           -> (tensor<*xi32> {tfg.dtype = i32, tfg.name = "return_value"})
       {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 06 02:08:28 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/tests/tfl_legalize_hlo_custom_call.mlir

    // RUN: odml-to-stablehlo-opt %s -tfl-legalize-hlo -split-input-file | FileCheck %s --dump-input=fail
    
    // CHECK-LABEL: mhlo_custom_call_test__legalize_string_backend_config
    func.func @mhlo_custom_call_test__legalize_string_backend_config(%arg0: tensor<1x4xf32>) -> tensor<1x8xf32> {
      %0 = mhlo.custom_call @custom_call.my_custom_op(%arg0) {
        api_version = 1 : i32,
        backend_config = "this_is_a_test_string"
      } : (tensor<1x4xf32>) -> (tensor<1x8xf32>)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. platforms/ide/ide-native/src/main/groovy/org/gradle/ide/visualstudio/plugins/VisualStudioPluginRules.java

            }
        }
    
        static class VisualStudioPluginRootRules extends RuleSource {
            // This ensures that subprojects are realized and register their project and project configuration IDE artifacts
            @Mutate
            public static void ensureSubprojectsAreRealized(TaskContainer tasks, ProjectIdentifier projectIdentifier, ServiceRegistry serviceRegistry) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/local/model/PublishArtifactLocalArtifactMetadata.java

            this.componentIdentifier = componentIdentifier;
            this.publishArtifact = publishArtifact;
            // In case the publish artifact is backed by an ArchiveTask, this causes the task to be realized.
            // However, if we are at this point, we need the realized task to determine the archive extension/type later
            // to set the 'artifactType' attribute required in matching (even if the variant with the artifact is not selected in the end).
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 07 18:43:39 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/QueryAndMutateFromWithTypeGetByNameDomainObjectContainerIntegrationTest.groovy

        def "can execute query and mutation methods #method.key from withType.getByName"() {
            buildFile << """
                testContainer.withType(testContainer.type).getByName("realized") {
                    ${method.value}
                }
            """
    
            expect:
            succeeds "help"
    
            where:
            method << getQueryMethods() + getMutationMethods()
        }
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 05 09:53:33 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/internal/collections/EventSubscriptionVerifier.java

    package org.gradle.api.internal.collections;
    
    import javax.annotation.Nullable;
    
    /**
     * Tracks which types are subscribed to by eager event listeners. Lazy elements of a
     * subscribed type should be immediately realized when added to a container.
     */
    public interface EventSubscriptionVerifier<T> {
    
        /**
         * Determines whether events should be emitted for elements of the given type.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 02 15:16:51 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_stablehlo_to_vhlo.cc

              for (auto arg : block.getArguments()) {
                ConvertAndWrapUsesInUnrealizedCast(arg, converter, rewriter);
              }
            }
          }
        });
      });
      return success();
    }
    
    // Legalize StableHLO portion of program to VHLO, leaves TFL untouched
    LogicalResult ApplyStablehloToVhloPatterns(ModuleOp module,
                                               bool is_func_legal) {
      MLIRContext *context = module.getContext();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 19:48:51 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/DeferredTaskConfigurationIntegrationTest.groovy

                task foo {
                    dependsOn tasks.withType(Zip)
                    doLast {
                        assert defaultTaskRealizedCount == 0, "All DefaultTask shouldn't be realized"
                        assert zipTaskRealizedCount == 1, "All Zip task should be realized"
                    }
                }
            '''
    
            expect:
            succeeds "foo"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:33 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/verify_quant_legalization.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 "absl/log/log.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top