Chuyển đổi thư viện cho người dùng không sử dụng TFX
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Transform có sẵn dưới dạng thư viện độc lập.
Tài liệu mô-đun tft
là mô-đun duy nhất phù hợp với người dùng TFX. Mô-đun tft_beam
chỉ liên quan khi sử dụng Transform làm thư viện độc lập. Thông thường, người dùng TFX xây dựng preprocessing_fn
và phần còn lại của lệnh gọi thư viện Transform được thực hiện bởi thành phần Transform.
Bạn cũng có thể sử dụng lớp Apache Beam MLTransform
để xử lý trước dữ liệu cho mục đích đào tạo và suy luận. Lớp MLTransform
bao bọc nhiều biến đổi xử lý dữ liệu TFX trong một lớp. Để biết thêm thông tin, hãy xem Xử lý trước dữ liệu bằng MLTransform trong tài liệu Apache Beam.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-25 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-25 UTC."],[],[],null,["# Transform library for non-TFX users\n\n\u003cbr /\u003e\n\nTransform is available as a standalone library.\n\n- [Getting Started with TensorFlow Transform](https://www.tensorflow.org/tfx/transform/get_started)\n- [TensorFlow Transform API Reference](https://www.tensorflow.org/tfx/transform/api_docs/python/tft)\n\nThe [`tft`](https://www.tensorflow.org/tfx/transform/api_docs/python/tft) module documentation is the only module that is relevant to TFX users.\nThe [`tft_beam`](https://www.tensorflow.org/tfx/transform/api_docs/python/tft_beam) module is relevant only when using Transform as a standalone library. Typically, a TFX user constructs a `preprocessing_fn`, and the rest of the\nTransform library calls are made by the Transform component.\n\nYou can also use the Apache Beam `MLTransform` class to preprocess data\nfor training and inference. The `MLTransform` class wraps multiple TFX data\nprocessing transforms in one class. For more information, see\n[Preprocess data with MLTransform](https://beam.apache.org/documentation/ml/preprocess-data)\nin the Apache Beam documentation."]]