Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 247 for legalize (0.75 sec)

  1. tensorflow/compiler/mlir/lite/transforms/optimize_batch_matmul.cc

        Value output_lhs =
            bmm_op.getAdjX() ? create_z_x_transpose_op(input_lhs) : input_lhs;
    
        // The rhs need to be transposed if adj_y == false AND this matmul will be
        // legalized to tfl.fully_connected
        Value output_rhs =
            !bmm_op.getAdjY() ? create_z_x_transpose_op(input_rhs) : input_rhs;
    
        Type output_type = bmm_op.getResult().getType();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiGradleProjectIntegrationTest.groovy

                rootProject.name = 'root'
    
                include(":lib1")
            """
    
            buildFile << """
                tasks.register("lazy") {
                    throw new RuntimeException("must not realize lazy tasks")
                }
            """
    
            when: "fetching without Isolated Projects"
            executer.withArguments("-Dorg.gradle.internal.GradleProjectBuilderOptions=omit_all_tasks")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_patterns.td

    def : Pat<(MHLO_ConstantOp:$output $value), (TF_ConstOp $value),
              [(TF_Tensor $output)]>;
    
    //===----------------------------------------------------------------------===//
    // Binary op patterns.
    // Note that these are legalized from chlo.broadcast_* ops, since those are
    // semantically compatible with the corresponding TF ops. Depending on
    // context, getting to these ops may require some raising.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Feb 03 08:58:22 UTC 2024
    - 34K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-groovy/src/main/java/org/gradle/model/dsl/internal/NonTransformedModelDslBacking.java

            ModelRuleDescriptor descriptor = new SimpleModelRuleDescriptor("model." + modelPath);
            NodeInitializerRegistry nodeInitializerRegistry = modelRegistry.realize(DEFAULT_REFERENCE.getPath(), DEFAULT_REFERENCE.getType());
            ModelType<T> modelType = ModelType.of(type);
            NodeInitializer nodeInitializer = nodeInitializerRegistry.getNodeInitializer(forType(modelType));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/passes/convert_func_to_bfloat16.cc

     public:
      BFloat16TypeConverter() {
        addConversion([](const Type type) -> Type {
          return IsLargeFloatType(type) ? ToBfloat16Type(type) : type;
        });
      }
    };
    
    // This helper function makes legality check easier. Both convert ops in the
    // patterns below are considered legal:
    //  - `BitcastConvertOp` (i32 -> f32) + `ConvertOp` (f32 -> bf16)
    //  - `ConvertOp` (bf16 -> f32) -> `BitcastConvertOp` (f32 -> i32)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/set_tpu_infeed_layout.cc

        // Do not append a UnitAttr for the "token" operand here to avoid
        // compilation failure when exporting the "layouts" attribute to a graph
        // node. Instead, add the UnitAttr during LegalizeTF pass.
        op->setAttr("layouts", layout.value());
    
        return mlir::WalkResult::advance();
      });
      return !res.wasInterrupted();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. platforms/native/language-native/src/main/java/org/gradle/language/internal/DefaultBinaryCollection.java

         */
        public void realizeNow() {
            if (state != State.Collecting) {
                throw new IllegalStateException("Cannot realize this collection as it has already been realized.");
            }
            state = State.Realizing;
    
            for (T element : elements) {
                knownActions.execute(element);
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  8. 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)
  9. platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishIssuesIntegTest.groovy

                        ivy(IvyPublication) {
                            from(components.java)
                        }
                    }
                }
                publishing.publications.ivy.artifacts // Realize publication component
                components.java.withVariantsFromConfiguration(configurations.apiElements) { skip() }
            """
    
            when:
            executer.expectDocumentedDeprecationWarning(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 19:31:52 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  10. 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)
Back to top