Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 89 for legalization (0.26 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/region_control_flow_to_functional.cc

      // before compiling to XLA. This is necessary along with conversion to
      // functional format because inlined regions may have moved loop invariant ops
      // outside of the region which may cause some new legalization failures.
      // TODO(b/126739593): Enable this attribute in TensorFlow by default. Also,
      // see b/185542519 for the context.
      dst->setAttr(kXlaPropagateCompileTimeConsts, builder->getBoolAttr(true));
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

    #define GEN_PASS_DEF_LEGALIZEHLOTOTFPASS
    #include "tensorflow/compiler/mlir/lite/stablehlo/transforms/passes.h.inc"
    
    class LegalizeHloToTf : public impl::LegalizeHloToTfPassBase<LegalizeHloToTf> {
      /// Performs the legalization to the TF dialect.
      void runOnOperation() override;
    };
    
    using mhlo::DotDimensionNumbersAttr;
    
    // Replaces `region`'s terminator to TF::Yield.
    void ReplaceReturnOp(Region& region, PatternRewriter& rewriter) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/legalize_tf.cc

        return signalPassFailure();
      }
      // Explict BroadcastTo addition for left-over broadcast-able ops.
      // The following pattern matchings should be done after the other legalization
      // rules in order not to add unnecessary BroadcastTo ops.
      RewritePatternSet stage2Patterns(&getContext());
    
      addPatterns(context, stage2Patterns, this->preserve_assert_op_);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 20:06:54 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

          first = false;
          os << result_type;
        }
      }
      os << ")";
      // Print out attributes except for large elementsattributes (which should
      // rarely be the cause why the legalization didn't happen).
      if (!inst->getAttrDictionary().empty()) {
        os << " : {";
        bool first = true;
        for (auto& named_attr : inst->getAttrDictionary()) {
          os << (!first ? ", " : "");
          first = false;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/lower_tf.mlir

      func.return %0: tensor<*xf32>
    }
    
    //===----------------------------------------------------------------------===//
    // LogSoftmax op legalizations.
    // This just changes the tail of the regular Softmax legalization
    //===----------------------------------------------------------------------===//
    
    // CHECK-LABEL: func @simple_logsoftmax
    // CHECK-SAME: (%[[ARG0:.*]]: tensor<2x3xf32>)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 05 18:35:42 UTC 2024
    - 92K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskCreationBuildOperationIntegrationTest.groovy

    class TaskCreationBuildOperationIntegrationTest extends AbstractIntegrationSpec {
    
        def buildOperations = new BuildOperationsFixture(executer, testDirectoryProvider)
    
        def "configure actions for eager creation are nested in realization build op"() {
            buildFile << """
                tasks.all {
                    logger.lifecycle 'all'
                }
                tasks.configureEach {
                    logger.lifecycle 'configureEach'
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

    }
    
    class ConvertBatchMatMulV2Op : public OpRewritePattern<TF::BatchMatMulV2Op> {
     public:
      // TODO(hinsu): Legalize this op to Einsum op. HLO Einsum op needs to be moved
      // to CHLO and it is missing legalization to MHLO. Once that is done, this
      // pattern's benefit can be changed back to one as well as the fallback
      // lowering pattern for the op can be removed.
      //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  8. platforms/enterprise/enterprise-operations/src/main/java/org/gradle/api/internal/tasks/RegisterTaskBuildOperationType.java

     * limitations under the License.
     */
    
    package org.gradle.api.internal.tasks;
    
    import org.gradle.internal.operations.BuildOperationType;
    
    /**
     * Represents a task realization for a task whose creation was deferred.
     *
     * @since 4.9
     */
    public final class RegisterTaskBuildOperationType implements BuildOperationType<RegisterTaskBuildOperationType.Details, RegisterTaskBuildOperationType.Result> {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 10 08:07:59 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  9. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/internal/tooling/GradleProjectBuilderOptions.java

         */
        public static boolean shouldRealizeTasks() {
            // This property was initially added in Gradle 6.1 to allow Android Studio troubleshoot sync performance issues.
            // As Android Studio wanted to avoid task realization during sync, it started using "omit_all_tasks" option in production.
            // Gradle should support this option at least until an alternative solution exists and Android Studio has migrated to it.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 03 17:25:26 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/verify_quant_legalization.cc

    // 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"
    #include "llvm/ADT/STLExtras.h"
    #include "llvm/Support/Casting.h"
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    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