T - data type for output() outputpublic final class LRNGrad<T extends Number> extends PrimitiveOp implements Operand<T>
| Modifier and Type | Class and Description |
|---|---|
static class |
LRNGrad.Options
Optional attributes for
LRNGrad |
operation| Modifier and Type | Method and Description |
|---|---|
static LRNGrad.Options |
alpha(Float alpha) |
Output<T> |
asOutput()
Returns the symbolic handle of a tensor.
|
static LRNGrad.Options |
beta(Float beta) |
static LRNGrad.Options |
bias(Float bias) |
static <T extends Number> |
create(Scope scope,
Operand<T> inputGrads,
Operand<T> inputImage,
Operand<T> outputImage,
LRNGrad.Options... options)
Factory method to create a class to wrap a new LRNGrad operation to the graph.
|
static LRNGrad.Options |
depthRadius(Long depthRadius) |
Output<T> |
output()
The gradients for LRN.
|
equals, hashCode, toStringpublic static <T extends Number> LRNGrad<T> create(Scope scope, Operand<T> inputGrads, Operand<T> inputImage, Operand<T> outputImage, LRNGrad.Options... options)
scope - current graph scopeinputGrads - 4-D with shape `[batch, height, width, channels]`.inputImage - 4-D with shape `[batch, height, width, channels]`.outputImage - 4-D with shape `[batch, height, width, channels]`.options - carries optional attributes valuespublic static LRNGrad.Options depthRadius(Long depthRadius)
depthRadius - A depth radius.public static LRNGrad.Options bias(Float bias)
bias - An offset (usually > 0 to avoid dividing by 0).public static LRNGrad.Options alpha(Float alpha)
alpha - A scale factor, usually positive.public static LRNGrad.Options beta(Float beta)
beta - An exponent.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.