Modifier and Type | Class and Description |
---|---|
static class |
ScaleAndTranslate.Options
Optional attributes for
ScaleAndTranslate |
operation
Modifier and Type | Method and Description |
---|---|
static ScaleAndTranslate.Options |
antialias(Boolean antialias) |
Output<Float> |
asOutput()
Returns the symbolic handle of a tensor.
|
static <T extends Number> |
create(Scope scope,
Operand<T> images,
Operand<Integer> size,
Operand<Float> scale,
Operand<Float> translation,
ScaleAndTranslate.Options... options)
Factory method to create a class wrapping a new ScaleAndTranslate operation.
|
static ScaleAndTranslate.Options |
kernelType(String kernelType) |
Output<Float> |
resizedImages() |
equals, hashCode, op, toString
public static <T extends Number> ScaleAndTranslate create(Scope scope, Operand<T> images, Operand<Integer> size, Operand<Float> scale, Operand<Float> translation, ScaleAndTranslate.Options... options)
scope
- current scopeimages
- size
- scale
- translation
- options
- carries optional attributes valuespublic static ScaleAndTranslate.Options kernelType(String kernelType)
kernelType
- public static ScaleAndTranslate.Options antialias(Boolean antialias)
antialias
- public Output<Float> 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<Float>
OperationBuilder.addInput(Output)
Copyright © 2022. All rights reserved.