Google I/O'yu ayarladığınız için teşekkür ederiz. İsteğe bağlı olarak tüm oturumları görüntüleyin İsteğe bağlı olarak izleyin

tensorflow :: ops :: İptal

#include <control_flow_ops.h>

Çağrıldığında işlemi iptal etmek için bir istisna oluşturun.

Özet

Exit_without_error doğruysa, işlem normal şekilde sonlanacak, aksi takdirde bir SIGABORT sinyaliyle çıkacaktır.

Bir istisna dışında hiçbir şey döndürmez.

Argümanlar:

  • kapsam: Bir Scope nesnesi

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

  • error_msg: İstisna ile ilişkilendirilmiş mesaj olan bir dize.

İ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

Genel statik işlevler

ErrorMsg (StringPiece x)
ExitWithoutError (bool x)

Yapılar

tensorflow :: ops :: Abort :: Attrs

İptal için isteğe bağlı öznitelik belirleyiciler.

Genel özellikler

operasyon

Operation operation

Kamusal işlevler

İptal

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

İptal

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

operator :: tensorflow :: İşlem

 operator::tensorflow::Operation() const 

Genel statik işlevler

ErrorMsg

Attrs ErrorMsg(
  StringPiece x
)

ExitWithoutError

Attrs ExitWithoutError(
  bool x
)