tensorflow::ops::Print

#include <logging_ops.h>

In ra danh sách các tensor.

Bản tóm tắt

Truyền input đến dữ liệu output và in data khi thực hiện phép tính.

Luận điểm:

  • phạm vi: Một đối tượng Phạm vi
  • Đầu vào: Tensor được truyền đến output
  • data: Một danh sách các tensor cần in ra khi thực thi phép toán.

Các thuộc tính tùy chọn (xem Attrs ):

  • message: Một chuỗi ký tự, là tiền tố của thông báo lỗi.
  • first_n: Chỉ ghi nhật ký first_n lần. -1 tắt tính năng ghi nhật ký.
  • Tóm lại: Chỉ in ra bấy nhiêu mục nhập của mỗi tensor.

Trả về:

  • Output : = Tensor input chưa được chỉnh sửa

Hàm khởi tạo và hàm hủy

Print (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::InputList data)
Print (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::InputList data, const Print::Attrs & attrs)

Thuộc tính công khai

operation
output

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

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

Các hàm tĩnh công khai

FirstN (int64 x)
Message (StringPiece x)
Summarize (int64 x)

Cấu trúc

tensorflow::ops::Print::Attrs

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

Thuộc tính công khai

hoạt động

Operation operation

đầu ra

::tensorflow::Output output

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

In

 Print(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  ::tensorflow::InputList data
)
 Print(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  ::tensorflow::InputList data,
  const Print::Attrs & attrs
)

nút

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const 

Các hàm tĩnh công khai

FirstN

Attrs FirstN(
  int64 x
)

Tin nhắn

Attrs Message(
  StringPiece x
)

Tóm tắt

Attrs Summarize(
  int64 x
)