Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 75 for signalPassFailure (0.45 sec)

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

      solver.load<dataflow::DeadCodeAnalysis>();
      solver.load<dataflow::SparseConstantPropagation>();
      solver.load<DeviceDataflowAnalysis>(symbolTables);
      if (failed(solver.initializeAndRun(module))) return signalPassFailure();
    
      module->walk([&](TF::TPUCopyWithDynamicShapeOp op) {
        const Device *state;
        for (auto result : op->getResults()) {
          state = solver.lookupState<Device>(result);
          if (state) break;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 23 00:30:27 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/localize_var_handles.cc

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

                   RemoveVolatileOps<kPreserveNone>, RemoveRedundantScast>(ctx);
      populateWithGenerated(patterns);
      if (failed(applyPatternsAndFoldGreedily(func, std::move(patterns)))) {
        signalPassFailure();
      }
    }
    
    }  // namespace
    
    // Creates an instance of the TensorFlow dialect PostQuantize pass.
    std::unique_ptr<OperationPass<func::FuncOp>> CreatePostQuantizePass() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 07:39:40 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/passes/convert_xla_call_module_op_to_bfloat16.cc

            op_result.replaceAllUsesExcept(cast, cast.getDefiningOp());
          }
        }
        return WalkResult::advance();
      });
    
      if (result.wasInterrupted()) return signalPassFailure();
    }
    
    }  // namespace
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 08:32:43 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/transforms/optimize_op_order.cc

      auto func = getOperation();
      auto* ctx = func.getContext();
      patterns.add<PushDownDequantize>(ctx);
      if (failed(applyPatternsAndFoldGreedily(func, std::move(patterns)))) {
        signalPassFailure();
      }
    }
    }  // namespace
    
    // Creates an instance of the TensorFlow Lite optimize op order pass.
    std::unique_ptr<OperationPass<func::FuncOp>> CreateOptimizeOpOrderPass() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/passes/merge_fusion_with_dequantize.cc

      RewritePatternSet patterns(ctx);
      patterns.add<MergeFusionWithUniformDequantizePattern>(ctx);
      if (failed(applyPatternsAndFoldGreedily(module_op, std::move(patterns)))) {
        signalPassFailure();
      }
    }
    
    }  // namespace
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/internal/passes/xla_cluster_formation.cc

      for (auto &entry_func : entry_funcs) {
        if (EncapsulateFirstXlaCompilablePartitionedCalls(
                entry_func, symbol_table_collection, symtab)
                .failed()) {
          return signalPassFailure();
        }
      }
    }
    
    std::unique_ptr<OperationPass<ModuleOp>> CreateXlaClusterFormationPass() {
      return std::make_unique<XlaClusterFormationPass>();
    }
    
    }  // namespace internal
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 19 19:09:44 UTC 2023
    - 6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/transforms/tf_stablehlo_pass.cc

        target.addLegalOp<TF::StatefulPartitionedCallOp>();
      }
    
      FrozenRewritePatternSet frozen_patterns(std::move(patterns));
      if (failed(applyPartialConversion(func, target, frozen_patterns))) {
        return signalPassFailure();
      }
    }
    
    struct TFToStablehloOptions : public PassPipelineOptions<TFToStablehloOptions> {
      Option<bool> skip_quantization_ops{*this, "skip-quantization-ops",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/passes/convert_custom_aggregation_op_to_quant_stats.cc

      if (failed(applyPatternsAndFoldGreedily(func, std::move(patterns)))) {
        func.emitError()
            << "quant-convert-tf-custom-aggregator-op-to-quant-stats failed.";
        signalPassFailure();
      }
    }
    
    }  // namespace
    
    std::unique_ptr<OperationPass<func::FuncOp>>
    CreateConvertCustomAggregationOpToQuantStatsPass() {
      return std::make_unique<ConvertCustomAggregationOpToQuantStatsPass>();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/transforms/tflite_legalize_hlo.cc

      if (failed(applyPartialConversion(getOperation(), target,
                                        std::move(patterns)))) {
        getOperation().emitError("mhlo to TFLite legalization failed.");
        signalPassFailure();
      }
    }
    }  // namespace
    
    void PopulateLegalizeHloToTFLitePatterns(RewritePatternSet* patterns,
                                             MLIRContext* context) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top