public FakeQuantWithMinMaxVarsPerChannelGradient fakeQuantWithMinMaxVarsPerChannelGradient(Operand<Float> gradients, Operand<Float> inputs, Operand<Float> min, Operand<Float> max, FakeQuantWithMinMaxVarsPerChannelGradient.Options... options)
FakeQuantWithMinMaxVarsPerChannelGradient
operationgradients
- Backpropagated gradients above the FakeQuantWithMinMaxVars operation,inputs
- Values passed as inputs to the FakeQuantWithMinMaxVars operation, shapemin
- max
- options
- carries optional attributes valuesFakeQuantWithMinMaxVarsPerChannelGradient
public <T> Dequantize dequantize(Operand<T> input, Operand<Float> minRange, Operand<Float> maxRange, Dequantize.Options... options)
Dequantize
operationinput
- minRange
- The minimum scalar value possibly produced for the input.maxRange
- The maximum scalar value possibly produced for the input.options
- carries optional attributes valuesDequantize
public <U,T> QuantizeDownAndShrinkRange<U> quantizeDownAndShrinkRange(Operand<T> input, Operand<Float> inputMin, Operand<Float> inputMax, Class<U> outType)
QuantizeDownAndShrinkRange
operationinput
- inputMin
- The float value that the minimum quantized input value represents.inputMax
- The float value that the maximum quantized input value represents.outType
- The type of the output. Should be a lower bit depth than Tinput.QuantizeDownAndShrinkRange
public FakeQuantWithMinMaxVarsGradient fakeQuantWithMinMaxVarsGradient(Operand<Float> gradients, Operand<Float> inputs, Operand<Float> min, Operand<Float> max, FakeQuantWithMinMaxVarsGradient.Options... options)
FakeQuantWithMinMaxVarsGradient
operationgradients
- Backpropagated gradients above the FakeQuantWithMinMaxVars operation.inputs
- Values passed as inputs to the FakeQuantWithMinMaxVars operation.min
- max
- options
- carries optional attributes valuesFakeQuantWithMinMaxVarsGradient
public FakeQuantWithMinMaxArgsGradient fakeQuantWithMinMaxArgsGradient(Operand<Float> gradients, Operand<Float> inputs, FakeQuantWithMinMaxArgsGradient.Options... options)
FakeQuantWithMinMaxArgsGradient
operationgradients
- Backpropagated gradients above the FakeQuantWithMinMaxArgs operation.inputs
- Values passed as inputs to the FakeQuantWithMinMaxArgs operation.options
- carries optional attributes valuesFakeQuantWithMinMaxArgsGradient
public FakeQuantWithMinMaxVarsPerChannel fakeQuantWithMinMaxVarsPerChannel(Operand<Float> inputs, Operand<Float> min, Operand<Float> max, FakeQuantWithMinMaxVarsPerChannel.Options... options)
FakeQuantWithMinMaxVarsPerChannel
operationinputs
- min
- max
- options
- carries optional attributes valuesFakeQuantWithMinMaxVarsPerChannel
public <T> Quantize<T> quantize(Operand<Float> input, Operand<Float> minRange, Operand<Float> maxRange, Class<T> T, Quantize.Options... options)
Quantize
operationinput
- minRange
- The minimum scalar value possibly produced for the input.maxRange
- The maximum scalar value possibly produced for the input.T
- options
- carries optional attributes valuesQuantize
public <U,T> Requantize<U> requantize(Operand<T> input, Operand<Float> inputMin, Operand<Float> inputMax, Operand<Float> requestedOutputMin, Operand<Float> requestedOutputMax, Class<U> outType)
Requantize
operationinput
- inputMin
- The float value that the minimum quantized input value represents.inputMax
- The float value that the maximum quantized input value represents.requestedOutputMin
- The float value that the minimum quantized output value represents.requestedOutputMax
- The float value that the maximum quantized output value represents.outType
- The type of the output. Should be a lower bit depth than Tinput.Requantize
public <T extends Number> QuantizeAndDequantize<T> quantizeAndDequantize(Operand<T> input, Operand<T> inputMin, Operand<T> inputMax, Operand<Integer> numBits, QuantizeAndDequantize.Options... options)
QuantizeAndDequantize
operationinput
- inputMin
- inputMax
- numBits
- options
- carries optional attributes valuesQuantizeAndDequantize
public FakeQuantWithMinMaxVars fakeQuantWithMinMaxVars(Operand<Float> inputs, Operand<Float> min, Operand<Float> max, FakeQuantWithMinMaxVars.Options... options)
FakeQuantWithMinMaxVars
operationinputs
- min
- max
- options
- carries optional attributes valuesFakeQuantWithMinMaxVars
public FakeQuantWithMinMaxArgs fakeQuantWithMinMaxArgs(Operand<Float> inputs, FakeQuantWithMinMaxArgs.Options... options)
FakeQuantWithMinMaxArgs
operationinputs
- options
- carries optional attributes valuesFakeQuantWithMinMaxArgs
public <T> RequantizationRange requantizationRange(Operand<T> input, Operand<Float> inputMin, Operand<Float> inputMax)
RequantizationRange
operationinput
- inputMin
- The float value that the minimum quantized input value represents.inputMax
- The float value that the maximum quantized input value represents.RequantizationRange
Copyright © 2022. All rights reserved.