@Namespace(value="tensorflow::ops") @NoOffset public static class tensorflow.FakeQuantWithMinMaxVars extends Pointer
min
and max to 'outputs' tensor of same shape as inputs.
[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.
This operation has a gradient and thus allows for training min and max
values.
Arguments:
* scope: A Scope object
Returns:
* Output: The outputs tensor.| Modifier and Type | Class and Description |
|---|---|
static class |
tensorflow.FakeQuantWithMinMaxVars.Attrs
Optional attribute setters for FakeQuantWithMinMaxVars
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
FakeQuantWithMinMaxVars(Pointer p)
Pointer cast constructor.
|
FakeQuantWithMinMaxVars(tensorflow.Scope scope,
tensorflow.Input inputs,
tensorflow.Input min,
tensorflow.Input max) |
FakeQuantWithMinMaxVars(tensorflow.Scope scope,
tensorflow.Input inputs,
tensorflow.Input min,
tensorflow.Input max,
tensorflow.FakeQuantWithMinMaxVars.Attrs attrs) |
| Modifier and Type | Method and Description |
|---|---|
tensorflow.Input |
asInput() |
tensorflow.Output |
asOutput() |
static tensorflow.FakeQuantWithMinMaxVars.Attrs |
NarrowRange(boolean x) |
tensorflow.Node |
node() |
static tensorflow.FakeQuantWithMinMaxVars.Attrs |
NumBits(long x) |
tensorflow.Operation |
operation() |
tensorflow.FakeQuantWithMinMaxVars |
operation(tensorflow.Operation operation) |
tensorflow.Output |
outputs() |
tensorflow.FakeQuantWithMinMaxVars |
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 FakeQuantWithMinMaxVars(Pointer p)
Pointer.Pointer(Pointer).public FakeQuantWithMinMaxVars(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input inputs, @ByVal tensorflow.Input min, @ByVal tensorflow.Input max)
public FakeQuantWithMinMaxVars(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input inputs, @ByVal tensorflow.Input min, @ByVal tensorflow.Input max, @Const @ByRef tensorflow.FakeQuantWithMinMaxVars.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.FakeQuantWithMinMaxVars.Attrs NumBits(@Cast(value="tensorflow::int64") long x)
@ByVal public static tensorflow.FakeQuantWithMinMaxVars.Attrs NarrowRange(@Cast(value="bool") boolean x)
@ByRef public tensorflow.Operation operation()
public tensorflow.FakeQuantWithMinMaxVars operation(tensorflow.Operation operation)
@ByRef public tensorflow.Output outputs()
public tensorflow.FakeQuantWithMinMaxVars outputs(tensorflow.Output outputs)
Copyright © 2019. All rights reserved.