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.
#include <image_ops.h>
Bộ cài đặt thuộc tính tùy chọn cho ExtractJpegShape .
Bản tóm tắt
Chức năng công cộng |
---|
OutputType (DataType x) | (Tùy chọn) Loại đầu ra của thao tác (int32 hoặc int64). |
Thuộc tính công khai
Chức năng công cộng
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-27 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-27 UTC."],[],[],null,["# tensorflow::ops::ExtractJpegShape::Attrs Struct Reference\n\ntensorflow::ops::ExtractJpegShape::Attrs\n========================================\n\n`#include \u003cimage_ops.h\u003e`\n\nOptional attribute setters for [ExtractJpegShape](/versions/r2.2/api_docs/cc/class/tensorflow/ops/extract-jpeg-shape#classtensorflow_1_1ops_1_1_extract_jpeg_shape).\n\nSummary\n-------\n\n| ### Public attributes ||\n|---------------------------------------------------------------------------------------------------------------------------|------------|\n| [output_type_](#structtensorflow_1_1ops_1_1_extract_jpeg_shape_1_1_attrs_1a351677b955d77dcb56f49f22495bf4c3)` = DT_INT32` | `DataType` |\n\n| ### Public functions ||\n|--------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [OutputType](#structtensorflow_1_1ops_1_1_extract_jpeg_shape_1_1_attrs_1a33e9816fa3869da862c20af6aca684b7)`(DataType x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.2/api_docs/cc/struct/tensorflow/ops/extract-jpeg-shape/attrs#structtensorflow_1_1ops_1_1_extract_jpeg_shape_1_1_attrs) (Optional) The output type of the operation (int32 or int64). |\n\nPublic attributes\n-----------------\n\n### output_type_\n\n```carbon\nDataType tensorflow::ops::ExtractJpegShape::Attrs::output_type_ = DT_INT32\n``` \n\nPublic functions\n----------------\n\n### OutputType\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::ExtractJpegShape::Attrs::OutputType(\n DataType x\n)\n``` \n(Optional) The output type of the operation (int32 or int64).\n\nDefaults to int32.\n\nDefaults to DT_INT32"]]