quantization

package
v2.14.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 8, 2023 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_tensorflow_core_util_quantization_uniform_quant_ops_attr_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type UniformQuantizedConvolutionDimensionNumbersAttr

type UniformQuantizedConvolutionDimensionNumbersAttr struct {

	// The dimension that represents batch in the input.
	InputBatchDimension int64 `protobuf:"varint,1,opt,name=input_batch_dimension,json=inputBatchDimension,proto3" json:"input_batch_dimension,omitempty"`
	// The dimension that represents features in the input.
	InputFeatureDimension int64 `` /* 127-byte string literal not displayed */
	// The dimensions that represents spatial dimensions in the input. Length must
	// be rank-2 for the tensor rank for Convolution op.
	InputSpatialDimensions []int64 `` /* 137-byte string literal not displayed */
	// The dimension that represents input features in the kernel (rhs).
	KernelInputFeatureDimension int64 `` /* 147-byte string literal not displayed */
	// The dimension that represents output features in the kernel (rhs).
	KernelOutputFeatureDimension int64 `` /* 150-byte string literal not displayed */
	// The dimensions that represents spatial dimensions in the kernel (rhs).
	// Length must be rank-2 for the tensor rank for Convolution op.
	KernelSpatialDimensions []int64 `` /* 140-byte string literal not displayed */
	// The dimension that represents batch in the output.
	OutputBatchDimension int64 `protobuf:"varint,7,opt,name=output_batch_dimension,json=outputBatchDimension,proto3" json:"output_batch_dimension,omitempty"`
	// The dimension that represents features in the output.
	OutputFeatureDimension int64 `` /* 130-byte string literal not displayed */
	// The dimensions that represents spatial dimensions in the output. Length
	// must be rank-2 for the tensor rank for Convolution op.
	OutputSpatialDimensions []int64 `` /* 140-byte string literal not displayed */
	// contains filtered or unexported fields
}

Describes the dimension numbers for Convolution op. Corresponds to ::mlir::mhlo::ConvDimensionNumbersAttr.

func (*UniformQuantizedConvolutionDimensionNumbersAttr) Descriptor deprecated

Deprecated: Use UniformQuantizedConvolutionDimensionNumbersAttr.ProtoReflect.Descriptor instead.

func (*UniformQuantizedConvolutionDimensionNumbersAttr) GetInputBatchDimension

func (x *UniformQuantizedConvolutionDimensionNumbersAttr) GetInputBatchDimension() int64

func (*UniformQuantizedConvolutionDimensionNumbersAttr) GetInputFeatureDimension

func (x *UniformQuantizedConvolutionDimensionNumbersAttr) GetInputFeatureDimension() int64

func (*UniformQuantizedConvolutionDimensionNumbersAttr) GetInputSpatialDimensions

func (x *UniformQuantizedConvolutionDimensionNumbersAttr) GetInputSpatialDimensions() []int64

func (*UniformQuantizedConvolutionDimensionNumbersAttr) GetKernelInputFeatureDimension

func (x *UniformQuantizedConvolutionDimensionNumbersAttr) GetKernelInputFeatureDimension() int64

func (*UniformQuantizedConvolutionDimensionNumbersAttr) GetKernelOutputFeatureDimension

func (x *UniformQuantizedConvolutionDimensionNumbersAttr) GetKernelOutputFeatureDimension() int64

func (*UniformQuantizedConvolutionDimensionNumbersAttr) GetKernelSpatialDimensions

func (x *UniformQuantizedConvolutionDimensionNumbersAttr) GetKernelSpatialDimensions() []int64

func (*UniformQuantizedConvolutionDimensionNumbersAttr) GetOutputBatchDimension

func (x *UniformQuantizedConvolutionDimensionNumbersAttr) GetOutputBatchDimension() int64

func (*UniformQuantizedConvolutionDimensionNumbersAttr) GetOutputFeatureDimension

func (x *UniformQuantizedConvolutionDimensionNumbersAttr) GetOutputFeatureDimension() int64

func (*UniformQuantizedConvolutionDimensionNumbersAttr) GetOutputSpatialDimensions

func (x *UniformQuantizedConvolutionDimensionNumbersAttr) GetOutputSpatialDimensions() []int64

func (*UniformQuantizedConvolutionDimensionNumbersAttr) ProtoMessage

func (*UniformQuantizedConvolutionDimensionNumbersAttr) ProtoReflect

func (*UniformQuantizedConvolutionDimensionNumbersAttr) Reset

func (*UniformQuantizedConvolutionDimensionNumbersAttr) String

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL