Warning: This API is deprecated and will be removed in a future
version of TensorFlow after
the replacement is stable.
UniformQuantizedConvolutionHybrid.Options
Stay organized with collections
Save and categorize content based on your preferences.
Inherited Methods
From class
java.lang.Object
boolean
|
equals(Object arg0)
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
Public Methods
Parameters
batchGroupCount |
The number of batch groups. Used for grouped filters.
Must be a divisor of output_feature.
|
Parameters
dimensionNumbers |
Structure of dimension information for the convolution op.
Must be an empty string (default) or a serialized string of tensorflow.UniformQuantizedConvolutionDimensionNumbersAttr proto.
If empty string, the default is `("NCHW", "OIHW", "NCHW")` (for a 2D convolution).
|
Parameters
explicitPadding |
If `padding` Attr is `"EXPLICIT"`, must be set as a list indicating
the explicit paddings at the start and end of each lhs spatial dimension.
Otherwise, this Attr is must be empty.
(If used,) Must be a list of size 2 * (number of lhs spatial dimensions),
where (explicit_padding[2 * i], explicit_padding[2 * i + 1]) indicates
spatial_dimensions[i] (start_padding, end_padding).
|
Parameters
featureGroupCount |
The number of feature groups. Used for grouped convolutions.
Must be a divisor of both lhs_feature and output_feature.
|
Parameters
lhsDilation |
The dilation factor to apply in each spatial dimension of `lhs`.
Must be an empty list (default) or a list of size (number of lhs spatial dimensions).
If empty list, the dilation for each lhs spatial dimension is set to 1.
|
Parameters
rhsDilation |
The dilation factor to apply in each spatial dimension of `rhs`.
Must be an empty list (default) or a list of size (number of rhs spatial dimensions).
If empty list, the dilation for each rhs spatial dimension is set to 1.
|
Parameters
rhsQuantizationAxis |
Indicates the dimension index of the tensor where per-axis quantization is applied for the slices along that dimension.
If set to -1 (default), this indicates per-tensor quantization.
For the `rhs`, only per-tensor quantization
or per-channel quantization along kernel_output_feature_dimension is supported.
Thus, this attribute must be set to -1 or `dimension_numbers.kernel_output_feature_dimension`.
Other values will raise error at OpKernel construction.
|
Parameters
windowStrides |
The stride of the sliding window for each spatial dimension of `lhs`.
Must be an empty list (default) or a list of size (number of spatial dimensions).
If an empty list is provided, the stride for each spatial dimension is set to 1.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-03-23 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-03-23 UTC."],[],[],null,["# UniformQuantizedConvolutionHybrid.Options\n\npublic static class **UniformQuantizedConvolutionHybrid.Options** \nOptional attributes for [UniformQuantizedConvolutionHybrid](/api_docs/java/org/tensorflow/op/core/UniformQuantizedConvolutionHybrid) \n\n### Public Methods\n\n|------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [UniformQuantizedConvolutionHybrid.Options](/api_docs/java/org/tensorflow/op/core/UniformQuantizedConvolutionHybrid.Options) | [batchGroupCount](/api_docs/java/org/tensorflow/op/core/UniformQuantizedConvolutionHybrid.Options#batchGroupCount(java.lang.Long))(Long batchGroupCount) |\n| [UniformQuantizedConvolutionHybrid.Options](/api_docs/java/org/tensorflow/op/core/UniformQuantizedConvolutionHybrid.Options) | [dimensionNumbers](/api_docs/java/org/tensorflow/op/core/UniformQuantizedConvolutionHybrid.Options#dimensionNumbers(java.lang.String))(String dimensionNumbers) |\n| [UniformQuantizedConvolutionHybrid.Options](/api_docs/java/org/tensorflow/op/core/UniformQuantizedConvolutionHybrid.Options) | [explicitPadding](/api_docs/java/org/tensorflow/op/core/UniformQuantizedConvolutionHybrid.Options#explicitPadding(java.util.List\u003cjava.lang.Long\u003e))(List\\\u003cLong\\\u003e explicitPadding) |\n| [UniformQuantizedConvolutionHybrid.Options](/api_docs/java/org/tensorflow/op/core/UniformQuantizedConvolutionHybrid.Options) | [featureGroupCount](/api_docs/java/org/tensorflow/op/core/UniformQuantizedConvolutionHybrid.Options#featureGroupCount(java.lang.Long))(Long featureGroupCount) |\n| [UniformQuantizedConvolutionHybrid.Options](/api_docs/java/org/tensorflow/op/core/UniformQuantizedConvolutionHybrid.Options) | [lhsDilation](/api_docs/java/org/tensorflow/op/core/UniformQuantizedConvolutionHybrid.Options#lhsDilation(java.util.List\u003cjava.lang.Long\u003e))(List\\\u003cLong\\\u003e lhsDilation) |\n| [UniformQuantizedConvolutionHybrid.Options](/api_docs/java/org/tensorflow/op/core/UniformQuantizedConvolutionHybrid.Options) | [rhsDilation](/api_docs/java/org/tensorflow/op/core/UniformQuantizedConvolutionHybrid.Options#rhsDilation(java.util.List\u003cjava.lang.Long\u003e))(List\\\u003cLong\\\u003e rhsDilation) |\n| [UniformQuantizedConvolutionHybrid.Options](/api_docs/java/org/tensorflow/op/core/UniformQuantizedConvolutionHybrid.Options) | [rhsQuantizationAxis](/api_docs/java/org/tensorflow/op/core/UniformQuantizedConvolutionHybrid.Options#rhsQuantizationAxis(java.lang.Long))(Long rhsQuantizationAxis) |\n| [UniformQuantizedConvolutionHybrid.Options](/api_docs/java/org/tensorflow/op/core/UniformQuantizedConvolutionHybrid.Options) | [windowStrides](/api_docs/java/org/tensorflow/op/core/UniformQuantizedConvolutionHybrid.Options#windowStrides(java.util.List\u003cjava.lang.Long\u003e))(List\\\u003cLong\\\u003e windowStrides) |\n\n### Inherited Methods\n\nFrom class java.lang.Object \n\n|------------------|---------------------------|\n| boolean | equals(Object arg0) |\n| final Class\\\u003c?\\\u003e | getClass() |\n| int | hashCode() |\n| final void | notify() |\n| final void | notifyAll() |\n| String | toString() |\n| final void | wait(long arg0, int arg1) |\n| final void | wait(long arg0) |\n| final void | wait() |\n\nPublic Methods\n--------------\n\n#### public [UniformQuantizedConvolutionHybrid.Options](/api_docs/java/org/tensorflow/op/core/UniformQuantizedConvolutionHybrid.Options)\n**batchGroupCount**\n(Long batchGroupCount)\n\n\u003cbr /\u003e\n\n##### Parameters\n\n| batchGroupCount | The number of batch groups. Used for grouped filters. Must be a divisor of output_feature. |\n|-----------------|--------------------------------------------------------------------------------------------|\n\n#### public [UniformQuantizedConvolutionHybrid.Options](/api_docs/java/org/tensorflow/op/core/UniformQuantizedConvolutionHybrid.Options)\n**dimensionNumbers**\n(String dimensionNumbers)\n\n\u003cbr /\u003e\n\n##### Parameters\n\n| dimensionNumbers | Structure of dimension information for the convolution op. Must be an empty string (default) or a serialized string of tensorflow.UniformQuantizedConvolutionDimensionNumbersAttr proto. If empty string, the default is \\`(\"NCHW\", \"OIHW\", \"NCHW\")\\` (for a 2D convolution). |\n|------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n\n#### public [UniformQuantizedConvolutionHybrid.Options](/api_docs/java/org/tensorflow/op/core/UniformQuantizedConvolutionHybrid.Options)\n**explicitPadding**\n(List\\\u003cLong\\\u003e explicitPadding)\n\n\u003cbr /\u003e\n\n##### Parameters\n\n| explicitPadding | If \\`padding\\` Attr is \\`\"EXPLICIT\"\\`, must be set as a list indicating the explicit paddings at the start and end of each lhs spatial dimension. Otherwise, this Attr is must be empty. (If used,) Must be a list of size 2 \\* (number of lhs spatial dimensions), where (explicit_padding\\[2 \\* i\\], explicit_padding\\[2 \\* i + 1\\]) indicates spatial_dimensions\\[i\\] (start_padding, end_padding). |\n|-----------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n\n#### public [UniformQuantizedConvolutionHybrid.Options](/api_docs/java/org/tensorflow/op/core/UniformQuantizedConvolutionHybrid.Options)\n**featureGroupCount**\n(Long featureGroupCount)\n\n\u003cbr /\u003e\n\n##### Parameters\n\n| featureGroupCount | The number of feature groups. Used for grouped convolutions. Must be a divisor of both lhs_feature and output_feature. |\n|-------------------|------------------------------------------------------------------------------------------------------------------------|\n\n#### public [UniformQuantizedConvolutionHybrid.Options](/api_docs/java/org/tensorflow/op/core/UniformQuantizedConvolutionHybrid.Options)\n**lhsDilation**\n(List\\\u003cLong\\\u003e lhsDilation)\n\n\u003cbr /\u003e\n\n##### Parameters\n\n| lhsDilation | The dilation factor to apply in each spatial dimension of \\`lhs\\`. Must be an empty list (default) or a list of size (number of lhs spatial dimensions). If empty list, the dilation for each lhs spatial dimension is set to 1. |\n|-------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n\n#### public [UniformQuantizedConvolutionHybrid.Options](/api_docs/java/org/tensorflow/op/core/UniformQuantizedConvolutionHybrid.Options)\n**rhsDilation**\n(List\\\u003cLong\\\u003e rhsDilation)\n\n\u003cbr /\u003e\n\n##### Parameters\n\n| rhsDilation | The dilation factor to apply in each spatial dimension of \\`rhs\\`. Must be an empty list (default) or a list of size (number of rhs spatial dimensions). If empty list, the dilation for each rhs spatial dimension is set to 1. |\n|-------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n\n#### public [UniformQuantizedConvolutionHybrid.Options](/api_docs/java/org/tensorflow/op/core/UniformQuantizedConvolutionHybrid.Options)\n**rhsQuantizationAxis**\n(Long rhsQuantizationAxis)\n\n\u003cbr /\u003e\n\n##### Parameters\n\n| rhsQuantizationAxis | Indicates the dimension index of the tensor where per-axis quantization is applied for the slices along that dimension. If set to -1 (default), this indicates per-tensor quantization. For the \\`rhs\\`, only per-tensor quantization or per-channel quantization along kernel_output_feature_dimension is supported. Thus, this attribute must be set to -1 or \\`dimension_numbers.kernel_output_feature_dimension\\`. Other values will raise error at OpKernel construction. |\n|---------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n\n#### public [UniformQuantizedConvolutionHybrid.Options](/api_docs/java/org/tensorflow/op/core/UniformQuantizedConvolutionHybrid.Options)\n**windowStrides**\n(List\\\u003cLong\\\u003e windowStrides)\n\n\u003cbr /\u003e\n\n##### Parameters\n\n| windowStrides | The stride of the sliding window for each spatial dimension of \\`lhs\\`. Must be an empty list (default) or a list of size (number of spatial dimensions). If an empty list is provided, the stride for each spatial dimension is set to 1. |\n|---------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|"]]