Skip to content

Commit 3397a6d

Browse files
tomvdwThe TensorFlow Datasets Authors
authored andcommitted
Move RLDS datasets into a separate subfolder
This will allow to more easily import only the datasets builders or the generic helper code. PiperOrigin-RevId: 636085996
1 parent a75711e commit 3397a6d

File tree

50 files changed

+27
-6
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+27
-6
lines changed

tensorflow_datasets/rlds/__init__.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,7 @@
1414
# limitations under the License.
1515

1616
"""Datasets generated with RLDS."""
17-
from tensorflow_datasets.rlds.locomotion.locomotion import Locomotion
18-
from tensorflow_datasets.rlds.robosuite_panda_pick_place_can.robosuite_panda_pick_place_can import RobosuitePandaPickPlaceCan
17+
18+
from tensorflow_datasets.rlds import datasets
19+
from tensorflow_datasets.rlds import envlogger_reader
20+
from tensorflow_datasets.rlds import rlds_base
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# coding=utf-8
2+
# Copyright 2024 The TensorFlow Datasets Authors.
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
16+
"""Datasets generated with RLDS."""
17+
18+
from tensorflow_datasets.rlds.datasets.locomotion.locomotion import Locomotion
19+
from tensorflow_datasets.rlds.datasets.robosuite_panda_pick_place_can.robosuite_panda_pick_place_can import RobosuitePandaPickPlaceCan

tensorflow_datasets/rlds/locomotion/__init__.py renamed to tensorflow_datasets/rlds/datasets/locomotion/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515

1616
"""locomotion dataset."""
1717

18-
from tensorflow_datasets.rlds.locomotion.locomotion import Locomotion
18+
from tensorflow_datasets.rlds.datasets.locomotion.locomotion import Locomotion
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)