T
- data type for output()
output@Operator(group="image") 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 wrapping a new HsvToRgb operation.
|
Output<T> |
output()
`images` converted to RGB.
|
equals, hashCode, op, toString
public static <T extends Number> HsvToRgb<T> create(Scope scope, Operand<T> images)
scope
- current scopeimages
- 1-D or higher rank. HSV data to convert. Last dimension must be size 3.public Output<T> asOutput()
Operand
Inputs 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 © 2022. All rights reserved.