Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ShouldSaveReport (0.11 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/instrumentations/save_report.cc

             isa_and_nonnull<ModuleOp>(op);
    }
    
    // Report is saved only when:
    // * After running `QuantizeCompositeFunctionPass`.
    // * The pass is run on `ModuleOp`.
    // * `file_path` is not `nullopt`.
    bool ShouldSaveReport(absl::Nullable<Pass*> pass, absl::Nullable<Operation*> op,
                          const std::optional<std::string>& file_path) {
      return file_path != std::nullopt && IsQuantizeCompositeFunctionPass(pass, op);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 02:59:01 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top