tensorflow::ops::Abort

tensorflow::ops::Abort

#include <control_flow_ops.h>

Raise a exception to abort the process when called.

Summary

If exit_without_error is true, the process will exit normally, otherwise it will exit with a SIGABORT signal.

Returns nothing but an exception.

Arguments:

Optional attributes (see Attrs):

  • error_msg: A string which is the message associated with the exception.

Returns:

Constructors and Destructors
Abort(const ::tensorflow::Scope & scope)
Abort(const ::tensorflow::Scope & scope, const Abort::Attrs & attrs)
Public attributes
operation
Public functions
operator::tensorflow::Operation() const
Public static functions
ErrorMsg(StringPiece x)
ExitWithoutError(bool x)
Structs
tensorflow::ops::Abort::Attrs

Optional attribute setters for Abort.

Public attributes

operation

Operation operation

Public functions

Abort

 Abort(
  const ::tensorflow::Scope & scope
)

Abort

 Abort(
  const ::tensorflow::Scope & scope,
  const Abort::Attrs & attrs
)

operator::tensorflow::Operation

operator::tensorflow::Operation() const 

Public static functions

ErrorMsg

Attrs ErrorMsg(
  StringPiece x
)

ExitWithoutError

Attrs ExitWithoutError(
  bool x
)

© 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/class/tensorflow/ops/abort.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部