Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 175 for signalPassFailure (0.27 sec)

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

                 LegalizeHashTableImportOpPattern, LegalizeHashTableSizeOpPattern>(
                &getContext());
        if (failed(applyPatternsAndFoldGreedily(module, std::move(patterns)))) {
          signalPassFailure();
          return;
        }
      }
    };
    
    }  // namespace
    
    std::unique_ptr<OperationPass<ModuleOp>> CreateLegalizeHashTablesPass() {
      return std::make_unique<LegalizeHashTablesPass>();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/transforms/fuse_convolution_pass.cc

        patterns.add<FuseMhloMulAndConvolutionPattern>(&getContext());
        if (failed(applyPatternsAndFoldGreedily(getOperation(),
                                                std::move(patterns)))) {
          return signalPassFailure();
        }
      }
    };
    
    std::unique_ptr<Pass> createFuseConvolutionPass() {
      return std::make_unique<FuseMhloConvolutionPass>();
    }
    
    static PassRegistration<FuseMhloConvolutionPass> pass;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 22:21:19 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_hashtable_ops_as_args.cc

    void LiftHashTableOpsAsArgsPass::runOnOperation() {
      auto module_op = getOperation();
    
      for (auto func_op : module_op.getOps<func::FuncOp>()) {
        if (failed(LiftHashTableOpsToArguments(module_op, func_op))) {
          signalPassFailure();
          return;
        }
      }
    }
    
    static PassRegistration<LiftHashTableOpsAsArgsPass> pass;
    
    }  // namespace
    
    std::unique_ptr<OperationPass<ModuleOp>> CreateLiftHashTableOpsAsArgsPass() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_quantize.cc

      patterns.add<PrepareQuantStats>(bit_width, false, true,
                                      /*legacy_float_scale=*/false, ctx);
      if (failed(applyPatternsAndFoldGreedily(func, std::move(patterns)))) {
        signalPassFailure();
      }
    
      SanityCheckAndAdjustment(func);
    
      // Finally, the quantization parameters can be propagated to the rest of the
      // values (tensors).
      ApplyQuantizationParamsPropagation(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/replicate_to_island.cc

    void ReplicateToIslandPass::runOnOperation() {
      const Dialect* tf_dialect = getContext().getLoadedDialect("tf");
      if (!tf_dialect) {
        getOperation().emitError() << "'tf' dialect is not registered";
        return signalPassFailure();
      }
    
      // Find islands with a single `tf_device.replicate` and create individual
      // islands per replica of the replicate.
      llvm::SmallVector<tf_executor::IslandOp, 4> replicate_op_islands;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jul 24 21:01:40 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/transforms/optimize_layout.cc

      RewritePatternSet patterns(ctx);
      patterns.add<TransposeCommuteWithPad, TransposeCommuteWithReduceWindow>(ctx);
      if (failed(
              applyPatternsAndFoldGreedily(getOperation(), std::move(patterns)))) {
        return signalPassFailure();
      }
    }
    
    }  // end namespace
    
    std::unique_ptr<OperationPass<ModuleOp>> CreateTransposeCommuteOpsPass() {
      return std::make_unique<TransposeCommuteOpsPass>();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 21:59:06 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/stablehlo/passes/fold_constant_transpose.cc

      patterns.add<FoldTransposedConstantOp>(&ctx);
      if (failed(applyPatternsAndFoldGreedily(func_op, std::move(patterns)))) {
        func_op.emitError("Failed to fold constant->transpose pattern.");
        signalPassFailure();
      }
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_quantizable_spots_as_functions_drq.cc

        if (failed(applyPatternsAndFoldGreedily(func, frozen_patterns))) {
          func.emitError()
              << "quant-lift-quantizable-spots-as-functions-drq failed.";
          signalPassFailure();
        }
      }
    }
    
    }  // namespace
    
    std::unique_ptr<OperationPass<ModuleOp>>
    CreateLiftQuantizableSpotsAsFunctionsDRQPass(
        const QuantMethod quantization_method, const OpSet target_opset,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/internal/passes/extract_head_tail_outside_compilation.cc

      // Get runtime devices information from the closest parent module.
      auto module = getOperation();
      mlir::TF::RuntimeDevices devices;
      if (failed(tensorflow::GetDevicesFromOp(module, &devices)))
        return signalPassFailure();
    
      OpBuilder builder(&getContext());
      llvm::SmallVector<mlir::tf_device::ClusterOp, 4> clusters;
      module.walk(
          [&](mlir::tf_device::ClusterOp cluster) { clusters.push_back(cluster); });
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/lower_globals_to_ml_program.cc

                        ml_program::MLProgramDialect>();
      }
    
      void runOnOperation() override {
        if (failed(convertTFGlobals(getOperation()))) {
          signalPassFailure();
        }
      }
    };
    
    std::unique_ptr<Pass> CreateLowerGlobalsToMlProgramPass() {
      return std::make_unique<LowerGlobalsToMlProgram>();
    }
    
    void RegisterLowerGlobalsToMlProgramPass() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.6K bytes
    - Viewed (0)
Back to top