@Namespace(value="tensorflow::ops") @NoOffset public static class tensorflow.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 |
tensorflow.Assert.Attrs
Optional attribute setters for Assert
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
Assert(Pointer p)
Pointer cast constructor.
|
Assert(tensorflow.Scope scope,
tensorflow.Input condition,
tensorflow.InputList data) |
Assert(tensorflow.Scope scope,
tensorflow.Input condition,
tensorflow.InputList data,
tensorflow.Assert.Attrs attrs) |
| Modifier and Type | Method and Description |
|---|---|
tensorflow.Operation |
asOperation() |
tensorflow.Operation |
operation() |
tensorflow.Assert |
operation(tensorflow.Operation operation) |
static tensorflow.Assert.Attrs |
Summarize(long x) |
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 Assert(Pointer p)
Pointer.Pointer(Pointer).public Assert(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input condition, @ByVal tensorflow.InputList data)
public Assert(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input condition, @ByVal tensorflow.InputList data, @Const @ByRef tensorflow.Assert.Attrs attrs)
@ByVal @Name(value="operator tensorflow::Operation") public tensorflow.Operation asOperation()
@ByVal public static tensorflow.Assert.Attrs Summarize(@Cast(value="tensorflow::int64") long x)
@ByRef public tensorflow.Operation operation()
public tensorflow.Assert operation(tensorflow.Operation operation)
Copyright © 2019. All rights reserved.