Hoạt động ghi nhật ký

Bản tóm tắt

Biến

Arguments
audio **If max_outputs is greater the summary value tags are *generated sequentially as *tag *tag etc **
audio
audio **If max_outputs is greater the summary value tags are *generated sequentially as *tag *
bad_color_ = Input::Initializer({255, 0, 0, 255}, {4}).AsTensorProto()
TensorProto
image
image **If max_images is greater the summary value tags are *generated sequentially as *tag *
max_images_ = 3
int64
max_outputs_ = x
ret
operation
Operation
ret
return
sample_rate
audio **If max_outputs is greater the summary value tags are *generated sequentially as *tag *tag etc frames **
summary
than
audio **If max_outputs is greater
Xuất ra bộ đệm giao thức Summary có âm thanh.

Chức năng

AudioSummary (const :: tensorflow::Scope & scope, :: tensorflow::Input tag, :: tensorflow::Input tensor, :: tensorflow::Input sample_rate)
AudioSummary (const :: tensorflow::Scope & scope, :: tensorflow::Input tag, :: tensorflow::Input tensor, :: tensorflow::Input sample_rate, const AudioSummary::Attrs & attrs)
BadColor (const TensorProto & x)
TF_MUST_USE_RESULT Attrs
Màu để sử dụng cho các pixel có giá trị không giới hạn.
ImageSummary (const :: tensorflow::Scope & scope, :: tensorflow::Input tag, :: tensorflow::Input tensor)
ImageSummary (const :: tensorflow::Scope & scope, :: tensorflow::Input tag, :: tensorflow::Input tensor, const ImageSummary::Attrs & attrs)
MaxImages (int64 x)
Attrs
MaxOutputs (int64 x)
Attrs
node () const
::tensorflow::Node *
range (It represents the value of a *pixel in the output image).Non-finite values in the input tensor are *replaced by this tensor in the output image.The default value is the color *red.**Arguments
image **If max_images is greater the summary value tags are *generated sequentially as *tag *tag etc **The bad_color argument is the color to use in the generated images for *non finite input values It is a uint8 D tensor of length channels *Each element must be in the
Số phần tử lô tối đa để tạo hình ảnh.

Các lớp học

tensorflow:: ops:: Khẳng định

Khẳng định rằng điều kiện đã cho là đúng.

tenorflow:: ops:: Biểu đồTóm tắt

Xuất ra bộ đệm giao thức Summary tắt kèm theo biểu đồ.

tenorflow:: ops:: Hợp nhấtTóm tắt

Hợp nhất các bản tóm tắt.

tenorflow:: ops:: In

In danh sách các tensor.

tenorflow:: ops:: PrintV2

In một chuỗi vô hướng.

tenorflow:: ops:: ScalarSummary

Xuất ra bộ đệm giao thức Summary với các giá trị vô hướng.

tenorflow:: ops:: TensorSummary

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

tenorflow:: ops:: TensorSummaryV2

Xuất ra bộ đệm giao thức Summary với dữ liệu tensor và mỗi plugin.

tenorflow:: ops:: Dấu thời gian

Cung cấp thời gian kể từ kỷ nguyên tính bằng giây.

Biến

Tranh luận

audio **If max_outputs is greater the summary value tags are *generated sequentially as *tag *tag etc ** Arguments

âm thanh

audio **If max_outputs is greater the summary value tags are *generated sequentially as *tag * audio

xấu_color_

TensorProto bad_color_ = Input::Initializer({255, 0, 0, 255}, {4}).AsTensorProto()

hình ảnh

image **If max_images is greater the summary value tags are *generated sequentially as *tag * image

tối đa hình ảnh_

int64 max_images_ = 3

max_output_

ret max_outputs_ = x

hoạt động

Operation operation

về lại

return ret

tỷ lệ mẫu

audio **If max_outputs is greater the summary value tags are *generated sequentially as *tag *tag etc frames ** sample_rate

bản tóm tắt

::tensorflow::Output summary

hơn

audio **If max_outputs is greater than

Xuất ra bộ đệm giao thức Summary có âm thanh.

Xuất ra bộ đệm giao thức Summary có hình ảnh.

Bản tóm tắt có tối đa giá trị tóm max_outputs chứa âm thanh. Âm thanh được xây dựng từ tensor phải là 3-D với hình dạng [batch_size, frames, channels] hoặc 2-D với hình dạng [batch_size, frames] . Các giá trị được giả định nằm trong phạm vi [-1.0, 1.0] với tốc độ mẫu là sample_rate .

Đối tag là một Tensor vô hướng có kiểu string . Nó được sử dụng để xây dựng tag của các giá trị tóm tắt:

  • Nếu max_outputs là 1 thì thẻ giá trị tóm tắt là '*tag

Bản tóm tắt có tối đa giá trị tóm tắt max_images chứa hình ảnh. Hình ảnh được tạo từ tensor phải là 4-D với hình dạng [batch_size, height, width, channels] và nơi channels có thể là:

  • 1: tensor được hiểu là thang độ xám.
  • 3: tensor được hiểu là RGB.
  • 4: tensor được hiểu là RGBA.

Các hình ảnh có cùng số kênh với tensor đầu vào. Đối với đầu vào float, các giá trị được chuẩn hóa từng hình ảnh một để vừa với phạm vi [0, 255] . giá trị uint8 không thay đổi. Op sử dụng hai thuật toán chuẩn hóa khác nhau:

  • Nếu tất cả các giá trị đầu vào đều dương, chúng sẽ được thay đổi tỷ lệ để giá trị lớn nhất là 255.
  • Nếu bất kỳ giá trị đầu vào nào là âm thì các giá trị đó sẽ được dịch chuyển sao cho giá trị đầu vào 0,0 là 127. Sau đó, chúng được định cỡ lại sao cho giá trị nhỏ nhất là 0 hoặc giá trị lớn nhất là 255.

Đối tag là một Tensor vô hướng có kiểu string . Nó được sử dụng để xây dựng tag của các giá trị tóm tắt:

  • Nếu max_images là 1 thì thẻ giá trị tóm tắt là '*tag

Chức năng

Âm thanhTóm tắt

 AudioSummary(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input tag,
  ::tensorflow::Input tensor,
  ::tensorflow::Input sample_rate
)

Âm thanhTóm tắt

 AudioSummary(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input tag,
  ::tensorflow::Input tensor,
  ::tensorflow::Input sample_rate,
  const AudioSummary::Attrs & attrs
)

Màu xấu

TF_MUST_USE_RESULT Attrs BadColor(
  const TensorProto & x
)

Màu để sử dụng cho các pixel có giá trị không giới hạn.

Mặc định là Tensor

Hình ảnhTóm tắt

 ImageSummary(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input tag,
  ::tensorflow::Input tensor
)

Hình ảnhTóm tắt

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

Hình ảnh tối đa

Attrs MaxImages(
  int64 x
)

Đầu ra tối đa

Attrs MaxOutputs(
  int64 x
)

nút

::tensorflow::Node * node() const 

phạm vi

image **If max_images is greater the summary value tags are *generated sequentially as *tag *tag etc **The bad_color argument is the color to use in the generated images for *non finite input values It is a uint8 D tensor of length channels *Each element must be in the range(
  It represents the value of a *pixel in the output image
).Non-finite values in the input tensor are *replaced by this tensor in the output image.The default value is the color *red.**Arguments

Số phần tử lô tối đa để tạo hình ảnh.

Mặc định là 3