| Modifier and Type | Class and Description |
|---|---|
static class |
DecodeRaw.Options
Optional attributes for
DecodeRaw |
operation| Modifier and Type | Method and Description |
|---|---|
Output<T> |
asOutput()
Returns the symbolic handle of a tensor.
|
static <T extends Number> |
create(Scope scope,
Operand<String> bytes,
Class<T> outType,
DecodeRaw.Options... options)
Factory method to create a class to wrap a new DecodeRaw operation to the graph.
|
static DecodeRaw.Options |
littleEndian(Boolean littleEndian) |
Output<T> |
output()
A Tensor with one more dimension than the input `bytes`.
|
equals, hashCode, toStringpublic static <T extends Number> DecodeRaw<T> create(Scope scope, Operand<String> bytes, Class<T> outType, DecodeRaw.Options... options)
scope - current graph scopebytes - All the elements must have the same length.outType - options - carries optional attributes valuespublic static DecodeRaw.Options littleEndian(Boolean littleEndian)
littleEndian - Whether the input `bytes` are in little-endian order.
Ignored for `out_type` values that are stored in a single byte like
`uint8`.public Output<T> output()
public Output<T> 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<T extends Number>OperationBuilder.addInput(Output)Copyright © 2015–2019. All rights reserved.