2025-07-02 17:29:58 +02:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
|
|
|
|
|
# Copyright 2025 The HuggingFace Inc. team. All rights reserved.
|
|
|
|
|
#
|
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
|
#
|
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
#
|
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
|
# limitations under the License.
|
2025-07-04 13:07:58 +02:00
|
|
|
|
2025-07-23 18:41:53 +02:00
|
|
|
from .batch_processor import ToBatchProcessor
|
2025-07-04 13:07:58 +02:00
|
|
|
from .device_processor import DeviceProcessor
|
2025-07-04 12:09:40 +02:00
|
|
|
from .normalize_processor import NormalizerProcessor, UnnormalizerProcessor
|
2025-08-06 14:00:13 +02:00
|
|
|
from .observation_processor import VanillaObservationProcessor
|
2025-07-04 11:07:18 +02:00
|
|
|
from .pipeline import (
|
|
|
|
|
ActionProcessor,
|
|
|
|
|
DoneProcessor,
|
|
|
|
|
EnvTransition,
|
2025-07-06 21:29:51 +02:00
|
|
|
IdentityProcessor,
|
2025-07-04 11:07:18 +02:00
|
|
|
InfoProcessor,
|
|
|
|
|
ObservationProcessor,
|
|
|
|
|
ProcessorStep,
|
2025-07-06 21:29:51 +02:00
|
|
|
ProcessorStepRegistry,
|
2025-07-04 11:07:18 +02:00
|
|
|
RewardProcessor,
|
|
|
|
|
RobotProcessor,
|
2025-07-21 14:54:31 +02:00
|
|
|
TransitionKey,
|
2025-07-04 11:07:18 +02:00
|
|
|
TruncatedProcessor,
|
2025-07-02 17:29:58 +02:00
|
|
|
)
|
2025-07-04 10:53:40 +02:00
|
|
|
from .rename_processor import RenameProcessor
|
2025-07-02 17:29:58 +02:00
|
|
|
|
|
|
|
|
__all__ = [
|
2025-07-04 11:07:18 +02:00
|
|
|
"ActionProcessor",
|
2025-07-04 13:07:58 +02:00
|
|
|
"DeviceProcessor",
|
2025-07-04 11:07:18 +02:00
|
|
|
"DoneProcessor",
|
2025-07-02 17:29:58 +02:00
|
|
|
"EnvTransition",
|
2025-07-06 21:29:51 +02:00
|
|
|
"IdentityProcessor",
|
2025-07-04 11:07:18 +02:00
|
|
|
"InfoProcessor",
|
2025-07-04 12:09:40 +02:00
|
|
|
"NormalizerProcessor",
|
|
|
|
|
"UnnormalizerProcessor",
|
2025-07-04 11:07:18 +02:00
|
|
|
"ObservationProcessor",
|
|
|
|
|
"ProcessorStep",
|
2025-07-06 21:29:51 +02:00
|
|
|
"ProcessorStepRegistry",
|
2025-07-04 10:53:40 +02:00
|
|
|
"RenameProcessor",
|
2025-07-04 11:07:18 +02:00
|
|
|
"RewardProcessor",
|
|
|
|
|
"RobotProcessor",
|
2025-07-23 18:41:53 +02:00
|
|
|
"ToBatchProcessor",
|
2025-07-21 14:54:31 +02:00
|
|
|
"TransitionKey",
|
2025-07-04 11:07:18 +02:00
|
|
|
"TruncatedProcessor",
|
|
|
|
|
"VanillaObservationProcessor",
|
2025-07-02 17:29:58 +02:00
|
|
|
]
|