@Namespace(value="tensorflow::ops") @NoOffset public static class tensorflow.FakeQuantWithMinMaxVarsPerChannel extends Pointer
[d],
[b, d] [b, h, w, d] via per-channel floats min and max of shape [d]
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.FakeQuantWithMinMaxVarsPerChannel.Attrs
Optional attribute setters for FakeQuantWithMinMaxVarsPerChannel
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
FakeQuantWithMinMaxVarsPerChannel(Pointer p)
Pointer cast constructor.
|
FakeQuantWithMinMaxVarsPerChannel(tensorflow.Scope scope,
tensorflow.Input inputs,
tensorflow.Input min,
tensorflow.Input max) |
FakeQuantWithMinMaxVarsPerChannel(tensorflow.Scope scope,
tensorflow.Input inputs,
tensorflow.Input min,
tensorflow.Input max,
tensorflow.FakeQuantWithMinMaxVarsPerChannel.Attrs attrs) |
| Modifier and Type | Method and Description |
|---|---|
tensorflow.Input |
asInput() |
tensorflow.Output |
asOutput() |
static tensorflow.FakeQuantWithMinMaxVarsPerChannel.Attrs |
NarrowRange(boolean x) |
tensorflow.Node |
node() |
static tensorflow.FakeQuantWithMinMaxVarsPerChannel.Attrs |
NumBits(long x) |
tensorflow.Operation |
operation() |
tensorflow.FakeQuantWithMinMaxVarsPerChannel |
operation(tensorflow.Operation operation) |
tensorflow.Output |
outputs() |
tensorflow.FakeQuantWithMinMaxVarsPerChannel |
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 FakeQuantWithMinMaxVarsPerChannel(Pointer p)
Pointer.Pointer(Pointer).public FakeQuantWithMinMaxVarsPerChannel(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input inputs, @ByVal tensorflow.Input min, @ByVal tensorflow.Input max)
public FakeQuantWithMinMaxVarsPerChannel(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input inputs, @ByVal tensorflow.Input min, @ByVal tensorflow.Input max, @Const @ByRef tensorflow.FakeQuantWithMinMaxVarsPerChannel.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.FakeQuantWithMinMaxVarsPerChannel.Attrs NumBits(@Cast(value="tensorflow::int64") long x)
@ByVal public static tensorflow.FakeQuantWithMinMaxVarsPerChannel.Attrs NarrowRange(@Cast(value="bool") boolean x)
@ByRef public tensorflow.Operation operation()
public tensorflow.FakeQuantWithMinMaxVarsPerChannel operation(tensorflow.Operation operation)
@ByRef public tensorflow.Output outputs()
public tensorflow.FakeQuantWithMinMaxVarsPerChannel outputs(tensorflow.Output outputs)
Copyright © 2019. All rights reserved.