mirror of
https://github.com/clearml/clearml-docs
synced 2025-06-26 18:17:44 +00:00
Add Hyper-Datasets
This commit is contained in:
31
docs/hyperdatasets/task.md
Normal file
31
docs/hyperdatasets/task.md
Normal file
@@ -0,0 +1,31 @@
|
||||
---
|
||||
title: Tasks
|
||||
---
|
||||
|
||||
Hyper Datasets extend the **ClearML** [**Task**](../fundamentals/task.md) with [Dataviews](dataviews.md)
|
||||
|
||||
## Usage
|
||||
|
||||
Hyper datasets are supported through `allegroai` python package.
|
||||
|
||||
### Connecting Dataviews to a Task
|
||||
|
||||
Use [`Task.connect`](../references/sdk/task.md#connect) to connect a Dataview object to a Task:
|
||||
|
||||
```python
|
||||
from allegroai import DataView
|
||||
|
||||
dataview = DataView()
|
||||
task.connect(dataview)
|
||||
```
|
||||
|
||||
### Accessing a Task's Dataviews
|
||||
|
||||
Use the [Task.get_dataviews](google.com) method to access the Dataviews that are connected to a Task.
|
||||
|
||||
```python
|
||||
task.get_dataviews():
|
||||
```
|
||||
|
||||
This returns a dictionary of Dataview objects and their names.
|
||||
|
||||
Reference in New Issue
Block a user