Modifier and Type | Class and Description |
---|---|
static class |
Dequantize.Inputs |
Modifier and Type | Field and Description |
---|---|
static String |
OP_NAME
The name of this op, as known by TensorFlow core engine
|
Constructor and Description |
---|
Dequantize(Operation operation) |
Modifier and Type | Method and Description |
---|---|
Output<TBfloat16> |
asOutput()
Returns the symbolic handle of the tensor.
|
static Dequantize |
create(Scope scope,
Operand<? extends TType> input,
Float minRange,
Float maxRange,
String mode,
Boolean transposeOutput)
Factory method to create a class wrapping a new XlaDequantize operation.
|
Output<TBfloat16> |
output()
Gets output.
|
public static final String OP_NAME
public Dequantize(Operation operation)
@Endpoint(describeByClass=true) public static Dequantize create(Scope scope, Operand<? extends TType> input, Float minRange, Float maxRange, String mode, Boolean transposeOutput)
scope
- current scopeinput
- Input tensors whose types is uint32, shape is [d0, ..., dn].minRange
- The minimum scalar value possibly produced for the input.maxRange
- The maximum scalar value possibly produced for the input.mode
- String to determine the dequantize mode in {"MIN_COMBINED", "MIN_FIRST", "SCALED"}.transposeOutput
- Boolean to determine if output is transposed. transpose_output
is faster when input is large and rank of input is higher than 1.public Output<TBfloat16> output()
public Output<TBfloat16> asOutput()
Operand
Inputs 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<TBfloat16>
OperationBuilder.addInput(Output)
Copyright © 2015–2022. All rights reserved.