Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for StatusScopedDiagnosticHandler (0.32 sec)

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

        // If `allow_tensorlist_pass_through` is set to true, if legalization fails
        // we should not leak the diagnostic info outside this pass. Hence we use
        // a `StatusScopedDiagnosticHandler` here to capture diagnostics generated
        // within this pass.
        StatusScopedDiagnosticHandler handler(context);
        if (failed(applyPartialConversion(module, target, std::move(patterns)))) {
          auto _ = handler.ConsumeStatus();
        }
      }
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
Back to top