T - data type for output() output@Operator public final class HSVToRGB<T extends Number> extends PrimitiveOp implements Operand<T>
Outputs a tensor of the same shape as the `images` tensor, containing the RGB value of the pixels. The output is only well defined if the value in `images` are in `[0,1]`.
See `rgb_to_hsv` for a description of the HSV encoding.
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<T> images)
Factory method to create a class to wrap a new HSVToRGB operation to the graph.
|
Output<T> |
output()
`images` converted to RGB.
|
equals, hashCode, toStringpublic static <T extends Number> HSVToRGB<T> create(Scope scope, Operand<T> images)
scope - current graph scopeimages - 1-D or higher rank. HSV data to convert. Last dimension must be size 3.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.