T - data type for output() outputpublic final class ResizeBilinearGrad<T extends Number> extends PrimitiveOp implements Operand<T>
| Modifier and Type | Class and Description |
|---|---|
static class |
ResizeBilinearGrad.Options
Optional attributes for
ResizeBilinearGrad |
operation| Modifier and Type | Method and Description |
|---|---|
static ResizeBilinearGrad.Options |
alignCorners(Boolean alignCorners) |
Output<T> |
asOutput()
Returns the symbolic handle of a tensor.
|
static <T extends Number> |
create(Scope scope,
Operand<Float> grads,
Operand<T> originalImage,
ResizeBilinearGrad.Options... options)
Factory method to create a class to wrap a new ResizeBilinearGrad operation to the graph.
|
Output<T> |
output()
4-D with shape `[batch, orig_height, orig_width, channels]`.
|
equals, hashCode, toStringpublic static <T extends Number> ResizeBilinearGrad<T> create(Scope scope, Operand<Float> grads, Operand<T> originalImage, ResizeBilinearGrad.Options... options)
scope - current graph scopegrads - 4-D with shape `[batch, height, width, channels]`.originalImage - 4-D with shape `[batch, orig_height, orig_width, channels]`,
The image tensor that was resized.options - carries optional attributes valuespublic static ResizeBilinearGrad.Options alignCorners(Boolean alignCorners)
alignCorners - If true, the centers of the 4 corner pixels of the input and grad tensors are
aligned. Defaults to false.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.