@Namespace(value="tensorflow::ops") @NoOffset public static class tensorflow.FakeQuantWithMinMaxVarsGradient extends Pointer
Attrs):
* num_bits: The bitwidth of the quantization; between 2 and 8, inclusive.
* narrow_range: Whether to quantize into 2^num_bits - 1 distinct values.
Returns:
* Output backprops_wrt_input: Backpropagated gradients w.r.t. inputs:
gradients * (inputs >= min && inputs <= max).
* Output backprop_wrt_min: Backpropagated gradients w.r.t. min parameter:
sum(gradients * (inputs < min)).
* Output backprop_wrt_max: Backpropagated gradients w.r.t. max parameter:
sum(gradients * (inputs > max)).| Modifier and Type | Class and Description |
|---|---|
static class |
tensorflow.FakeQuantWithMinMaxVarsGradient.Attrs
Optional attribute setters for FakeQuantWithMinMaxVarsGradient
|
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
FakeQuantWithMinMaxVarsGradient(Pointer p)
Pointer cast constructor.
|
FakeQuantWithMinMaxVarsGradient(tensorflow.Scope scope,
tensorflow.Input gradients,
tensorflow.Input inputs,
tensorflow.Input min,
tensorflow.Input max) |
FakeQuantWithMinMaxVarsGradient(tensorflow.Scope scope,
tensorflow.Input gradients,
tensorflow.Input inputs,
tensorflow.Input min,
tensorflow.Input max,
tensorflow.FakeQuantWithMinMaxVarsGradient.Attrs attrs) |
| Modifier and Type | Method and Description |
|---|---|
tensorflow.Output |
backprop_wrt_max() |
tensorflow.FakeQuantWithMinMaxVarsGradient |
backprop_wrt_max(tensorflow.Output backprop_wrt_max) |
tensorflow.Output |
backprop_wrt_min() |
tensorflow.FakeQuantWithMinMaxVarsGradient |
backprop_wrt_min(tensorflow.Output backprop_wrt_min) |
tensorflow.Output |
backprops_wrt_input() |
tensorflow.FakeQuantWithMinMaxVarsGradient |
backprops_wrt_input(tensorflow.Output backprops_wrt_input) |
static tensorflow.FakeQuantWithMinMaxVarsGradient.Attrs |
NarrowRange(boolean x) |
static tensorflow.FakeQuantWithMinMaxVarsGradient.Attrs |
NumBits(long x) |
tensorflow.Operation |
operation() |
tensorflow.FakeQuantWithMinMaxVarsGradient |
operation(tensorflow.Operation operation) |
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 FakeQuantWithMinMaxVarsGradient(Pointer p)
Pointer.Pointer(Pointer).public FakeQuantWithMinMaxVarsGradient(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input gradients, @ByVal tensorflow.Input inputs, @ByVal tensorflow.Input min, @ByVal tensorflow.Input max)
public FakeQuantWithMinMaxVarsGradient(@Const @ByRef tensorflow.Scope scope, @ByVal tensorflow.Input gradients, @ByVal tensorflow.Input inputs, @ByVal tensorflow.Input min, @ByVal tensorflow.Input max, @Const @ByRef tensorflow.FakeQuantWithMinMaxVarsGradient.Attrs attrs)
@ByVal public static tensorflow.FakeQuantWithMinMaxVarsGradient.Attrs NumBits(@Cast(value="tensorflow::int64") long x)
@ByVal public static tensorflow.FakeQuantWithMinMaxVarsGradient.Attrs NarrowRange(@Cast(value="bool") boolean x)
@ByRef public tensorflow.Operation operation()
public tensorflow.FakeQuantWithMinMaxVarsGradient operation(tensorflow.Operation operation)
@ByRef public tensorflow.Output backprops_wrt_input()
public tensorflow.FakeQuantWithMinMaxVarsGradient backprops_wrt_input(tensorflow.Output backprops_wrt_input)
@ByRef public tensorflow.Output backprop_wrt_min()
public tensorflow.FakeQuantWithMinMaxVarsGradient backprop_wrt_min(tensorflow.Output backprop_wrt_min)
@ByRef public tensorflow.Output backprop_wrt_max()
public tensorflow.FakeQuantWithMinMaxVarsGradient backprop_wrt_max(tensorflow.Output backprop_wrt_max)
Copyright © 2019. All rights reserved.