@Namespace(value="tensorflow::ops") @NoOffset @Properties(inherit=tensorflow.class) public class TensorSummary extends Pointer
Summary
protocol buffer with a tensor.
This op is being phased out in favor of TensorSummaryV2, which lets callers pass
a tag as well as a serialized SummaryMetadata proto string that contains
plugin-specific data. We will keep this op to maintain backwards compatibility.
Arguments:
* scope: A Scope object
* tensor: A tensor to serialize.
Optional attributes (see Attrs
):
* description: A json-encoded SummaryDescription proto.
* labels: An unused list of strings.
* display_name: An unused string.
Returns:
* Output
: The summary tensor.Modifier and Type | Class and Description |
---|---|
static class |
TensorSummary.Attrs
Optional attribute setters for TensorSummary
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
TensorSummary(Pointer p)
Pointer cast constructor.
|
TensorSummary(Scope scope,
Input tensor) |
TensorSummary(Scope scope,
Input tensor,
TensorSummary.Attrs attrs) |
Modifier and Type | Method and Description |
---|---|
Input |
asInput() |
Output |
asOutput() |
static TensorSummary.Attrs |
Description(BytePointer x) |
static TensorSummary.Attrs |
Description(String x) |
static TensorSummary.Attrs |
DisplayName(BytePointer x) |
static TensorSummary.Attrs |
DisplayName(String x) |
static TensorSummary.Attrs |
Labels(StringVector x) |
Node |
node() |
Operation |
operation() |
TensorSummary |
operation(Operation setter) |
Output |
summary() |
TensorSummary |
summary(Output 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 TensorSummary(Pointer p)
Pointer(Pointer)
.public Node node()
@ByVal public static TensorSummary.Attrs Description(@tensorflow.StringPiece BytePointer x)
@ByVal public static TensorSummary.Attrs Description(@tensorflow.StringPiece String x)
@ByVal public static TensorSummary.Attrs Labels(@Cast(value="const tensorflow::gtl::ArraySlice<tensorflow::string>*") @ByRef StringVector x)
@ByVal public static TensorSummary.Attrs DisplayName(@tensorflow.StringPiece BytePointer x)
@ByVal public static TensorSummary.Attrs DisplayName(@tensorflow.StringPiece String x)
public TensorSummary operation(Operation setter)
public TensorSummary summary(Output setter)
Copyright © 2022. All rights reserved.