Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for FailureOr (0.5 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/compose_uniform_quantized_type_pass.cc

    class UniformQuantizeFunctionCallPattern {
     public:
      // Returns Failure if it doesn't match. Returns the "wrapper" for the uniform
      // dequantization function call pattern when matched.
      static FailureOr<UniformQuantizeFunctionCallPattern> Match(
          func::CallOp call_op) {
        if (!call_op.getCallee().contains(kUniformQuantizeFunctionNameSubstring)) {
          LLVM_DEBUG(llvm::dbgs()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.cc

      struct OpCountItem {
        int32_t num_quant = 0;
        int32_t num_float = 0;
      };
    
      // Get the representative name attribute value of a composite function.
      FailureOr<StringRef> GetRepresentativeName(StringRef func_name) {
        std::string quantized_func_name = GetQuantizedFunctionName(
            func_name, /*merged_with_dequantize=*/false, /*is_hybrid=*/false);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 54.5K bytes
    - Viewed (0)
Back to top