tensorflow::ops::Abort::Attrs

tensorflow::ops::Abort::Attrs

#include <control_flow_ops.h>

Optional attribute setters for Abort.

Summary

Public attributes
error_msg_ = ""
StringPiece
exit_without_error_ = false
bool
Public functions
ErrorMsg(StringPiece x)
A string which is the message associated with the exception.
ExitWithoutError(bool x)
Defaults to false.

Public attributes

error_msg_

StringPiece tensorflow::ops::Abort::Attrs::error_msg_ = ""

exit_without_error_

bool tensorflow::ops::Abort::Attrs::exit_without_error_ = false

Public functions

ErrorMsg

Attrs tensorflow::ops::Abort::Attrs::ErrorMsg(
  StringPiece x
)

A string which is the message associated with the exception.

Defaults to ""

ExitWithoutError

Attrs tensorflow::ops::Abort::Attrs::ExitWithoutError(
  bool x
)

Defaults to false.

© 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/abort/attrs.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部