@Operator(group="summary") public final class ImageSummary extends PrimitiveOp implements Operand<java.lang.String>
The summary has up to `max_images` summary values containing images. The images are built from `tensor` which must be 4-D with shape `[batch_size, height, width, channels]` and where `channels` can be:
| Modifier and Type | Class | Description |
|---|---|---|
static class |
ImageSummary.Options |
Optional attributes for
ImageSummary |
operation| Modifier and Type | Method | Description |
|---|---|---|
Output<java.lang.String> |
asOutput() |
Returns the symbolic handle of a tensor.
|
static ImageSummary.Options |
badColor(Tensor<?> badColor) |
|
static <T extends java.lang.Number> |
create(Scope scope,
Operand<java.lang.String> tag,
Operand<T> tensor,
ImageSummary.Options... options) |
Factory method to create a class to wrap a new ImageSummary operation to the graph.
|
static ImageSummary.Options |
maxImages(java.lang.Long maxImages) |
|
Output<java.lang.String> |
summary() |
Scalar.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitequals, hashCode, toStringpublic static <T extends java.lang.Number> ImageSummary create(Scope scope, Operand<java.lang.String> tag, Operand<T> tensor, ImageSummary.Options... options)
scope - current graph scopetag - Scalar. Used to build the `tag` attribute of the summary values.tensor - 4-D of shape `[batch_size, height, width, channels]` where
`channels` is 1, 3, or 4.options - carries optional attributes valuespublic static ImageSummary.Options maxImages(java.lang.Long maxImages)
maxImages - Max number of batch elements to generate images for.public static ImageSummary.Options badColor(Tensor<?> badColor)
badColor - Color to use for pixels with non-finite values.public Output<java.lang.String> summary()
public Output<java.lang.String> asOutput()
OperandInputs to TensorFlow operations are outputs of another TensorFlow operation. This method is used to obtain a symbolic handle that represents the computation of the input.
asOutput in interface Operand<java.lang.String>OperationBuilder.addInput(Output)