peek
airt.keras.experiments.peek(ds: tf.data.Dataset) -> tf.Tensor
ยค
Returns the first element of the dataset
Parameters:
Name | Type | Description | Default |
---|---|---|---|
ds |
tf.data.Dataset
|
dataset |
required |
Returns:
Type | Description |
---|---|
tf.Tensor
|
the first element of the dataset |
Source code in airt/keras/experiments.py
132 133 134 135 136 137 138 139 140 141 142 |
|