@Namespace(value="tensorflow::ops") @NoOffset public static class tensorflow.QuantizeAndDequantizeV2 extends Pointer
range_given == True, this specifies the minimum input value that needs to
be represented, otherwise it is determined from the min value of the input
tensor.
* input_max: If range_given == True, this specifies the maximum input value that needs to
be represented, otherwise it is determined from the max value of the input
tensor.
Optional attributes (see Attrs):
* signed_input: Whether the quantization is signed or unsigned. (actually this parameter should
have been called signed_output)
* num_bits: The bitwidth of the quantization.
* range_given: Whether the range is given or should be determined from the input tensor.
Returns:
* Output: The output tensor.| Modifier and Type | Class and Description |
|---|---|
static class |
tensorflow.QuantizeAndDequantizeV2.Attrs
Optional attribute setters for QuantizeAndDequantizeV2
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
QuantizeAndDequantizeV2(Pointer p)
Pointer cast constructor.
|
QuantizeAndDequantizeV2(tensorflow.Scope scope,
tensorflow.Input input,
tensorflow.Input input_min,
tensorflow.Input input_max) |
QuantizeAndDequantizeV2(tensorflow.Scope scope,
tensorflow.Input input,
tensorflow.Input input_min,
tensorflow.Input input_max,
tensorflow.QuantizeAndDequantizeV2.Attrs attrs) |
| Modifier and Type | Method and Description |
|---|---|
tensorflow.Input |
asInput() |
tensorflow.Output |
asOutput() |
tensorflow.Node |
node() |
static tensorflow.QuantizeAndDequantizeV2.Attrs |
NumBits(long x) |
tensorflow.Operation |
operation() |
tensorflow.QuantizeAndDequantizeV2 |
operation(tensorflow.Operation operation) |
tensorflow.Output |
output() |
tensorflow.QuantizeAndDequantizeV2 |
output(tensorflow.Output output) |
static tensorflow.QuantizeAndDequantizeV2.Attrs |
RangeGiven(boolean x) |
static tensorflow.QuantizeAndDequantizeV2.Attrs |
SignedInput(boolean x) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic QuantizeAndDequantizeV2(Pointer p)
Pointer.Pointer(Pointer).public QuantizeAndDequantizeV2(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input input, @ByVal tensorflow.Input input_min, @ByVal tensorflow.Input input_max)
public QuantizeAndDequantizeV2(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input input, @ByVal tensorflow.Input input_min, @ByVal tensorflow.Input input_max, @Const @ByRef tensorflow.QuantizeAndDequantizeV2.Attrs attrs)
@ByVal @Name(value="operator tensorflow::Output") public tensorflow.Output asOutput()
@ByVal @Name(value="operator tensorflow::Input") public tensorflow.Input asInput()
public tensorflow.Node node()
@ByVal public static tensorflow.QuantizeAndDequantizeV2.Attrs SignedInput(@Cast(value="bool") boolean x)
@ByVal public static tensorflow.QuantizeAndDequantizeV2.Attrs NumBits(@Cast(value="tensorflow::int64") long x)
@ByVal public static tensorflow.QuantizeAndDequantizeV2.Attrs RangeGiven(@Cast(value="bool") boolean x)
@ByRef public tensorflow.Operation operation()
public tensorflow.QuantizeAndDequantizeV2 operation(tensorflow.Operation operation)
@ByRef public tensorflow.Output output()
public tensorflow.QuantizeAndDequantizeV2 output(tensorflow.Output output)
Copyright © 2019. All rights reserved.