@Namespace(value="tensorflow::ops") @NoOffset @Properties(inherit=tensorflow.class) public class Assert extends Pointer
Asserts that the given condition is true.
If condition
evaluates to false, print the list of tensors in data
.
summarize
determines how many entries of the tensors to print.
Arguments:
* scope: A Scope object
* condition: The condition to evaluate.
* data: The tensors to print out when condition is false.
Optional attributes (see Attrs
):
* summarize: Print this many entries of each tensor.
Returns:
* the created Operation
Modifier and Type | Class and Description |
---|---|
static class |
Assert.Attrs
Optional attribute setters for Assert
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Assert(Pointer p)
Pointer cast constructor.
|
Assert(Scope scope,
Input condition,
InputList data) |
Assert(Scope scope,
Input condition,
InputList data,
Assert.Attrs attrs) |
Modifier and Type | Method and Description |
---|---|
Operation |
asOperation() |
Operation |
operation() |
Assert |
operation(Operation setter) |
static Assert.Attrs |
Summarize(long x) |
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 Assert(Pointer p)
Pointer(Pointer)
.@ByVal public static Assert.Attrs Summarize(@Cast(value="tensorflow::int64") long x)
Copyright © 2022. All rights reserved.