Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
xufang-lisa committed Jan 9, 2025
1 parent 1ada73e commit 1fccaad
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/python/openvino_genai/py_openvino_genai.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -2263,6 +2263,9 @@ class ImageGenerationPerfMetrics:
:param get_inference_total_duration: Returns all inference duration including encoder, decoder and transformer/unet inference.
:type get_inference_total_duration: float
:param get_generate_duration: Returns generate duration in millionseconds.
:type get_generate_duration: float
:param raw_metrics: A structure of RawImageGenerationPerfMetrics type that holds raw metrics.
:type raw_metrics: RawImageGenerationPerfMetrics
"""
Expand Down Expand Up @@ -2290,4 +2293,8 @@ class ImageGenerationPerfMetrics:
def get_iteration_duration(self) -> MeanStdPair:
...
def get_inference_total_duration(self) -> float:
...
def get_load_time(self) -> float:
...
def get_generate_duration(self) -> float:
...

0 comments on commit 1fccaad

Please sign in to comment.