Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[6.5][capi-machine-learning][Add] New API to flush pipeline data #2025

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -111,14 +111,23 @@ This section shows how to create a pipeline.
ml_pipeline_get_state (handle, &state);
```

3. Stop the pipeline and get state:
3. (Optional) Clears all data and resets the pipeline.

Stops the pipeline and clear all data. If you set the start to be true, start the pipeline after the flush operation is done.
```c
bool start;
ml_pipeline_flush (handle, start);
```


4. Stop the pipeline and get state:

```c
ml_pipeline_stop (handle);
ml_pipeline_get_state (handle, &state);
```

4. Destroy the pipeline.
5. Destroy the pipeline.

When no longer needed, destroy the pipeline:

Expand Down