DebugIdentity.Options
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.
Phương pháp kế thừa
Từ lớp java.lang.Object boolean | bằng (Đối tượng arg0) |
Lớp cuối cùng<?> | getClass () |
int | Mã Băm () |
khoảng trống cuối cùng | thông báo () |
khoảng trống cuối cùng | thông báoTất cả () |
Sợi dây | toString () |
khoảng trống cuối cùng | chờ đã (arg0 dài, int arg1) |
khoảng trống cuối cùng | chờ đã (arg0 dài) |
khoảng trống cuối cùng | Chờ đợi () |
Phương pháp công khai
công khai DebugIdentity.Options debugUrls (Danh sách <String> debugUrl)
Thông số
gỡ lỗiUrl | Danh sách các URL để gỡ lỗi mục tiêu, ví dụ: file:///foo/tfdbg_dump. |
---|
Thông số
tên op | Không bắt buộc. Tên của op mà op gỡ lỗi có liên quan. Chỉ được sử dụng cho dấu vết tensor đơn. |
---|
Thông số
khe đầu ra | Không bắt buộc. Chỉ số khe đầu ra của tensor mà hoạt động gỡ lỗi có liên quan. Chỉ được sử dụng cho dấu vết tensor đơn. |
---|
public DebugIdentity.Options tensorDebugMode (Chế độ tensorDebug dài)
Thông số
tensorDebugMode | Giá trị enum TensorDebugMode. Xem debug_event.proto để biết chi tiết. |
---|
công khai DebugIdentity.Options tfdbgContextId (Chuỗi tfdbgContextId)
Thông số
tfdbgContextId | ID do tfdbg tạo cho bối cảnh mà op thuộc về, ví dụ: tf.function được biên dịch cụ thể. |
---|
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-26 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-26 UTC."],[],[],null,["# DebugIdentity.Options\n\npublic static class **DebugIdentity.Options** \nOptional attributes for [DebugIdentity](/jvm/api_docs/java/org/tensorflow/op/debugging/DebugIdentity) \n\n### Public Methods\n\n|-----------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [DebugIdentity.Options](/jvm/api_docs/java/org/tensorflow/op/debugging/DebugIdentity.Options) | [circularBufferSize](/jvm/api_docs/java/org/tensorflow/op/debugging/DebugIdentity.Options#circularBufferSize(java.lang.Long))(Long circularBufferSize) |\n| [DebugIdentity.Options](/jvm/api_docs/java/org/tensorflow/op/debugging/DebugIdentity.Options) | [debugUrls](/jvm/api_docs/java/org/tensorflow/op/debugging/DebugIdentity.Options#debugUrls(java.util.List\u003cjava.lang.String\u003e))(List\\\u003cString\\\u003e debugUrls) |\n| [DebugIdentity.Options](/jvm/api_docs/java/org/tensorflow/op/debugging/DebugIdentity.Options) | [opName](/jvm/api_docs/java/org/tensorflow/op/debugging/DebugIdentity.Options#opName(java.lang.String))(String opName) |\n| [DebugIdentity.Options](/jvm/api_docs/java/org/tensorflow/op/debugging/DebugIdentity.Options) | [outputSlot](/jvm/api_docs/java/org/tensorflow/op/debugging/DebugIdentity.Options#outputSlot(java.lang.Long))(Long outputSlot) |\n| [DebugIdentity.Options](/jvm/api_docs/java/org/tensorflow/op/debugging/DebugIdentity.Options) | [tensorDebugMode](/jvm/api_docs/java/org/tensorflow/op/debugging/DebugIdentity.Options#tensorDebugMode(java.lang.Long))(Long tensorDebugMode) |\n| [DebugIdentity.Options](/jvm/api_docs/java/org/tensorflow/op/debugging/DebugIdentity.Options) | [tfdbgContextId](/jvm/api_docs/java/org/tensorflow/op/debugging/DebugIdentity.Options#tfdbgContextId(java.lang.String))(String tfdbgContextId) |\n| [DebugIdentity.Options](/jvm/api_docs/java/org/tensorflow/op/debugging/DebugIdentity.Options) | [tfdbgRunId](/jvm/api_docs/java/org/tensorflow/op/debugging/DebugIdentity.Options#tfdbgRunId(java.lang.String))(String tfdbgRunId) |\n\n### Inherited Methods\n\nFrom class java.lang.Object \n\n|------------------|---------------------------|\n| boolean | equals(Object arg0) |\n| final Class\\\u003c?\\\u003e | getClass() |\n| int | hashCode() |\n| final void | notify() |\n| final void | notifyAll() |\n| String | toString() |\n| final void | wait(long arg0, int arg1) |\n| final void | wait(long arg0) |\n| final void | wait() |\n\nPublic Methods\n--------------\n\n#### public [DebugIdentity.Options](/jvm/api_docs/java/org/tensorflow/op/debugging/DebugIdentity.Options)\n**circularBufferSize**\n(Long circularBufferSize)\n\n\u003cbr /\u003e\n\n#### public [DebugIdentity.Options](/jvm/api_docs/java/org/tensorflow/op/debugging/DebugIdentity.Options)\n**debugUrls**\n(List\\\u003cString\\\u003e debugUrls)\n\n\u003cbr /\u003e\n\n##### Parameters\n\n| debugUrls | List of URLs to debug targets, e.g., file:///foo/tfdbg_dump. |\n|-----------|--------------------------------------------------------------|\n\n#### public [DebugIdentity.Options](/jvm/api_docs/java/org/tensorflow/op/debugging/DebugIdentity.Options)\n**opName**\n(String opName)\n\n\u003cbr /\u003e\n\n##### Parameters\n\n| opName | Optional. Name of the op that the debug op is concerned with. Used only for single-tensor trace. |\n|--------|--------------------------------------------------------------------------------------------------|\n\n#### public [DebugIdentity.Options](/jvm/api_docs/java/org/tensorflow/op/debugging/DebugIdentity.Options)\n**outputSlot**\n(Long outputSlot)\n\n\u003cbr /\u003e\n\n##### Parameters\n\n| outputSlot | Optional. Output slot index of the tensor that the debug op is concerned with. Used only for single-tensor trace. |\n|------------|-------------------------------------------------------------------------------------------------------------------|\n\n#### public [DebugIdentity.Options](/jvm/api_docs/java/org/tensorflow/op/debugging/DebugIdentity.Options)\n**tensorDebugMode**\n(Long tensorDebugMode)\n\n\u003cbr /\u003e\n\n##### Parameters\n\n| tensorDebugMode | TensorDebugMode enum value. See debug_event.proto for details. |\n|-----------------|----------------------------------------------------------------|\n\n#### public [DebugIdentity.Options](/jvm/api_docs/java/org/tensorflow/op/debugging/DebugIdentity.Options)\n**tfdbgContextId**\n(String tfdbgContextId)\n\n\u003cbr /\u003e\n\n##### Parameters\n\n| tfdbgContextId | A tfdbg-generated ID for the context that the op belongs to, e.g., a concrete compiled tf.function. |\n|----------------|-----------------------------------------------------------------------------------------------------|\n\n#### public [DebugIdentity.Options](/jvm/api_docs/java/org/tensorflow/op/debugging/DebugIdentity.Options)\n**tfdbgRunId**\n(String tfdbgRunId)\n\n\u003cbr /\u003e"]]