@Operator(group="image") public final class EncodeJpegVariableQuality extends PrimitiveOp implements Operand<String>
`image` is a 3-D uint8 Tensor of shape `[height, width, channels]`. `quality` is an int32 jpeg compression quality value between 0 and 100.
operation| Modifier and Type | Method and Description |
|---|---|
Output<String> |
asOutput()
Returns the symbolic handle of a tensor.
|
Output<String> |
contents()
0-D.
|
static EncodeJpegVariableQuality |
create(Scope scope,
Operand<UInt8> images,
Operand<Integer> quality)
Factory method to create a class wrapping a new EncodeJpegVariableQuality operation.
|
equals, hashCode, op, toStringpublic static EncodeJpegVariableQuality create(Scope scope, Operand<UInt8> images, Operand<Integer> quality)
scope - current scopeimages - Images to adjust. At least 3-D.quality - An int quality to encode to.public Output<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<String>OperationBuilder.addInput(Output)Copyright © 2015–2019. All rights reserved.