@Namespace(value="tensorflow::ops") @NoOffset public static class tensorflow.Abort extends Pointer
Raise a exception to abort the process when called.
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:
* scope: A Scope object
Optional attributes (see Attrs):
* error_msg: A string which is the message associated with the exception.
Returns:
* the created Operation
| Modifier and Type | Class and Description |
|---|---|
static class |
tensorflow.Abort.Attrs
Optional attribute setters for Abort
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
Abort(Pointer p)
Pointer cast constructor.
|
Abort(tensorflow.Scope scope) |
Abort(tensorflow.Scope scope,
tensorflow.Abort.Attrs attrs) |
| Modifier and Type | Method and Description |
|---|---|
tensorflow.Operation |
asOperation() |
static tensorflow.Abort.Attrs |
ErrorMsg(BytePointer x) |
static tensorflow.Abort.Attrs |
ErrorMsg(String x) |
static tensorflow.Abort.Attrs |
ExitWithoutError(boolean x) |
tensorflow.Operation |
operation() |
tensorflow.Abort |
operation(tensorflow.Operation operation) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic Abort(Pointer p)
Pointer.Pointer(Pointer).public Abort(@Const @ByRef tensorflow.Scope scope)
public Abort(@Const @ByRef tensorflow.Scope scope, @Const @ByRef tensorflow.Abort.Attrs attrs)
@ByVal @Name(value="operator tensorflow::Operation") public tensorflow.Operation asOperation()
@ByVal public static tensorflow.Abort.Attrs ErrorMsg(@tensorflow.StringPiece BytePointer x)
@ByVal public static tensorflow.Abort.Attrs ErrorMsg(@tensorflow.StringPiece String x)
@ByVal public static tensorflow.Abort.Attrs ExitWithoutError(@Cast(value="bool") boolean x)
@ByRef public tensorflow.Operation operation()
public tensorflow.Abort operation(tensorflow.Operation operation)
Copyright © 2019. All rights reserved.