Class UniformQuantOpsAttr.UniformQuantizedConvolutionDimensionNumbersAttr
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.tensorflow.proto.UniformQuantOpsAttr.UniformQuantizedConvolutionDimensionNumbersAttr
- All Implemented Interfaces:
Message, MessageLite, MessageLiteOrBuilder, MessageOrBuilder, Serializable, UniformQuantOpsAttr.UniformQuantizedConvolutionDimensionNumbersAttrOrBuilder
- Enclosing class:
UniformQuantOpsAttr
public static final class UniformQuantOpsAttr.UniformQuantizedConvolutionDimensionNumbersAttr
extends GeneratedMessageV3
implements UniformQuantOpsAttr.UniformQuantizedConvolutionDimensionNumbersAttrOrBuilder
Describes the dimension numbers for Convolution op. Corresponds to ::mlir::mhlo::ConvDimensionNumbersAttr.Protobuf type
tensorflow.UniformQuantizedConvolutionDimensionNumbersAttr- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDescribes the dimension numbers for Convolution op.Nested classes/interfaces inherited from class GeneratedMessageV3
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType, BuilderType>, GeneratedMessageV3.ExtendableMessage<MessageType>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameterNested classes/interfaces inherited from class AbstractMessageLite
AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class AbstractMessage
memoizedSizeFields inherited from class AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic final Descriptors.DescriptorlongThe dimension that represents batch in the input.longThe dimension that represents features in the input.longgetInputSpatialDimensions(int index) The dimensions that represents spatial dimensions in the input.intThe dimensions that represents spatial dimensions in the input.The dimensions that represents spatial dimensions in the input.longThe dimension that represents input features in the kernel (rhs).longThe dimension that represents output features in the kernel (rhs).longgetKernelSpatialDimensions(int index) The dimensions that represents spatial dimensions in the kernel (rhs).intThe dimensions that represents spatial dimensions in the kernel (rhs).The dimensions that represents spatial dimensions in the kernel (rhs).longThe dimension that represents batch in the output.longThe dimension that represents features in the output.longgetOutputSpatialDimensions(int index) The dimensions that represents spatial dimensions in the output.intThe dimensions that represents spatial dimensions in the output.The dimensions that represents spatial dimensions in the output.intfinal UnknownFieldSetinthashCode()protected GeneratedMessageV3.FieldAccessorTablefinal booleanprotected ObjectparseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) parseFrom(ByteString data) parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) parseFrom(CodedInputStream input) parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) parser()voidwriteTo(CodedOutputStream output) Methods inherited from class GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
INPUT_BATCH_DIMENSION_FIELD_NUMBER
public static final int INPUT_BATCH_DIMENSION_FIELD_NUMBER- See Also:
-
INPUT_FEATURE_DIMENSION_FIELD_NUMBER
public static final int INPUT_FEATURE_DIMENSION_FIELD_NUMBER- See Also:
-
INPUT_SPATIAL_DIMENSIONS_FIELD_NUMBER
public static final int INPUT_SPATIAL_DIMENSIONS_FIELD_NUMBER- See Also:
-
KERNEL_INPUT_FEATURE_DIMENSION_FIELD_NUMBER
public static final int KERNEL_INPUT_FEATURE_DIMENSION_FIELD_NUMBER- See Also:
-
KERNEL_OUTPUT_FEATURE_DIMENSION_FIELD_NUMBER
public static final int KERNEL_OUTPUT_FEATURE_DIMENSION_FIELD_NUMBER- See Also:
-
KERNEL_SPATIAL_DIMENSIONS_FIELD_NUMBER
public static final int KERNEL_SPATIAL_DIMENSIONS_FIELD_NUMBER- See Also:
-
OUTPUT_BATCH_DIMENSION_FIELD_NUMBER
public static final int OUTPUT_BATCH_DIMENSION_FIELD_NUMBER- See Also:
-
OUTPUT_FEATURE_DIMENSION_FIELD_NUMBER
public static final int OUTPUT_FEATURE_DIMENSION_FIELD_NUMBER- See Also:
-
OUTPUT_SPATIAL_DIMENSIONS_FIELD_NUMBER
public static final int OUTPUT_SPATIAL_DIMENSIONS_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classGeneratedMessageV3
-
getUnknownFields
- Specified by:
getUnknownFieldsin interfaceMessageOrBuilder- Overrides:
getUnknownFieldsin classGeneratedMessageV3
-
getDescriptor
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3
-
getInputBatchDimension
public long getInputBatchDimension()The dimension that represents batch in the input.
int64 input_batch_dimension = 1;- Specified by:
getInputBatchDimensionin interfaceUniformQuantOpsAttr.UniformQuantizedConvolutionDimensionNumbersAttrOrBuilder- Returns:
- The inputBatchDimension.
-
getInputFeatureDimension
public long getInputFeatureDimension()The dimension that represents features in the input.
int64 input_feature_dimension = 2;- Specified by:
getInputFeatureDimensionin interfaceUniformQuantOpsAttr.UniformQuantizedConvolutionDimensionNumbersAttrOrBuilder- Returns:
- The inputFeatureDimension.
-
getInputSpatialDimensionsList
The dimensions that represents spatial dimensions in the input. Length must be rank-2 for the tensor rank for Convolution op.
repeated int64 input_spatial_dimensions = 3;- Specified by:
getInputSpatialDimensionsListin interfaceUniformQuantOpsAttr.UniformQuantizedConvolutionDimensionNumbersAttrOrBuilder- Returns:
- A list containing the inputSpatialDimensions.
-
getInputSpatialDimensionsCount
public int getInputSpatialDimensionsCount()The dimensions that represents spatial dimensions in the input. Length must be rank-2 for the tensor rank for Convolution op.
repeated int64 input_spatial_dimensions = 3;- Specified by:
getInputSpatialDimensionsCountin interfaceUniformQuantOpsAttr.UniformQuantizedConvolutionDimensionNumbersAttrOrBuilder- Returns:
- The count of inputSpatialDimensions.
-
getInputSpatialDimensions
public long getInputSpatialDimensions(int index) The dimensions that represents spatial dimensions in the input. Length must be rank-2 for the tensor rank for Convolution op.
repeated int64 input_spatial_dimensions = 3;- Specified by:
getInputSpatialDimensionsin interfaceUniformQuantOpsAttr.UniformQuantizedConvolutionDimensionNumbersAttrOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The inputSpatialDimensions at the given index.
-
getKernelInputFeatureDimension
public long getKernelInputFeatureDimension()The dimension that represents input features in the kernel (rhs).
int64 kernel_input_feature_dimension = 4;- Specified by:
getKernelInputFeatureDimensionin interfaceUniformQuantOpsAttr.UniformQuantizedConvolutionDimensionNumbersAttrOrBuilder- Returns:
- The kernelInputFeatureDimension.
-
getKernelOutputFeatureDimension
public long getKernelOutputFeatureDimension()The dimension that represents output features in the kernel (rhs).
int64 kernel_output_feature_dimension = 5;- Specified by:
getKernelOutputFeatureDimensionin interfaceUniformQuantOpsAttr.UniformQuantizedConvolutionDimensionNumbersAttrOrBuilder- Returns:
- The kernelOutputFeatureDimension.
-
getKernelSpatialDimensionsList
The dimensions that represents spatial dimensions in the kernel (rhs). Length must be rank-2 for the tensor rank for Convolution op.
repeated int64 kernel_spatial_dimensions = 6;- Specified by:
getKernelSpatialDimensionsListin interfaceUniformQuantOpsAttr.UniformQuantizedConvolutionDimensionNumbersAttrOrBuilder- Returns:
- A list containing the kernelSpatialDimensions.
-
getKernelSpatialDimensionsCount
public int getKernelSpatialDimensionsCount()The dimensions that represents spatial dimensions in the kernel (rhs). Length must be rank-2 for the tensor rank for Convolution op.
repeated int64 kernel_spatial_dimensions = 6;- Specified by:
getKernelSpatialDimensionsCountin interfaceUniformQuantOpsAttr.UniformQuantizedConvolutionDimensionNumbersAttrOrBuilder- Returns:
- The count of kernelSpatialDimensions.
-
getKernelSpatialDimensions
public long getKernelSpatialDimensions(int index) The dimensions that represents spatial dimensions in the kernel (rhs). Length must be rank-2 for the tensor rank for Convolution op.
repeated int64 kernel_spatial_dimensions = 6;- Specified by:
getKernelSpatialDimensionsin interfaceUniformQuantOpsAttr.UniformQuantizedConvolutionDimensionNumbersAttrOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The kernelSpatialDimensions at the given index.
-
getOutputBatchDimension
public long getOutputBatchDimension()The dimension that represents batch in the output.
int64 output_batch_dimension = 7;- Specified by:
getOutputBatchDimensionin interfaceUniformQuantOpsAttr.UniformQuantizedConvolutionDimensionNumbersAttrOrBuilder- Returns:
- The outputBatchDimension.
-
getOutputFeatureDimension
public long getOutputFeatureDimension()The dimension that represents features in the output.
int64 output_feature_dimension = 8;- Specified by:
getOutputFeatureDimensionin interfaceUniformQuantOpsAttr.UniformQuantizedConvolutionDimensionNumbersAttrOrBuilder- Returns:
- The outputFeatureDimension.
-
getOutputSpatialDimensionsList
The dimensions that represents spatial dimensions in the output. Length must be rank-2 for the tensor rank for Convolution op.
repeated int64 output_spatial_dimensions = 9;- Specified by:
getOutputSpatialDimensionsListin interfaceUniformQuantOpsAttr.UniformQuantizedConvolutionDimensionNumbersAttrOrBuilder- Returns:
- A list containing the outputSpatialDimensions.
-
getOutputSpatialDimensionsCount
public int getOutputSpatialDimensionsCount()The dimensions that represents spatial dimensions in the output. Length must be rank-2 for the tensor rank for Convolution op.
repeated int64 output_spatial_dimensions = 9;- Specified by:
getOutputSpatialDimensionsCountin interfaceUniformQuantOpsAttr.UniformQuantizedConvolutionDimensionNumbersAttrOrBuilder- Returns:
- The count of outputSpatialDimensions.
-
getOutputSpatialDimensions
public long getOutputSpatialDimensions(int index) The dimensions that represents spatial dimensions in the output. Length must be rank-2 for the tensor rank for Convolution op.
repeated int64 output_spatial_dimensions = 9;- Specified by:
getOutputSpatialDimensionsin interfaceUniformQuantOpsAttr.UniformQuantizedConvolutionDimensionNumbersAttrOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The outputSpatialDimensions at the given index.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfaceMessageLite- Overrides:
writeToin classGeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfaceMessageLite- Overrides:
getSerializedSizein classGeneratedMessageV3
-
equals
- Specified by:
equalsin interfaceMessage- Overrides:
equalsin classAbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceMessage- Overrides:
hashCodein classAbstractMessage
-
parseFrom
public static UniformQuantOpsAttr.UniformQuantizedConvolutionDimensionNumbersAttr parseFrom(ByteBuffer data) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
public static UniformQuantOpsAttr.UniformQuantizedConvolutionDimensionNumbersAttr parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
public static UniformQuantOpsAttr.UniformQuantizedConvolutionDimensionNumbersAttr parseFrom(ByteString data) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
public static UniformQuantOpsAttr.UniformQuantizedConvolutionDimensionNumbersAttr parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
public static UniformQuantOpsAttr.UniformQuantizedConvolutionDimensionNumbersAttr parseFrom(byte[] data) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
public static UniformQuantOpsAttr.UniformQuantizedConvolutionDimensionNumbersAttr parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
public static UniformQuantOpsAttr.UniformQuantizedConvolutionDimensionNumbersAttr parseFrom(InputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static UniformQuantOpsAttr.UniformQuantizedConvolutionDimensionNumbersAttr parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static UniformQuantOpsAttr.UniformQuantizedConvolutionDimensionNumbersAttr parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static UniformQuantOpsAttr.UniformQuantizedConvolutionDimensionNumbersAttr parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static UniformQuantOpsAttr.UniformQuantizedConvolutionDimensionNumbersAttr parseFrom(CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static UniformQuantOpsAttr.UniformQuantizedConvolutionDimensionNumbersAttr parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
public UniformQuantOpsAttr.UniformQuantizedConvolutionDimensionNumbersAttr.Builder newBuilderForType()- Specified by:
newBuilderForTypein interfaceMessage- Specified by:
newBuilderForTypein interfaceMessageLite
-
newBuilder
public static UniformQuantOpsAttr.UniformQuantizedConvolutionDimensionNumbersAttr.Builder newBuilder() -
newBuilder
public static UniformQuantOpsAttr.UniformQuantizedConvolutionDimensionNumbersAttr.Builder newBuilder(UniformQuantOpsAttr.UniformQuantizedConvolutionDimensionNumbersAttr prototype) -
toBuilder
- Specified by:
toBuilderin interfaceMessage- Specified by:
toBuilderin interfaceMessageLite
-
newBuilderForType
protected UniformQuantOpsAttr.UniformQuantizedConvolutionDimensionNumbersAttr.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classGeneratedMessageV3
-
getDefaultInstance
public static UniformQuantOpsAttr.UniformQuantizedConvolutionDimensionNumbersAttr getDefaultInstance() -
parser
-
getParserForType
public Parser<UniformQuantOpsAttr.UniformQuantizedConvolutionDimensionNumbersAttr> getParserForType()- Specified by:
getParserForTypein interfaceMessage- Specified by:
getParserForTypein interfaceMessageLite- Overrides:
getParserForTypein classGeneratedMessageV3
-
getDefaultInstanceForType
public UniformQuantOpsAttr.UniformQuantizedConvolutionDimensionNumbersAttr getDefaultInstanceForType()- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-