U - data type for activations() output@Operator(group="nn") public final class QuantizedRelu6<U> extends PrimitiveOp
operation| Modifier and Type | Method and Description |
|---|---|
Output<U> |
activations()
Has the same output shape as "features".
|
static <U,T> QuantizedRelu6<U> |
create(Scope scope,
Operand<T> features,
Operand<Float> minFeatures,
Operand<Float> maxFeatures,
Class<U> outType)
Factory method to create a class wrapping a new QuantizedRelu6 operation.
|
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, op, toStringpublic static <U,T> QuantizedRelu6<U> create(Scope scope, Operand<T> features, Operand<Float> minFeatures, Operand<Float> maxFeatures, Class<U> outType)
scope - current scopefeatures - 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 © 2022. All rights reserved.