U - data type for activations() output@Operator public final class QuantizedReluX<U> extends PrimitiveOp
operation| Modifier and Type | Method and Description |
|---|---|
Output<U> |
activations()
Has the same output shape as "features".
|
static <U,T> QuantizedReluX<U> |
create(Scope scope,
Operand<T> features,
Operand<Float> maxValue,
Operand<Float> minFeatures,
Operand<Float> maxFeatures,
Class<U> outType)
Factory method to create a class to wrap a new QuantizedReluX operation to the graph.
|
Output<Float> |
maxActivations()
The float value that the highest quantized value represents.
|
Output<Float> |
minActivations()
The float value that the lowest quantized value represents.
|
equals, hashCode, toStringpublic static <U,T> QuantizedReluX<U> create(Scope scope, Operand<T> features, Operand<Float> maxValue, Operand<Float> minFeatures, Operand<Float> maxFeatures, Class<U> outType)
scope - current graph scopefeatures - maxValue - minFeatures - The float value that the lowest quantized value represents.maxFeatures - The float value that the highest quantized value represents.outType - public Output<Float> minActivations()
Copyright © 2015–2019. All rights reserved.