tensorflow::ops::Abort

#include <control_flow_ops.h>

Çağrıldığında işlemi sonlandırmak için bir istisna fırlatın.

Özet

`exit_without_error` değeri `true` ise işlem normal şekilde sonlanır, aksi takdirde `SIGABORT` sinyaliyle sonlanır.

Yalnızca bir istisna döndürür.

Argümanlar:

İsteğe bağlı özellikler (bkz. Attrs ):

  • error_msg: İstisna ile ilişkili mesajı içeren bir metin dizisi.

İadeler:

Yapıcılar ve Yıkıcılar

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

Genel özellikler

operation

Kamusal işlevler

operator::tensorflow::Operation () const

Herkese açık statik fonksiyonlar

ErrorMsg (StringPiece x)
ExitWithoutError (bool x)

Yapılar

tensorflow::ops::Abort::Attrs

İptal işlemi için isteğe bağlı öznitelik ayarlayıcıları.

Genel özellikler

operasyon

Operation operation

Kamusal işlevler

İptal et

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

İptal et

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

operatör::tensorflow::İşlem

 operator::tensorflow::Operation() const 

Herkese açık statik fonksiyonlar

Hata Mesajı

Attrs ErrorMsg(
  StringPiece x
)

Hatasız Çıkış

Attrs ExitWithoutError(
  bool x
)