@Namespace(value="tensorflow::ops") @NoOffset @Properties(inherit=tensorflow.class) public class Print extends Pointer
input
through to output
and prints data
when evaluating.
Arguments:
* scope: A Scope object
* input: The tensor passed to output
* data: A list of tensors to print out when op is evaluated.
Optional attributes (see Attrs
):
* message: A string, prefix of the error message.
* first_n: Only log first_n
number of times. -1 disables logging.
* summarize: Only print this many entries of each tensor.
Returns:
* Output
: = The unmodified input
tensorModifier and Type | Class and Description |
---|---|
static class |
Print.Attrs
Optional attribute setters for Print
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Print(Pointer p)
Pointer cast constructor.
|
Print(Scope scope,
Input input,
InputList data) |
Print(Scope scope,
Input input,
InputList data,
Print.Attrs attrs) |
Modifier and Type | Method and Description |
---|---|
Input |
asInput() |
Output |
asOutput() |
static Print.Attrs |
FirstN(long x) |
static Print.Attrs |
Message(BytePointer x) |
static Print.Attrs |
Message(String x) |
Node |
node() |
Operation |
operation() |
Print |
operation(Operation setter) |
Output |
output() |
Print |
output(Output setter) |
static Print.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 Print(Pointer p)
Pointer(Pointer)
.public Node node()
@ByVal public static Print.Attrs Message(@tensorflow.StringPiece BytePointer x)
@ByVal public static Print.Attrs Message(@tensorflow.StringPiece String x)
@ByVal public static Print.Attrs FirstN(@Cast(value="tensorflow::int64") long x)
@ByVal public static Print.Attrs Summarize(@Cast(value="tensorflow::int64") long x)
Copyright © 2022. All rights reserved.