@Namespace(value="tensorflow::ops") @NoOffset @Properties(inherit=tensorflow.class) public class 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 |
Abort.Attrs
Optional attribute setters for Abort
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Abort(Pointer p)
Pointer cast constructor.
|
Abort(Scope scope) |
Abort(Scope scope,
Abort.Attrs attrs) |
Modifier and Type | Method and Description |
---|---|
Operation |
asOperation() |
static Abort.Attrs |
ErrorMsg(BytePointer x) |
static Abort.Attrs |
ErrorMsg(String x) |
static Abort.Attrs |
ExitWithoutError(boolean x) |
Operation |
operation() |
Abort |
operation(Operation setter) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public Abort(Pointer p)
Pointer(Pointer)
.@ByVal public static Abort.Attrs ErrorMsg(@tensorflow.StringPiece BytePointer x)
@ByVal public static Abort.Attrs ErrorMsg(@tensorflow.StringPiece String x)
@ByVal public static Abort.Attrs ExitWithoutError(@Cast(value="bool") boolean x)
Copyright © 2022. All rights reserved.