Skip to content

Commit 4ba2eca

Browse files
author
The TensorFlow Datasets Authors
committed
Automated documentation update.
PiperOrigin-RevId: 634045021
1 parent 05f55cd commit 4ba2eca

File tree

1 file changed

+43
-27
lines changed

1 file changed

+43
-27
lines changed

docs/catalog/bridge.md

Lines changed: 43 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -45,20 +45,28 @@ Split | Examples
4545

4646
```python
4747
FeaturesDict({
48+
'episode_metadata': FeaturesDict({
49+
'episode_id': Scalar(shape=(), dtype=int32),
50+
'file_path': string,
51+
'has_image_0': Scalar(shape=(), dtype=bool),
52+
'has_image_1': Scalar(shape=(), dtype=bool),
53+
'has_image_2': Scalar(shape=(), dtype=bool),
54+
'has_image_3': Scalar(shape=(), dtype=bool),
55+
'has_language': Scalar(shape=(), dtype=bool),
56+
}),
4857
'steps': Dataset({
49-
'action': FeaturesDict({
50-
'open_gripper': bool,
51-
'rotation_delta': Tensor(shape=(3,), dtype=float32),
52-
'terminate_episode': float32,
53-
'world_vector': Tensor(shape=(3,), dtype=float32),
54-
}),
58+
'action': Tensor(shape=(7,), dtype=float32),
59+
'discount': Scalar(shape=(), dtype=float32),
5560
'is_first': bool,
5661
'is_last': bool,
5762
'is_terminal': bool,
63+
'language_embedding': Tensor(shape=(512,), dtype=float32),
64+
'language_instruction': string,
5865
'observation': FeaturesDict({
59-
'image': Image(shape=(480, 640, 3), dtype=uint8),
60-
'natural_language_embedding': Tensor(shape=(512,), dtype=float32),
61-
'natural_language_instruction': string,
66+
'image_0': Image(shape=(256, 256, 3), dtype=uint8),
67+
'image_1': Image(shape=(256, 256, 3), dtype=uint8),
68+
'image_2': Image(shape=(256, 256, 3), dtype=uint8),
69+
'image_3': Image(shape=(256, 256, 3), dtype=uint8),
6270
'state': Tensor(shape=(7,), dtype=float32),
6371
}),
6472
'reward': Scalar(shape=(), dtype=float32),
@@ -68,24 +76,32 @@ FeaturesDict({
6876

6977
* **Feature documentation**:
7078

71-
Feature | Class | Shape | Dtype | Description
72-
:--------------------------------------------- | :----------- | :------------ | :------ | :----------
73-
| FeaturesDict | | |
74-
steps | Dataset | | |
75-
steps/action | FeaturesDict | | |
76-
steps/action/open_gripper | Tensor | | bool |
77-
steps/action/rotation_delta | Tensor | (3,) | float32 |
78-
steps/action/terminate_episode | Tensor | | float32 |
79-
steps/action/world_vector | Tensor | (3,) | float32 |
80-
steps/is_first | Tensor | | bool |
81-
steps/is_last | Tensor | | bool |
82-
steps/is_terminal | Tensor | | bool |
83-
steps/observation | FeaturesDict | | |
84-
steps/observation/image | Image | (480, 640, 3) | uint8 |
85-
steps/observation/natural_language_embedding | Tensor | (512,) | float32 |
86-
steps/observation/natural_language_instruction | Tensor | | string |
87-
steps/observation/state | Tensor | (7,) | float32 |
88-
steps/reward | Scalar | | float32 |
79+
Feature | Class | Shape | Dtype | Description
80+
:---------------------------- | :----------- | :------------ | :------ | :----------
81+
| FeaturesDict | | |
82+
episode_metadata | FeaturesDict | | |
83+
episode_metadata/episode_id | Scalar | | int32 |
84+
episode_metadata/file_path | Tensor | | string |
85+
episode_metadata/has_image_0 | Scalar | | bool |
86+
episode_metadata/has_image_1 | Scalar | | bool |
87+
episode_metadata/has_image_2 | Scalar | | bool |
88+
episode_metadata/has_image_3 | Scalar | | bool |
89+
episode_metadata/has_language | Scalar | | bool |
90+
steps | Dataset | | |
91+
steps/action | Tensor | (7,) | float32 |
92+
steps/discount | Scalar | | float32 |
93+
steps/is_first | Tensor | | bool |
94+
steps/is_last | Tensor | | bool |
95+
steps/is_terminal | Tensor | | bool |
96+
steps/language_embedding | Tensor | (512,) | float32 |
97+
steps/language_instruction | Tensor | | string |
98+
steps/observation | FeaturesDict | | |
99+
steps/observation/image_0 | Image | (256, 256, 3) | uint8 |
100+
steps/observation/image_1 | Image | (256, 256, 3) | uint8 |
101+
steps/observation/image_2 | Image | (256, 256, 3) | uint8 |
102+
steps/observation/image_3 | Image | (256, 256, 3) | uint8 |
103+
steps/observation/state | Tensor | (7,) | float32 |
104+
steps/reward | Scalar | | float32 |
89105

90106
* **Supervised keys** (See
91107
[`as_supervised` doc](https://www.tensorflow.org/datasets/api_docs/python/tfds/load#args)):

0 commit comments

Comments
 (0)