@Namespace(value="tensorflow::ops") @NoOffset public static class tensorflow.FakeQuantWithMinMaxArgs extends Pointer
[min; max] define the clamping range for the inputs data.
inputs values are quantized into the quantization range ([0; 2^num_bits - 1]
when narrow_range is false and [1; 2^num_bits - 1] when it is true) and
then de-quantized and output as floats in [min; max] interval.
num_bits is the bitwidth of the quantization; between 2 and 16, inclusive.
Quantization is called fake since the output is still in floating point.
Arguments:
* scope: A Scope object
Returns:
* Output: The outputs tensor.| Modifier and Type | Class and Description |
|---|---|
static class |
tensorflow.FakeQuantWithMinMaxArgs.Attrs
Optional attribute setters for FakeQuantWithMinMaxArgs
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
FakeQuantWithMinMaxArgs(Pointer p)
Pointer cast constructor.
|
FakeQuantWithMinMaxArgs(tensorflow.Scope scope,
tensorflow.Input inputs) |
FakeQuantWithMinMaxArgs(tensorflow.Scope scope,
tensorflow.Input inputs,
tensorflow.FakeQuantWithMinMaxArgs.Attrs attrs) |
| Modifier and Type | Method and Description |
|---|---|
tensorflow.Input |
asInput() |
tensorflow.Output |
asOutput() |
static tensorflow.FakeQuantWithMinMaxArgs.Attrs |
Max(float x) |
static tensorflow.FakeQuantWithMinMaxArgs.Attrs |
Min(float x) |
static tensorflow.FakeQuantWithMinMaxArgs.Attrs |
NarrowRange(boolean x) |
tensorflow.Node |
node() |
static tensorflow.FakeQuantWithMinMaxArgs.Attrs |
NumBits(long x) |
tensorflow.Operation |
operation() |
tensorflow.FakeQuantWithMinMaxArgs |
operation(tensorflow.Operation operation) |
tensorflow.Output |
outputs() |
tensorflow.FakeQuantWithMinMaxArgs |
outputs(tensorflow.Output outputs) |
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 FakeQuantWithMinMaxArgs(Pointer p)
Pointer.Pointer(Pointer).public FakeQuantWithMinMaxArgs(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input inputs)
public FakeQuantWithMinMaxArgs(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input inputs, @Const @ByRef tensorflow.FakeQuantWithMinMaxArgs.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.FakeQuantWithMinMaxArgs.Attrs Min(float x)
@ByVal public static tensorflow.FakeQuantWithMinMaxArgs.Attrs Max(float x)
@ByVal public static tensorflow.FakeQuantWithMinMaxArgs.Attrs NumBits(@Cast(value="tensorflow::int64") long x)
@ByVal public static tensorflow.FakeQuantWithMinMaxArgs.Attrs NarrowRange(@Cast(value="bool") boolean x)
@ByRef public tensorflow.Operation operation()
public tensorflow.FakeQuantWithMinMaxArgs operation(tensorflow.Operation operation)
@ByRef public tensorflow.Output outputs()
public tensorflow.FakeQuantWithMinMaxArgs outputs(tensorflow.Output outputs)
Copyright © 2019. All rights reserved.