Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 175 for signalPassFailure (0.64 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. tensorflow/compiler/mlir/quantization/tensorflow/passes/merge_initializer_function_ops_to_main.cc

      MLIRContext* ctx = module_op.getContext();
    
      func::FuncOp main_func_op = FindMainFuncOp(module_op);
      if (!main_func_op) {
        module_op.emitError("Main function op not found.");
        return signalPassFailure();
      }
    
      GraphOp main_graph_op = GetGraphOpFromFuncOp(main_func_op);
      if (!main_graph_op) return;
    
      SessionInitializerOp session_init_op = GetSessionInitializerOp(module_op);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun May 12 12:54:52 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  8. 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)
  9. tensorflow/compiler/mlir/tensorflow/transforms/tpu_reorder_replicate_and_partitioned_inputs.cc

            assert(replicated_input->use_empty());
            replicated_input->erase();
            return WalkResult::advance();
          });
    
      if (result.wasInterrupted()) {
        signalPassFailure();
        return;
      }
    
      getOperation()->walk([](TF::TPUPartitionedInputV2Op partitioned_input) {
        if (partitioned_input->use_empty()) partitioned_input->erase();
      });
    }
    
    }  // namespace
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 24 23:08:55 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/transforms/verify_tfxla_legalization.cc

          has_invalid_ops = true;
          IncrementCounterFor(mlir_failed_legalization_op_count, op);
        }
        return WalkResult::advance();
      });
    
      if (has_invalid_ops) signalPassFailure();
    }
    
    }  // namespace
    
    std::unique_ptr<mlir::OperationPass<mlir::func::FuncOp>>
    CreateVerifyTFXLALegalizationPass(bool legalize_chlo) {
      return std::make_unique<VerifyTFXLALegalization>(legalize_chlo);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top