Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 99 for signalPassFailure (0.22 sec)

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

    };
    
    void PartitionedTopologicalSortPass::runOnOperation() {
      func::FuncOp func = getOperation();
      if (!PartitionedTopologicalSort(func, &func.getBody().front(), partition_)) {
        return signalPassFailure();
      }
    }
    
    }  // namespace
    
    std::unique_ptr<OperationPass<func::FuncOp>>
    CreatePartitionedTopologicalSortPass() {
      return std::make_unique<PartitionedTopologicalSortPass>();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 19 15:05:28 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/lower_variable_ops_to_ml_program.cc

        solver.load<dataflow::DeadCodeAnalysis>();
        solver.load<dataflow::SparseConstantPropagation>();
        TF::LoadResourceDataflowAnalysis(solver);
        if (failed(solver.initializeAndRun(module))) return signalPassFailure();
    
        SymbolTable symbol_table(module);
    
        OpBuilder globalBuilder(module.getBodyRegion());
    
        module.walk([&](TF::ReadVariableOp op) {
          Operation* source = GetHandleSource(op, solver);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 06 23:53:00 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/passes/nchw_convolution_to_nhwc.cc

      patterns.add<RewriteNchwConvolutionToNhwc>(&ctx);
    
      if (failed(applyPatternsAndFoldGreedily(func_op, std::move(patterns)))) {
        func_op.emitError() << "Failed to run NchwConvolutionToNhwcPass.";
        signalPassFailure();
      }
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/add_quantization_unit_loc.cc

      if (failed(applyPatternsAndFoldGreedily(func, std::move(patterns)))) {
        func.emitError() << "quant-add-quantization-unit-loc pattern "
                            "conversion did not converge.";
        signalPassFailure();
      }
    }
    
    }  // namespace
    
    // Creates an instance of `AddQuantizationUnitLocPass`.
    std::unique_ptr<OperationPass<func::FuncOp>>
    CreateAddQuantizationUnitLocPass() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top