tensorflow::ops::Print::Attrs

#include <logging_ops.h>

Các thiết lập thuộc tính tùy chọn cho Print .

Bản tóm tắt

Thuộc tính công khai

first_n_ = -1
int64
message_ = ""
StringPiece
summarize_ = 3
int64

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

FirstN (int64 x)
TF_MUST_USE_RESULT Attrs
Chỉ ghi nhật ký n lần first_n .
Message (StringPiece x)
TF_MUST_USE_RESULT Attrs
Một chuỗi ký tự, là tiền tố của thông báo lỗi.
Summarize (int64 x)
TF_MUST_USE_RESULT Attrs
Chỉ in ra bấy nhiêu mục nhập cho mỗi tensor.

Thuộc tính công khai

first_n_

int64 tensorflow::ops::Print::Attrs::first_n_ = -1

tin nhắn_

StringPiece tensorflow::ops::Print::Attrs::message_ = ""

tóm tắt_

int64 tensorflow::ops::Print::Attrs::summarize_ = 3

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

FirstN

TF_MUST_USE_RESULT Attrs tensorflow::ops::Print::Attrs::FirstN(
  int64 x
)

Chỉ ghi nhật ký n lần first_n .

-1 tắt tính năng ghi nhật ký.

Mặc định là -1

Tin nhắn

TF_MUST_USE_RESULT Attrs tensorflow::ops::Print::Attrs::Message(
  StringPiece x
)

Một chuỗi ký tự, là tiền tố của thông báo lỗi.

Mặc định là ""

Tóm tắt

TF_MUST_USE_RESULT Attrs tensorflow::ops::Print::Attrs::Summarize(
  int64 x
)

Chỉ in ra bấy nhiêu mục nhập cho mỗi tensor.

Mặc định là 3