Update text length for pylint error
This commit is contained in:
parent
d7e98863dd
commit
1022952737
2
configure
vendored
2
configure
vendored
@ -4,7 +4,7 @@ set -e
|
||||
set -o pipefail
|
||||
|
||||
if [ -z "$PYTHON_BIN_PATH" ]; then
|
||||
PYTHON_BIN_PATH=$(which python || which python3 || true)
|
||||
PYTHON_BIN_PATH=$( which python3 || true)
|
||||
fi
|
||||
|
||||
# Set all env variables
|
||||
|
@ -349,15 +349,17 @@ class FileWriter(SummaryToEventTransformer):
|
||||
RuntimeError: If called with eager execution enabled.
|
||||
|
||||
@compatibility(eager)
|
||||
`v1.summary.FileWriter` is not compatible with eager execution. To write TensorBoard
|
||||
summaries under eager execution, use `tf.summary.create_file_writer` or a
|
||||
`with v1.Graph().as_default():` context.
|
||||
`v1.summary.FileWriter` is not compatible with eager execution.
|
||||
To write TensorBoard summaries under eager execution,
|
||||
use `tf.summary.create_file_writer` or
|
||||
a `with v1.Graph().as_default():` context.
|
||||
@end_compatibility
|
||||
"""
|
||||
if context.executing_eagerly():
|
||||
raise RuntimeError(
|
||||
"v1.summary.FileWriter is not compatible with eager execution. "
|
||||
"Use `tf.summary.create_file_writer`, or a `with v1.Graph().as_default():` context")
|
||||
"Use `tf.summary.create_file_writer`,"
|
||||
"or a `with v1.Graph().as_default():` context")
|
||||
if session is not None:
|
||||
event_writer = EventFileWriterV2(
|
||||
session, logdir, max_queue, flush_secs, filename_suffix)
|
||||
|
Loading…
Reference in New Issue
Block a user