tensorflow::ops::Print::Attrs

tensorflow::ops::Print::Attrs

#include <logging_ops.h>

Optional attribute setters for Print.

Summary

Public attributes
first_n_ = -1
int64
message_ = ""
StringPiece
summarize_ = 3
int64
Public functions
FirstN(int64 x)
Only log first_n number of times.
Message(StringPiece x)
A string, prefix of the error message.
Summarize(int64 x)
Only print this many entries of each tensor.

Public attributes

first_n_

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

message_

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

summarize_

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

Public functions

FirstN

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

Only log first_n number of times.

-1 disables logging.

Defaults to -1

Message

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

A string, prefix of the error message.

Defaults to ""

Summarize

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

Only print this many entries of each tensor.

Defaults to 3

© 2017 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/cc/struct/tensorflow/ops/print/attrs.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部