dòng chảy :: hoạt động :: TensorSummary

#include <logging_ops.h>

Xuất ra một bộ đệm giao thức Summary với một tensor.

Tóm lược

Tùy chọn này đang được loại bỏ dần để ủng hộ TensorSummaryV2 , cho phép người gọi chuyển thẻ cũng như chuỗi proto SummaryMetadata được tuần tự hóa chứa dữ liệu cụ thể của plugin. Chúng tôi sẽ giữ tùy chọn này để duy trì khả năng tương thích ngược.

Tranh luận:

  • phạm vi: Một đối tượng Phạm vi
  • tensor: Một tensor để nối tiếp.

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

  • Mô tả: Một proto SummaryDescription được mã hóa bằng json.
  • nhãn: Danh sách các chuỗi không sử dụng.
  • display_name: Một chuỗi không sử dụng.

Lợi nhuận:

Người xây dựng và Người phá hủy

TensorSummary (const :: tensorflow::Scope & scope, :: tensorflow::Input tensor)
TensorSummary (const :: tensorflow::Scope & scope, :: tensorflow::Input tensor, const TensorSummary::Attrs & attrs)

Thuộc tính công khai

operation
summary

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

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

Chức năng tĩnh công khai

Description (StringPiece x)
DisplayName (StringPiece x)
Labels (const gtl::ArraySlice<::tensorflow::tstring > & x)

Cấu trúc

tensorflow :: ops :: TensorSummary :: Attrs

Bộ thiết lập thuộc tính tùy chọn cho TensorSummary .

Thuộc tính công khai

hoạt động

Operation operation

tóm lược

::tensorflow::Output summary

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

TensorSummary

 TensorSummary(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input tensor
)

TensorSummary

 TensorSummary(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input tensor,
  const TensorSummary::Attrs & attrs
)

nút

::tensorflow::Node * node() const 

toán tử :: tensorflow :: Đầu vào

 operator::tensorflow::Input() const 

toán tử :: tensorflow :: Đầu ra

 operator::tensorflow::Output() const 

Chức năng tĩnh công khai

Sự miêu tả

Attrs Description(
  StringPiece x
)

Tên hiển thị

Attrs DisplayName(
  StringPiece x
)

Nhãn

Attrs Labels(
  const gtl::ArraySlice<::tensorflow::tstring > & x
)