dòng chảy căng:: ôi:: Huỷ bỏ:: Attr

#include <control_flow_ops.h>

Trình thiết lập thuộc tính tùy chọn cho Abort .

Bản tóm tắt

Thuộc tính công khai

error_msg_ = ""
StringPiece
exit_without_error_ = false
bool

Chức năng công cộng

ErrorMsg (StringPiece x)
TF_MUST_USE_RESULT Attrs
Một chuỗi là thông báo liên quan đến ngoại lệ.
ExitWithoutError (bool x)
TF_MUST_USE_RESULT Attrs
Mặc định là sai.

Thuộc tính công khai

lỗi_tin nhắn_

StringPiece tensorflow::ops::Abort::Attrs::error_msg_ = ""

exit_without_error_

bool tensorflow::ops::Abort::Attrs::exit_without_error_ = false

Chức năng công cộng

Tin nhắn lỗi

TF_MUST_USE_RESULT Attrs tensorflow::ops::Abort::Attrs::ErrorMsg(
  StringPiece x
)

Một chuỗi là thông báo liên quan đến ngoại lệ.

Mặc định là ""

Thoát mà không có lỗi

TF_MUST_USE_RESULT Attrs tensorflow::ops::Abort::Attrs::ExitWithoutError(
  bool x
)

Mặc định là sai.