@Operator public final class PrintV2 extends PrimitiveOp
Prints a string scalar to the desired output_stream.
| Modifier and Type | Class and Description |
|---|---|
static class |
PrintV2.Options
Optional attributes for
PrintV2 |
operation| Modifier and Type | Method and Description |
|---|---|
static PrintV2 |
create(Scope scope,
Operand<String> input,
PrintV2.Options... options)
Factory method to create a class to wrap a new PrintV2 operation to the graph.
|
static PrintV2.Options |
outputStream(String outputStream) |
equals, hashCode, toStringpublic static PrintV2 create(Scope scope, Operand<String> input, PrintV2.Options... options)
scope - current graph scopeinput - The string scalar to print.options - carries optional attributes valuespublic static PrintV2.Options outputStream(String outputStream)
outputStream - A string specifying the output stream or logging level to print to.Copyright © 2015–2019. All rights reserved.