Documentation
¶
Overview ¶
Package accelerate provides purego-based Go bindings for the macOS Accelerate framework.
Apple documentation: https://developer.apple.com/documentation/accelerate
Index ¶
- type Acl_entry_id_t
- type Acl_flag_t
- type Acl_perm_t
- type Acl_tag_t
- type Acl_type_t
- type BNNSActivationFunction
- type BNNSArithmeticFunction
- type BNNSBoxCoordinateMode
- type BNNSDataLayout
- type BNNSDataType
- type BNNSDescriptorType
- type BNNSEmbeddingFlags
- type BNNSFilterType
- type BNNSFlags
- type BNNSGraphArgumentIntent
- type BNNSGraphArgumentType
- type BNNSGraphMessageLevel
- type BNNSGraphOptimizationPreference
- type BNNSInterpolationMethod
- type BNNSLayerFlags
- type BNNSLinearSamplingMode
- type BNNSLossFunction
- type BNNSLossReductionFunction
- type BNNSNDArrayFlags
- type BNNSNormType
- type BNNSOptimizerClippingFunction
- type BNNSOptimizerFunction
- type BNNSOptimizerRegularizationFunction
- type BNNSOptimizerSGDMomentumVariant
- type BNNSPaddingMode
- type BNNSPointerSpecifier
- type BNNSPoolingFunction
- type BNNSQuantizerFunction
- type BNNSRandomGeneratorMethod
- type BNNSReduceFunction
- type BNNSRelationalOperator
- type BNNSShuffleType
- type BNNSSparsityType
- type BNNSTargetSystem
- type Clockid_t
- type Dispatch_autorelease_frequency_t
- type Dispatch_block_flags_t
- type EvCmd
- type Filesec_property_t
- type Idtype_t
- type Ipc_info_object_type_t
- type Launch_data_type_t
- type MDLabelDomain
- type MDQueryOptionFlags
- type MDQuerySortOptionFlags
- type Mach_vm_range_flags_t
- type Mach_vm_range_flavor_t
- type Mach_vm_range_tag_t
- type Mpo_flags_t
- type NXMouseButton
- type Os_clockid_t
- type Os_log_type_t
- type PMPageToPaperMappingType
- type Ptrauth_key
- type Qos_class_t
- type Quadrature_integrator
- type Quadrature_status
- type SparseControl_t
- type SparseFactorization_t
- type SparseGMRESVariant_t
- type SparseIterativeStatus_t
- type SparseKind_t
- type SparseLSMRConvergenceTest_t
- type SparseOrder_t
- type SparsePreconditioner_t
- type SparseScaling_t
- type SparseStatus_t
- type SparseSubfactor_t
- type SparseTriangle_t
- type SparseUpdate_t
- type Sparse_matrix_property
- type Sparse_norm
- type Sparse_status
- type VImageARGBType
- type VImageMDTableUsageHint
- type VImageYpCbCrType
- type VImage_InterpolationMethod
- type Virtual_memory_guard_exception_code_t
- type Xpc_listener_create_flags_t
- type Xpc_session_create_flags_t
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Acl_entry_id_t ¶
type Acl_entry_id_t int64
const ( ACL_FIRST_ENTRY Acl_entry_id_t = 0 ACL_NEXT_ENTRY Acl_entry_id_t = -1 ACL_LAST_ENTRY Acl_entry_id_t = -2 )
func (Acl_entry_id_t) String ¶
func (e Acl_entry_id_t) String() string
type Acl_flag_t ¶
type Acl_flag_t int64
const ( ACL_FLAG_DEFER_INHERIT Acl_flag_t = 1 ACL_FLAG_NO_INHERIT Acl_flag_t = 131072 ACL_ENTRY_INHERITED Acl_flag_t = 16 ACL_ENTRY_FILE_INHERIT Acl_flag_t = 32 ACL_ENTRY_DIRECTORY_INHERIT Acl_flag_t = 64 ACL_ENTRY_LIMIT_INHERIT Acl_flag_t = 128 ACL_ENTRY_ONLY_INHERIT Acl_flag_t = 256 )
func (Acl_flag_t) String ¶
func (e Acl_flag_t) String() string
type Acl_perm_t ¶
type Acl_perm_t int64
const ( ACL_READ_DATA Acl_perm_t = 2 ACL_LIST_DIRECTORY Acl_perm_t = 2 ACL_WRITE_DATA Acl_perm_t = 4 ACL_ADD_FILE Acl_perm_t = 4 ACL_EXECUTE Acl_perm_t = 8 ACL_SEARCH Acl_perm_t = 8 ACL_DELETE Acl_perm_t = 16 ACL_APPEND_DATA Acl_perm_t = 32 ACL_ADD_SUBDIRECTORY Acl_perm_t = 32 ACL_DELETE_CHILD Acl_perm_t = 64 ACL_READ_ATTRIBUTES Acl_perm_t = 128 ACL_WRITE_ATTRIBUTES Acl_perm_t = 256 ACL_READ_EXTATTRIBUTES Acl_perm_t = 512 ACL_WRITE_EXTATTRIBUTES Acl_perm_t = 1024 ACL_READ_SECURITY Acl_perm_t = 2048 ACL_WRITE_SECURITY Acl_perm_t = 4096 ACL_CHANGE_OWNER Acl_perm_t = 8192 ACL_SYNCHRONIZE Acl_perm_t = 1048576 )
func (Acl_perm_t) String ¶
func (e Acl_perm_t) String() string
type Acl_type_t ¶
type Acl_type_t int64
const ( ACL_TYPE_EXTENDED Acl_type_t = 256 ACL_TYPE_ACCESS Acl_type_t = 0 ACL_TYPE_DEFAULT Acl_type_t = 1 ACL_TYPE_AFS Acl_type_t = 2 ACL_TYPE_CODA Acl_type_t = 3 ACL_TYPE_NTFS Acl_type_t = 4 ACL_TYPE_NWFS Acl_type_t = 5 )
func (Acl_type_t) String ¶
func (e Acl_type_t) String() string
type BNNSActivationFunction ¶
type BNNSActivationFunction int64
Constants that describe activation functions.
const ( // An activation function that returns its input. BNNSActivationFunctionIdentity BNNSActivationFunction = 0 // An activation function that returns its input when that is greater than or equal to zero, otherwise it returns zero. BNNSActivationFunctionRectifiedLinear BNNSActivationFunction = 1 // An activation function that returns its input when that is greater than or equal to zero, otherwise it returns its input multiplied by a specified value. BNNSActivationFunctionLeakyRectifiedLinear BNNSActivationFunction = 2 // An activation function that returns the sigmoid function of its input. BNNSActivationFunctionSigmoid BNNSActivationFunction = 3 // An activation function that returns the hyperbolic tangent of its input. BNNSActivationFunctionTanh BNNSActivationFunction = 4 // An activation function that returns the scaled hyperbolic tangent of its input. BNNSActivationFunctionScaledTanh BNNSActivationFunction = 5 // An activation function that returns the absolute value of its input. BNNSActivationFunctionAbs BNNSActivationFunction = 6 // An activation function that returns its input multiplied by a specified value. BNNSActivationFunctionLinear BNNSActivationFunction = 7 // An activation function that returns its input clamped to the specified range. BNNSActivationFunctionClamp BNNSActivationFunction = 8 // An activation function that returns an arithmetic shift, preserving sign. BNNSActivationFunctionIntegerLinearSaturate BNNSActivationFunction = 9 // An activation function that returns an arithmetic shift, preserving sign for each channel. BNNSActivationFunctionIntegerLinearSaturatePerChannel BNNSActivationFunction = 10 // An activation function that returns the softmax function of its input. BNNSActivationFunctionSoftmax BNNSActivationFunction = 11 BNNSActivationFunctionGELUApproximation BNNSActivationFunction = 12 BNNSActivationFunctionGumbel BNNSActivationFunction = 13 BNNSActivationFunctionGumbelMax BNNSActivationFunction = 14 BNNSActivationFunctionHardSigmoid BNNSActivationFunction = 15 BNNSActivationFunctionSoftplus BNNSActivationFunction = 16 BNNSActivationFunctionSoftsign BNNSActivationFunction = 17 BNNSActivationFunctionELU BNNSActivationFunction = 18 BNNSActivationFunctionClampedLeakyRectifiedLinear BNNSActivationFunction = 19 BNNSActivationFunctionLinearWithBias BNNSActivationFunction = 20 BNNSActivationFunctionLogSoftmax BNNSActivationFunction = 21 BNNSActivationFunctionLogSigmoid BNNSActivationFunction = 22 BNNSActivationFunctionSELU BNNSActivationFunction = 23 BNNSActivationFunctionCELU BNNSActivationFunction = 24 BNNSActivationFunctionHardShrink BNNSActivationFunction = 25 BNNSActivationFunctionSoftShrink BNNSActivationFunction = 26 BNNSActivationFunctionTanhShrink BNNSActivationFunction = 27 BNNSActivationFunctionThreshold BNNSActivationFunction = 28 BNNSActivationFunctionPReLUPerChannel BNNSActivationFunction = 29 BNNSActivationFunctionGELUApproximation2 BNNSActivationFunction = 30 BNNSActivationFunctionHardSwish BNNSActivationFunction = 30 BNNSActivationFunctionSiLU BNNSActivationFunction = 31 BNNSActivationFunctionReLU6 BNNSActivationFunction = 32 BNNSActivationFunctionErf BNNSActivationFunction = 33 BNNSActivationFunctionGELU BNNSActivationFunction = 34 BNNSActivationFunctionGELUApproximationSigmoid BNNSActivationFunction = 35 )
func (BNNSActivationFunction) String ¶
func (e BNNSActivationFunction) String() string
type BNNSArithmeticFunction ¶
type BNNSArithmeticFunction int64
Constants that define arithmetic operations.
const ( BNNSArithmeticAdd BNNSArithmeticFunction = 0 BNNSArithmeticSubtract BNNSArithmeticFunction = 1 BNNSArithmeticMultiply BNNSArithmeticFunction = 2 BNNSArithmeticDivide BNNSArithmeticFunction = 3 BNNSArithmeticSquareRoot BNNSArithmeticFunction = 4 BNNSArithmeticReciprocalSquareRoot BNNSArithmeticFunction = 5 BNNSArithmeticCeil BNNSArithmeticFunction = 6 BNNSArithmeticFloor BNNSArithmeticFunction = 7 BNNSArithmeticRound BNNSArithmeticFunction = 8 BNNSArithmeticSin BNNSArithmeticFunction = 9 BNNSArithmeticCos BNNSArithmeticFunction = 10 BNNSArithmeticTan BNNSArithmeticFunction = 11 BNNSArithmeticAsin BNNSArithmeticFunction = 12 BNNSArithmeticAcos BNNSArithmeticFunction = 13 BNNSArithmeticAtan BNNSArithmeticFunction = 14 BNNSArithmeticSinh BNNSArithmeticFunction = 15 BNNSArithmeticCosh BNNSArithmeticFunction = 16 BNNSArithmeticTanh BNNSArithmeticFunction = 17 BNNSArithmeticAsinh BNNSArithmeticFunction = 18 BNNSArithmeticAcosh BNNSArithmeticFunction = 19 BNNSArithmeticAtanh BNNSArithmeticFunction = 20 BNNSArithmeticPow BNNSArithmeticFunction = 21 BNNSArithmeticExp BNNSArithmeticFunction = 22 BNNSArithmeticExp2 BNNSArithmeticFunction = 23 BNNSArithmeticLog BNNSArithmeticFunction = 24 BNNSArithmeticLog2 BNNSArithmeticFunction = 25 BNNSArithmeticMultiplyNoNaN BNNSArithmeticFunction = 26 BNNSArithmeticDivideNoNaN BNNSArithmeticFunction = 27 BNNSArithmeticMultiplyAdd BNNSArithmeticFunction = 28 BNNSArithmeticMinimum BNNSArithmeticFunction = 29 BNNSArithmeticMaximum BNNSArithmeticFunction = 30 BNNSArithmeticSelect BNNSArithmeticFunction = 31 BNNSArithmeticAbs BNNSArithmeticFunction = 32 BNNSArithmeticSign BNNSArithmeticFunction = 33 BNNSArithmeticNegate BNNSArithmeticFunction = 34 BNNSArithmeticReciprocal BNNSArithmeticFunction = 35 BNNSArithmeticSquare BNNSArithmeticFunction = 36 BNNSArithmeticFloorDivide BNNSArithmeticFunction = 37 BNNSArithmeticTruncDivide BNNSArithmeticFunction = 38 BNNSArithmeticTruncRemainder BNNSArithmeticFunction = 39 BNNSArithmeticErf BNNSArithmeticFunction = 40 )
func (BNNSArithmeticFunction) String ¶
func (e BNNSArithmeticFunction) String() string
type BNNSBoxCoordinateMode ¶
type BNNSBoxCoordinateMode int64
Constants that define the convention to specify the four bounding box coordinates for crop-resize operations.
const ( BNNSCornersHeightFirst BNNSBoxCoordinateMode = 0 BNNSCornersWidthFirst BNNSBoxCoordinateMode = 1 BNNSCenterSizeHeightFirst BNNSBoxCoordinateMode = 2 BNNSCenterSizeWidthFirst BNNSBoxCoordinateMode = 3 )
func (BNNSBoxCoordinateMode) String ¶
func (e BNNSBoxCoordinateMode) String() string
type BNNSDataLayout ¶
type BNNSDataLayout int64
Constants that describe the data type of an n-dimensional array.
const ( BNNSDataLayoutVector BNNSDataLayout = 65536 BNNSDataLayout1DLastMajor BNNSDataLayout = 98304 BNNSDataLayout1DFirstMajor BNNSDataLayout = 98305 BNNSDataLayoutRowMajorMatrix BNNSDataLayout = 131072 BNNSDataLayoutColumnMajorMatrix BNNSDataLayout = 131073 BNNSDataLayout2DLastMajor BNNSDataLayout = 163840 BNNSDataLayout2DFirstMajor BNNSDataLayout = 163841 BNNSDataLayoutFullyConnectedSparse BNNSDataLayout = 135169 BNNSDataLayoutImageCHW BNNSDataLayout = 196608 BNNSDataLayoutSNE BNNSDataLayout = 196609 BNNSDataLayoutNSE BNNSDataLayout = 196610 BNNSDataLayoutMHA_DHK BNNSDataLayout = 196611 BNNSDataLayout3DLastMajor BNNSDataLayout = 229376 BNNSDataLayout3DFirstMajor BNNSDataLayout = 229377 BNNSDataLayoutConvolutionWeightsOIHW BNNSDataLayout = 262144 BNNSDataLayoutConvolutionWeightsOIHrWr BNNSDataLayout = 262145 BNNSDataLayoutConvolutionWeightsIOHrWr BNNSDataLayout = 262146 BNNSDataLayoutConvolutionWeightsOIHW_Pack32 BNNSDataLayout = 262160 BNNSDataLayout4DLastMajor BNNSDataLayout = 294912 BNNSDataLayout4DFirstMajor BNNSDataLayout = 294913 BNNSDataLayout5DLastMajor BNNSDataLayout = 360448 BNNSDataLayout5DFirstMajor BNNSDataLayout = 360449 BNNSDataLayout6DLastMajor BNNSDataLayout = 425984 BNNSDataLayout6DFirstMajor BNNSDataLayout = 425985 BNNSDataLayout7DLastMajor BNNSDataLayout = 491520 BNNSDataLayout7DFirstMajor BNNSDataLayout = 491521 BNNSDataLayout8DLastMajor BNNSDataLayout = 557056 BNNSDataLayout8DFirstMajor BNNSDataLayout = 557057 )
func (BNNSDataLayout) String ¶
func (e BNNSDataLayout) String() string
type BNNSDataType ¶
type BNNSDataType int64
BNNS Data Types.
const ( BNNSDataTypeFloatBit BNNSDataType = 65536 BNNSDataTypeFloat16 BNNSDataType = 65552 BNNSDataTypeFloat32 BNNSDataType = 65568 BNNSDataTypeBFloat16 BNNSDataType = 98320 BNNSDataTypeIntBit BNNSDataType = 131072 BNNSDataTypeInt1 BNNSDataType = 131073 BNNSDataTypeInt2 BNNSDataType = 131074 BNNSDataTypeInt4 BNNSDataType = 131076 BNNSDataTypeInt8 BNNSDataType = 131080 BNNSDataTypeInt16 BNNSDataType = 131088 BNNSDataTypeInt32 BNNSDataType = 131104 BNNSDataTypeInt64 BNNSDataType = 131136 BNNSDataTypeUIntBit BNNSDataType = 262144 BNNSDataTypeUInt1 BNNSDataType = 262145 BNNSDataTypeUInt2 BNNSDataType = 262146 BNNSDataTypeUInt3 BNNSDataType = 262147 BNNSDataTypeUInt4 BNNSDataType = 262148 BNNSDataTypeUInt6 BNNSDataType = 262150 BNNSDataTypeUInt8 BNNSDataType = 262152 BNNSDataTypeUInt16 BNNSDataType = 262160 BNNSDataTypeUInt32 BNNSDataType = 262176 BNNSDataTypeUInt64 BNNSDataType = 262208 BNNSDataTypeIndexedBit BNNSDataType = 524288 BNNSDataTypeIndexed1 BNNSDataType = 524289 BNNSDataTypeIndexed2 BNNSDataType = 524290 BNNSDataTypeIndexed4 BNNSDataType = 524292 BNNSDataTypeIndexed8 BNNSDataType = 524296 BNNSDataTypeMiscellaneousBit BNNSDataType = 1048576 BNNSDataTypeBoolean BNNSDataType = 1048584 )
func (BNNSDataType) String ¶
func (e BNNSDataType) String() string
type BNNSDescriptorType ¶
type BNNSDescriptorType int64
Constants that describe the input and output types of an arithmetic operation.
const ( BNNSConstant BNNSDescriptorType = 0 BNNSSample BNNSDescriptorType = 1 BNNSParameter BNNSDescriptorType = 2 )
func (BNNSDescriptorType) String ¶
func (e BNNSDescriptorType) String() string
type BNNSEmbeddingFlags ¶
type BNNSEmbeddingFlags int64
Flags that control behavior of embedding layers.
const (
BNNSEmbeddingFlagScaleGradientByFrequency BNNSEmbeddingFlags = 1
)
func (BNNSEmbeddingFlags) String ¶
func (e BNNSEmbeddingFlags) String() string
type BNNSFilterType ¶
type BNNSFilterType int64
Constants that define the component filters of a fused layer.
const ( BNNSConvolution BNNSFilterType = 0 BNNSFullyConnected BNNSFilterType = 1 BNNSBatchNorm BNNSFilterType = 2 BNNSInstanceNorm BNNSFilterType = 3 BNNSLayerNorm BNNSFilterType = 4 BNNSGroupNorm BNNSFilterType = 5 BNNSTransposedConvolution BNNSFilterType = 6 BNNSQuantization BNNSFilterType = 7 BNNSArithmetic BNNSFilterType = 8 )
func (BNNSFilterType) String ¶
func (e BNNSFilterType) String() string
type BNNSFlags ¶
type BNNSFlags int64
Options that control the behavior of a filter parameter.
const ( // A flag that instructs the filter to use pointers to data you provide at creation time. BNNSFlagsUseClientPtr BNNSFlags = 1 )
type BNNSGraphArgumentIntent ¶
type BNNSGraphArgumentIntent int64
Constants that describe argument intents.
const ( BNNSGraphArgumentIntentIn BNNSGraphArgumentIntent = 1 BNNSGraphArgumentIntentOut BNNSGraphArgumentIntent = 2 BNNSGraphArgumentIntentInOut BNNSGraphArgumentIntent = 3 )
func (BNNSGraphArgumentIntent) String ¶
func (e BNNSGraphArgumentIntent) String() string
type BNNSGraphArgumentType ¶
type BNNSGraphArgumentType int64
Constants that specify the argument type for a graph context.
const ( BNNSGraphArgumentTypePointer BNNSGraphArgumentType = 0 BNNSGraphArgumentTypeTensor BNNSGraphArgumentType = 2 )
func (BNNSGraphArgumentType) String ¶
func (e BNNSGraphArgumentType) String() string
type BNNSGraphMessageLevel ¶
type BNNSGraphMessageLevel int64
Constants that specify the mask for compile-time messages.
const ( BNNSGraphMessageLevelInfo BNNSGraphMessageLevel = 1 BNNSGraphMessageLevelUnsupported BNNSGraphMessageLevel = 2 BNNSGraphMessageLevelWarning BNNSGraphMessageLevel = 4 BNNSGraphMessageLevelError BNNSGraphMessageLevel = 8 )
func (BNNSGraphMessageLevel) String ¶
func (e BNNSGraphMessageLevel) String() string
type BNNSGraphOptimizationPreference ¶
type BNNSGraphOptimizationPreference int64
Constants that describe the compilation optimization preference.
const ( BNNSGraphOptimizationPreferencePerformance BNNSGraphOptimizationPreference = 0 BNNSGraphOptimizationPreferenceIRSize BNNSGraphOptimizationPreference = 1 )
func (BNNSGraphOptimizationPreference) String ¶
func (e BNNSGraphOptimizationPreference) String() string
type BNNSInterpolationMethod ¶
type BNNSInterpolationMethod int64
Constants that describe interpolation methods.
const ( BNNSInterpolationMethodNearest BNNSInterpolationMethod = 0 BNNSInterpolationMethodLinear BNNSInterpolationMethod = 1 )
func (BNNSInterpolationMethod) String ¶
func (e BNNSInterpolationMethod) String() string
type BNNSLayerFlags ¶
type BNNSLayerFlags int64
Options that control the behavior of a long short-term memory (LSTM) layer.
const ( BNNSLayerFlagsLSTMBidirectional BNNSLayerFlags = 1 BNNSLayerFlagsLSTMDefaultActivations BNNSLayerFlags = 2 )
func (BNNSLayerFlags) String ¶
func (e BNNSLayerFlags) String() string
type BNNSLinearSamplingMode ¶
type BNNSLinearSamplingMode int64
Constants that specify how a crop-resize layer samples a grid.
const ( BNNSLinearSamplingDefault BNNSLinearSamplingMode = 0 BNNSLinearSamplingAlignCorners BNNSLinearSamplingMode = 1 BNNSLinearSamplingUnalignCorners BNNSLinearSamplingMode = 2 BNNSLinearSamplingStrictAlignCorners BNNSLinearSamplingMode = 3 BNNSLinearSamplingOffsetCorners BNNSLinearSamplingMode = 4 )
func (BNNSLinearSamplingMode) String ¶
func (e BNNSLinearSamplingMode) String() string
type BNNSLossFunction ¶
type BNNSLossFunction int64
Constants that describe loss functions.
const ( BNNSLossFunctionSoftmaxCrossEntropy BNNSLossFunction = 1 BNNSLossFunctionSigmoidCrossEntropy BNNSLossFunction = 2 BNNSLossFunctionMeanSquareError BNNSLossFunction = 3 BNNSLossFunctionHuber BNNSLossFunction = 4 BNNSLossFunctionYolo BNNSLossFunction = 5 BNNSLossFunctionLog BNNSLossFunction = 6 BNNSLossFunctionCosineDistance BNNSLossFunction = 7 BNNSLossFunctionHinge BNNSLossFunction = 8 BNNSLossFunctionMeanAbsoluteError BNNSLossFunction = 9 BNNSLossFunctionCategoricalCrossEntropy BNNSLossFunction = 10 )
func (BNNSLossFunction) String ¶
func (e BNNSLossFunction) String() string
type BNNSLossReductionFunction ¶
type BNNSLossReductionFunction int64
Constants that describe reduction functions used by a loss layer.
const ( BNNSLossReductionNone BNNSLossReductionFunction = 0 BNNSLossReductionSum BNNSLossReductionFunction = 1 BNNSLossReductionWeightedMean BNNSLossReductionFunction = 2 BNNSLossReductionMean BNNSLossReductionFunction = 3 BNNSLossReductionNonZeroWeightMean BNNSLossReductionFunction = 4 )
func (BNNSLossReductionFunction) String ¶
func (e BNNSLossReductionFunction) String() string
type BNNSNDArrayFlags ¶
type BNNSNDArrayFlags int64
Options that control the behavior of an n-dimensional array.
const ( BNNSNDArrayFlagBackpropSet BNNSNDArrayFlags = 0 BNNSNDArrayFlagBackpropAccumulate BNNSNDArrayFlags = 1 )
func (BNNSNDArrayFlags) String ¶
func (e BNNSNDArrayFlags) String() string
type BNNSNormType ¶
type BNNSNormType int64
Constants that describe norm types.
const (
BNNSL2Norm BNNSNormType = 1
)
func (BNNSNormType) String ¶
func (e BNNSNormType) String() string
type BNNSOptimizerClippingFunction ¶
type BNNSOptimizerClippingFunction int64
Constants that describe clipping functions.
const ( BNNSOptimizerClippingNone BNNSOptimizerClippingFunction = 0 BNNSOptimizerClippingByValue BNNSOptimizerClippingFunction = 1 BNNSOptimizerClippingByNorm BNNSOptimizerClippingFunction = 2 BNNSOptimizerClippingByGlobalNorm BNNSOptimizerClippingFunction = 3 )
func (BNNSOptimizerClippingFunction) String ¶
func (e BNNSOptimizerClippingFunction) String() string
type BNNSOptimizerFunction ¶
type BNNSOptimizerFunction int64
A structure that contains optimizer functions.
const ( BNNSOptimizerFunctionSGDMomentum BNNSOptimizerFunction = 1 BNNSOptimizerFunctionAdam BNNSOptimizerFunction = 2 BNNSOptimizerFunctionRMSProp BNNSOptimizerFunction = 3 BNNSOptimizerFunctionAdamW BNNSOptimizerFunction = 4 BNNSOptimizerFunctionAdamAMSGrad BNNSOptimizerFunction = 5 BNNSOptimizerFunctionAdamWAMSGrad BNNSOptimizerFunction = 6 BNNSOptimizerFunctionSGDMomentumWithClipping BNNSOptimizerFunction = 7 BNNSOptimizerFunctionAdamWithClipping BNNSOptimizerFunction = 8 BNNSOptimizerFunctionRMSPropWithClipping BNNSOptimizerFunction = 9 BNNSOptimizerFunctionAdamWWithClipping BNNSOptimizerFunction = 10 BNNSOptimizerFunctionAdamAMSGradWithClipping BNNSOptimizerFunction = 11 BNNSOptimizerFunctionAdamWAMSGradWithClipping BNNSOptimizerFunction = 12 )
func (BNNSOptimizerFunction) String ¶
func (e BNNSOptimizerFunction) String() string
type BNNSOptimizerRegularizationFunction ¶
type BNNSOptimizerRegularizationFunction int64
A structure that contains optimizer regularization functions.
const ( BNNSOptimizerRegularizationNone BNNSOptimizerRegularizationFunction = 0 BNNSOptimizerRegularizationL1 BNNSOptimizerRegularizationFunction = 1 BNNSOptimizerRegularizationL2 BNNSOptimizerRegularizationFunction = 2 )
func (BNNSOptimizerRegularizationFunction) String ¶
func (e BNNSOptimizerRegularizationFunction) String() string
type BNNSOptimizerSGDMomentumVariant ¶
type BNNSOptimizerSGDMomentumVariant int64
Constants that define SGD momentum variants.
const ( BNNSSGDMomentumVariant0 BNNSOptimizerSGDMomentumVariant = 0 BNNSSGDMomentumVariant1 BNNSOptimizerSGDMomentumVariant = 1 BNNSSGDMomentumVariant2 BNNSOptimizerSGDMomentumVariant = 2 )
func (BNNSOptimizerSGDMomentumVariant) String ¶
func (e BNNSOptimizerSGDMomentumVariant) String() string
type BNNSPaddingMode ¶
type BNNSPaddingMode int64
Constants that define padding modes.
const ( BNNSPaddingModeConstant BNNSPaddingMode = 0 BNNSPaddingModeReflect BNNSPaddingMode = 1 BNNSPaddingModeSymmetric BNNSPaddingMode = 2 )
func (BNNSPaddingMode) String ¶
func (e BNNSPaddingMode) String() string
type BNNSPointerSpecifier ¶
type BNNSPointerSpecifier int64
Constants that specify which pointer the BNNS get filter function returns.
const ( BNNSPointerSpecifierAlpha BNNSPointerSpecifier = 0 BNNSPointerSpecifierBeta BNNSPointerSpecifier = 1 )
func (BNNSPointerSpecifier) String ¶
func (e BNNSPointerSpecifier) String() string
type BNNSPoolingFunction ¶
type BNNSPoolingFunction int64
Constants that describe pooling functions.
const ( // A function for pooling that computes the maximum of each element in the pooling kernel. BNNSPoolingFunctionMax BNNSPoolingFunction = 0 BNNSPoolingFunctionAverageCountIncludePadding BNNSPoolingFunction = 1 BNNSPoolingFunctionAverageCountExcludePadding BNNSPoolingFunction = 2 BNNSPoolingFunctionUnMax BNNSPoolingFunction = 3 BNNSPoolingFunctionL2Norm BNNSPoolingFunction = 4 // A function for pooling that computes the average of each element in the pooling kernel. BNNSPoolingFunctionAverage BNNSPoolingFunction = 1 )
func (BNNSPoolingFunction) String ¶
func (e BNNSPoolingFunction) String() string
type BNNSQuantizerFunction ¶
type BNNSQuantizerFunction int64
Constants that describe quantization functions.
const ( BNNSQuantizerFunctionQuantize BNNSQuantizerFunction = 0 BNNSQuantizerFunctionDequantize BNNSQuantizerFunction = 1 )
func (BNNSQuantizerFunction) String ¶
func (e BNNSQuantizerFunction) String() string
type BNNSRandomGeneratorMethod ¶
type BNNSRandomGeneratorMethod int64
Constants that describe random number generation methods.
const (
BNNSRandomGeneratorMethodAES_CTR BNNSRandomGeneratorMethod = 0
)
func (BNNSRandomGeneratorMethod) String ¶
func (e BNNSRandomGeneratorMethod) String() string
type BNNSReduceFunction ¶
type BNNSReduceFunction int64
Constants that describe reduction functions.
const ( BNNSReduceFunctionMax BNNSReduceFunction = 0 BNNSReduceFunctionMin BNNSReduceFunction = 1 BNNSReduceFunctionArgMax BNNSReduceFunction = 2 BNNSReduceFunctionArgMin BNNSReduceFunction = 3 BNNSReduceFunctionMean BNNSReduceFunction = 4 BNNSReduceFunctionMeanNonZero BNNSReduceFunction = 5 BNNSReduceFunctionSum BNNSReduceFunction = 6 BNNSReduceFunctionSumSquare BNNSReduceFunction = 7 BNNSReduceFunctionSumLog BNNSReduceFunction = 8 BNNSReduceFunctionL1Norm BNNSReduceFunction = 9 BNNSReduceFunctionLogicalOr BNNSReduceFunction = 10 BNNSReduceFunctionLogicalAnd BNNSReduceFunction = 11 BNNSReduceFunctionL2Norm BNNSReduceFunction = 12 BNNSReduceFunctionLogSumExp BNNSReduceFunction = 13 BNNSReduceFunctionProduct BNNSReduceFunction = 14 BNNSReduceFunctionNone BNNSReduceFunction = 15 BNNSReduceFunctionLogSum BNNSReduceFunction = 16 BNNSReduceFunctionAny BNNSReduceFunction = 10 BNNSReduceFunctionAll BNNSReduceFunction = 11 )
func (BNNSReduceFunction) String ¶
func (e BNNSReduceFunction) String() string
type BNNSRelationalOperator ¶
type BNNSRelationalOperator int64
Constants that describe relational operations.
const ( BNNSRelationalOperatorEqual BNNSRelationalOperator = 0 BNNSRelationalOperatorLess BNNSRelationalOperator = 1 BNNSRelationalOperatorLessEqual BNNSRelationalOperator = 2 BNNSRelationalOperatorGreater BNNSRelationalOperator = 3 BNNSRelationalOperatorGreaterEqual BNNSRelationalOperator = 4 BNNSRelationalOperatorNotEqual BNNSRelationalOperator = 5 BNNSRelationalOperatorLogicalAND BNNSRelationalOperator = 6 BNNSRelationalOperatorLogicalOR BNNSRelationalOperator = 7 BNNSRelationalOperatorLogicalNOT BNNSRelationalOperator = 8 BNNSRelationalOperatorLogicalNAND BNNSRelationalOperator = 9 BNNSRelationalOperatorLogicalNOR BNNSRelationalOperator = 10 BNNSRelationalOperatorLogicalXOR BNNSRelationalOperator = 11 )
func (BNNSRelationalOperator) String ¶
func (e BNNSRelationalOperator) String() string
type BNNSShuffleType ¶
type BNNSShuffleType int64
Constants that specify a shuffle type.
const ( BNNSShuffleTypePixelShuffleNCHW BNNSShuffleType = 0 BNNSShuffleTypePixelUnshuffleNCHW BNNSShuffleType = 1 BNNSShuffleTypeDepthToSpaceNCHW BNNSShuffleType = 2 BNNSShuffleTypeSpaceToDepthNCHW BNNSShuffleType = 3 )
func (BNNSShuffleType) String ¶
func (e BNNSShuffleType) String() string
type BNNSSparsityType ¶
type BNNSSparsityType int64
const (
BNNSSparsityTypeUnstructured BNNSSparsityType = 0
)
func (BNNSSparsityType) String ¶
func (e BNNSSparsityType) String() string
type BNNSTargetSystem ¶
type BNNSTargetSystem int64
const (
BNNSTargetSystemGeneric BNNSTargetSystem = 0
)
func (BNNSTargetSystem) String ¶
func (e BNNSTargetSystem) String() string
type Dispatch_autorelease_frequency_t ¶
type Dispatch_autorelease_frequency_t uint64
const ( DISPATCH_AUTORELEASE_FREQUENCY_INHERIT Dispatch_autorelease_frequency_t = 0 DISPATCH_AUTORELEASE_FREQUENCY_WORK_ITEM Dispatch_autorelease_frequency_t = 1 DISPATCH_AUTORELEASE_FREQUENCY_NEVER Dispatch_autorelease_frequency_t = 2 )
func (Dispatch_autorelease_frequency_t) String ¶
func (e Dispatch_autorelease_frequency_t) String() string
type Dispatch_block_flags_t ¶
type Dispatch_block_flags_t uint64
const ( DISPATCH_BLOCK_BARRIER Dispatch_block_flags_t = 1 DISPATCH_BLOCK_DETACHED Dispatch_block_flags_t = 2 DISPATCH_BLOCK_ASSIGN_CURRENT Dispatch_block_flags_t = 4 DISPATCH_BLOCK_NO_QOS_CLASS Dispatch_block_flags_t = 8 DISPATCH_BLOCK_INHERIT_QOS_CLASS Dispatch_block_flags_t = 16 DISPATCH_BLOCK_ENFORCE_QOS_CLASS Dispatch_block_flags_t = 32 )
func (Dispatch_block_flags_t) String ¶
func (e Dispatch_block_flags_t) String() string
type Filesec_property_t ¶
type Filesec_property_t int64
const ( FILESEC_OWNER Filesec_property_t = 1 FILESEC_GROUP Filesec_property_t = 2 FILESEC_UUID Filesec_property_t = 3 FILESEC_MODE Filesec_property_t = 4 FILESEC_ACL Filesec_property_t = 5 FILESEC_GRPUUID Filesec_property_t = 6 FILESEC_ACL_RAW Filesec_property_t = 100 FILESEC_ACL_ALLOCSIZE Filesec_property_t = 101 )
func (Filesec_property_t) String ¶
func (e Filesec_property_t) String() string
type Ipc_info_object_type_t ¶
type Ipc_info_object_type_t int64
const ( IPC_OTYPE_NONE Ipc_info_object_type_t = 0 IPC_OTYPE_THREAD_CONTROL Ipc_info_object_type_t = 1 IPC_OTYPE_TASK_CONTROL Ipc_info_object_type_t = 2 IPC_OTYPE_HOST Ipc_info_object_type_t = 3 IPC_OTYPE_HOST_PRIV Ipc_info_object_type_t = 4 IPC_OTYPE_PROCESSOR Ipc_info_object_type_t = 5 IPC_OTYPE_PROCESSOR_SET Ipc_info_object_type_t = 6 IPC_OTYPE_PROCESSOR_SET_NAME Ipc_info_object_type_t = 7 IPC_OTYPE_TIMER Ipc_info_object_type_t = 8 IPC_OTYPE_PORT_SUBST_ONCE Ipc_info_object_type_t = 9 IPC_OTYPE_MIG Ipc_info_object_type_t = 10 IPC_OTYPE_MEMORY_OBJECT Ipc_info_object_type_t = 11 IPC_OTYPE_XMM_PAGER Ipc_info_object_type_t = 12 IPC_OTYPE_XMM_KERNEL Ipc_info_object_type_t = 13 IPC_OTYPE_XMM_REPLY Ipc_info_object_type_t = 14 IPC_OTYPE_UND_REPLY Ipc_info_object_type_t = 15 IPC_OTYPE_HOST_NOTIFY Ipc_info_object_type_t = 16 IPC_OTYPE_HOST_SECURITY Ipc_info_object_type_t = 17 IPC_OTYPE_LEDGER Ipc_info_object_type_t = 18 IPC_OTYPE_MAIN_DEVICE Ipc_info_object_type_t = 19 IPC_OTYPE_TASK_NAME Ipc_info_object_type_t = 20 IPC_OTYPE_SUBSYSTEM Ipc_info_object_type_t = 21 IPC_OTYPE_IO_DONE_QUEUE Ipc_info_object_type_t = 22 IPC_OTYPE_SEMAPHORE Ipc_info_object_type_t = 23 IPC_OTYPE_LOCK_SET Ipc_info_object_type_t = 24 IPC_OTYPE_CLOCK Ipc_info_object_type_t = 25 IPC_OTYPE_CLOCK_CTRL Ipc_info_object_type_t = 26 IPC_OTYPE_IOKIT_IDENT Ipc_info_object_type_t = 27 IPC_OTYPE_NAMED_ENTRY Ipc_info_object_type_t = 28 IPC_OTYPE_IOKIT_CONNECT Ipc_info_object_type_t = 29 IPC_OTYPE_IOKIT_OBJECT Ipc_info_object_type_t = 30 IPC_OTYPE_UPL Ipc_info_object_type_t = 31 IPC_OTYPE_MEM_OBJ_CONTROL Ipc_info_object_type_t = 32 IPC_OTYPE_AU_SESSIONPORT Ipc_info_object_type_t = 33 IPC_OTYPE_FILEPORT Ipc_info_object_type_t = 34 IPC_OTYPE_LABELH Ipc_info_object_type_t = 35 IPC_OTYPE_TASK_RESUME Ipc_info_object_type_t = 36 IPC_OTYPE_VOUCHER Ipc_info_object_type_t = 37 IPC_OTYPE_VOUCHER_ATTR_CONTROL Ipc_info_object_type_t = 38 IPC_OTYPE_WORK_INTERVAL Ipc_info_object_type_t = 39 IPC_OTYPE_UX_HANDLER Ipc_info_object_type_t = 40 IPC_OTYPE_UEXT_OBJECT Ipc_info_object_type_t = 41 IPC_OTYPE_ARCADE_REG Ipc_info_object_type_t = 42 IPC_OTYPE_EVENTLINK Ipc_info_object_type_t = 43 IPC_OTYPE_TASK_INSPECT Ipc_info_object_type_t = 44 IPC_OTYPE_TASK_READ Ipc_info_object_type_t = 45 IPC_OTYPE_THREAD_INSPECT Ipc_info_object_type_t = 46 IPC_OTYPE_THREAD_READ Ipc_info_object_type_t = 47 IPC_OTYPE_SUID_CRED Ipc_info_object_type_t = 48 IPC_OTYPE_HYPERVISOR Ipc_info_object_type_t = 49 IPC_OTYPE_TASK_ID_TOKEN Ipc_info_object_type_t = 50 IPC_OTYPE_TASK_FATAL Ipc_info_object_type_t = 51 IPC_OTYPE_KCDATA Ipc_info_object_type_t = 52 IPC_OTYPE_EXCLAVES_RESOURCE Ipc_info_object_type_t = 53 IPC_OTYPE_THREAD_RESUME Ipc_info_object_type_t = 54 IPC_OTYPE_UNKNOWN Ipc_info_object_type_t = 4294967295 )
func (Ipc_info_object_type_t) String ¶
func (e Ipc_info_object_type_t) String() string
type Launch_data_type_t ¶
type Launch_data_type_t int64
const ( LAUNCH_DATA_DICTIONARY Launch_data_type_t = 1 LAUNCH_DATA_ARRAY Launch_data_type_t = 2 LAUNCH_DATA_FD Launch_data_type_t = 3 LAUNCH_DATA_INTEGER Launch_data_type_t = 4 LAUNCH_DATA_REAL Launch_data_type_t = 5 LAUNCH_DATA_BOOL Launch_data_type_t = 6 LAUNCH_DATA_STRING Launch_data_type_t = 7 LAUNCH_DATA_OPAQUE Launch_data_type_t = 8 LAUNCH_DATA_ERRNO Launch_data_type_t = 9 LAUNCH_DATA_MACHPORT Launch_data_type_t = 10 )
func (Launch_data_type_t) String ¶
func (e Launch_data_type_t) String() string
type MDLabelDomain ¶
type MDLabelDomain int64
@typedef MDLabelDomain @abstract These constants are used to specify a domain to MDLabelCreate().
const ( KMDLabelUserDomain MDLabelDomain = 0 KMDLabelLocalDomain MDLabelDomain = 1 )
func (MDLabelDomain) String ¶
func (e MDLabelDomain) String() string
type MDQueryOptionFlags ¶
type MDQueryOptionFlags int64
const ( KMDQuerySynchronous MDQueryOptionFlags = 1 KMDQueryWantsUpdates MDQueryOptionFlags = 4 KMDQueryAllowFSTranslation MDQueryOptionFlags = 8 )
func (MDQueryOptionFlags) String ¶
func (e MDQueryOptionFlags) String() string
type MDQuerySortOptionFlags ¶
type MDQuerySortOptionFlags int64
@enum MDQuerySortOptionFlags @constant kMDQueryReverseSortOrderFlag Sort the attribute in reverse order.
const (
KMDQueryReverseSortOrderFlag MDQuerySortOptionFlags = 1
)
func (MDQuerySortOptionFlags) String ¶
func (e MDQuerySortOptionFlags) String() string
type Mach_vm_range_flags_t ¶
type Mach_vm_range_flags_t int64
const (
MACH_VM_RANGE_NONE Mach_vm_range_flags_t = 0
)
func (Mach_vm_range_flags_t) String ¶
func (e Mach_vm_range_flags_t) String() string
type Mach_vm_range_flavor_t ¶
type Mach_vm_range_flavor_t int64
const ( MACH_VM_RANGE_FLAVOR_INVALID Mach_vm_range_flavor_t = 0 MACH_VM_RANGE_FLAVOR_V1 Mach_vm_range_flavor_t = 1 )
func (Mach_vm_range_flavor_t) String ¶
func (e Mach_vm_range_flavor_t) String() string
type Mach_vm_range_tag_t ¶
type Mach_vm_range_tag_t int64
const ( MACH_VM_RANGE_DEFAULT Mach_vm_range_tag_t = 0 MACH_VM_RANGE_DATA Mach_vm_range_tag_t = 1 MACH_VM_RANGE_FIXED Mach_vm_range_tag_t = 2 )
func (Mach_vm_range_tag_t) String ¶
func (e Mach_vm_range_tag_t) String() string
type Mpo_flags_t ¶
type Mpo_flags_t int64
const ( MPO_PORT Mpo_flags_t = 0 MPO_SERVICE_PORT Mpo_flags_t = 1024 MPO_CONNECTION_PORT Mpo_flags_t = 2048 MPO_REPLY_PORT Mpo_flags_t = 4096 MPO_WEAK_REPLY_PORT Mpo_flags_t = 16384 MPO_NOTIFICATION_PORT Mpo_flags_t = 17408 MPO_EXCEPTION_PORT Mpo_flags_t = 32768 MPO_CONNECTION_PORT_WITH_PORT_ARRAY Mpo_flags_t = 65536 )
func (Mpo_flags_t) String ¶
func (e Mpo_flags_t) String() string
type NXMouseButton ¶
type NXMouseButton int64
const ( NX_OneButton NXMouseButton = 0 NX_LeftButton NXMouseButton = 1 NX_RightButton NXMouseButton = 2 )
func (NXMouseButton) String ¶
func (e NXMouseButton) String() string
type Os_clockid_t ¶
type Os_clockid_t int64
const (
OS_CLOCK_MACH_ABSOLUTE_TIME Os_clockid_t = 32
)
func (Os_clockid_t) String ¶
func (e Os_clockid_t) String() string
type Os_log_type_t ¶
type Os_log_type_t int64
const ( OS_LOG_TYPE_DEFAULT Os_log_type_t = 0 OS_LOG_TYPE_INFO Os_log_type_t = 1 OS_LOG_TYPE_DEBUG Os_log_type_t = 2 OS_LOG_TYPE_ERROR Os_log_type_t = 16 OS_LOG_TYPE_FAULT Os_log_type_t = 17 )
func (Os_log_type_t) String ¶
func (e Os_log_type_t) String() string
type PMPageToPaperMappingType ¶
type PMPageToPaperMappingType int64
const ( KPMPageToPaperMappingNone PMPageToPaperMappingType = 1 KPMPageToPaperMappingScaleToFit PMPageToPaperMappingType = 2 )
func (PMPageToPaperMappingType) String ¶
func (e PMPageToPaperMappingType) String() string
type Ptrauth_key ¶
type Ptrauth_key int64
const ( Ptrauth_key_none Ptrauth_key = -1 Ptrauth_key_asia Ptrauth_key = 0 Ptrauth_key_asib Ptrauth_key = 1 Ptrauth_key_asda Ptrauth_key = 2 Ptrauth_key_asdb Ptrauth_key = 3 Ptrauth_key_process_independent_code Ptrauth_key = 0 Ptrauth_key_process_dependent_code Ptrauth_key = 1 Ptrauth_key_process_independent_data Ptrauth_key = 2 Ptrauth_key_process_dependent_data Ptrauth_key = 3 Ptrauth_key_return_address Ptrauth_key = 1 Ptrauth_key_frame_pointer Ptrauth_key = 3 Ptrauth_key_function_pointer Ptrauth_key = 0 Ptrauth_key_block_function Ptrauth_key = 0 Ptrauth_key_cxx_vtable_pointer Ptrauth_key = 2 Ptrauth_key_method_list_pointer Ptrauth_key = 2 Ptrauth_key_objc_isa_pointer Ptrauth_key = 2 Ptrauth_key_objc_super_pointer Ptrauth_key = 2 Ptrauth_key_objc_sel_pointer Ptrauth_key = 3 Ptrauth_key_objc_class_ro_pointer Ptrauth_key = 2 Ptrauth_key_block_descriptor_pointer Ptrauth_key = 2 Ptrauth_key_init_fini_pointer Ptrauth_key = 0 )
func (Ptrauth_key) String ¶
func (e Ptrauth_key) String() string
type Qos_class_t ¶
type Qos_class_t uint32
const ( QOS_CLASS_USER_INTERACTIVE Qos_class_t = 33 QOS_CLASS_USER_INITIATED Qos_class_t = 25 QOS_CLASS_DEFAULT Qos_class_t = 21 QOS_CLASS_UTILITY Qos_class_t = 17 QOS_CLASS_BACKGROUND Qos_class_t = 9 QOS_CLASS_UNSPECIFIED Qos_class_t = 0 )
func (Qos_class_t) String ¶
func (e Qos_class_t) String() string
type Quadrature_integrator ¶
type Quadrature_integrator int64
Constants that specify integration algorithms.
const ( QUADRATURE_INTEGRATE_QNG Quadrature_integrator = 0 QUADRATURE_INTEGRATE_QAG Quadrature_integrator = 1 QUADRATURE_INTEGRATE_QAGS Quadrature_integrator = 2 )
func (Quadrature_integrator) String ¶
func (e Quadrature_integrator) String() string
type Quadrature_status ¶
type Quadrature_status int64
Constants that indicate the status of a quadrature operation.
const ( QUADRATURE_SUCCESS Quadrature_status = 0 QUADRATURE_ERROR Quadrature_status = -1 QUADRATURE_INVALID_ARG_ERROR Quadrature_status = -2 QUADRATURE_ALLOC_ERROR Quadrature_status = -3 QUADRATURE_INTERNAL_ERROR Quadrature_status = -99 QUADRATURE_INTEGRATE_MAX_EVAL_ERROR Quadrature_status = -101 QUADRATURE_INTEGRATE_BAD_BEHAVIOUR_ERROR Quadrature_status = -102 )
func (Quadrature_status) String ¶
func (e Quadrature_status) String() string
type SparseControl_t ¶
type SparseControl_t int64
Options that control the computation.
const (
SparseDefaultControl SparseControl_t = 0
)
func (SparseControl_t) String ¶
func (e SparseControl_t) String() string
type SparseFactorization_t ¶
type SparseFactorization_t int64
Constants that define the factorization type.
const ( SparseFactorizationCholesky SparseFactorization_t = 0 SparseFactorizationLDLT SparseFactorization_t = 1 SparseFactorizationLDLTUnpivoted SparseFactorization_t = 2 SparseFactorizationLDLTSBK SparseFactorization_t = 3 SparseFactorizationLDLTTPP SparseFactorization_t = 4 SparseFactorizationQR SparseFactorization_t = 40 SparseFactorizationCholeskyAtA SparseFactorization_t = 41 SparseFactorizationLU SparseFactorization_t = 80 SparseFactorizationLUUnpivoted SparseFactorization_t = 81 SparseFactorizationLUSPP SparseFactorization_t = 82 SparseFactorizationLUTPP SparseFactorization_t = 83 )
func (SparseFactorization_t) String ¶
func (e SparseFactorization_t) String() string
type SparseGMRESVariant_t ¶
type SparseGMRESVariant_t int64
Defines the exact variant of GMRES to implement
const ( SparseVariantDQGMRES SparseGMRESVariant_t = 0 SparseVariantGMRES SparseGMRESVariant_t = 1 SparseVariantFGMRES SparseGMRESVariant_t = 2 )
func (SparseGMRESVariant_t) String ¶
func (e SparseGMRESVariant_t) String() string
type SparseIterativeStatus_t ¶
type SparseIterativeStatus_t int32
Constants that define the status of the iterative solve.
const ( SparseIterativeConverged SparseIterativeStatus_t = 0 SparseIterativeMaxIterations SparseIterativeStatus_t = 1 SparseIterativeParameterError SparseIterativeStatus_t = -1 SparseIterativeIllConditioned SparseIterativeStatus_t = -2 SparseIterativeInternalError SparseIterativeStatus_t = -99 )
func (SparseIterativeStatus_t) String ¶
func (e SparseIterativeStatus_t) String() string
type SparseKind_t ¶
type SparseKind_t uint32
A structure that defines whether the matrix is ordinary, symmetric, or triangular.
const ( SparseOrdinary SparseKind_t = 0 SparseTriangular SparseKind_t = 1 SparseUnitTriangular SparseKind_t = 2 SparseSymmetric SparseKind_t = 3 SparseHermitian SparseKind_t = 7 )
func (SparseKind_t) String ¶
func (e SparseKind_t) String() string
type SparseLSMRConvergenceTest_t ¶
type SparseLSMRConvergenceTest_t int32
Constants that specify the type of convergence test.
const ( SparseLSMRCTDefault SparseLSMRConvergenceTest_t = 0 SparseLSMRCTFongSaunders SparseLSMRConvergenceTest_t = 1 )
func (SparseLSMRConvergenceTest_t) String ¶
func (e SparseLSMRConvergenceTest_t) String() string
type SparseOrder_t ¶
type SparseOrder_t int64
Options that define which ordering algorithm to use.
const ( SparseOrderDefault SparseOrder_t = 0 SparseOrderUser SparseOrder_t = 1 SparseOrderAMD SparseOrder_t = 2 SparseOrderMetis SparseOrder_t = 3 SparseOrderCOLAMD SparseOrder_t = 4 SparseOrderMTMetis SparseOrder_t = 5 )
func (SparseOrder_t) String ¶
func (e SparseOrder_t) String() string
type SparsePreconditioner_t ¶
type SparsePreconditioner_t int32
Constants that define the preconditioner type.
const ( SparsePreconditionerNone SparsePreconditioner_t = 0 SparsePreconditionerUser SparsePreconditioner_t = 1 SparsePreconditionerDiagonal SparsePreconditioner_t = 2 SparsePreconditionerDiagScaling SparsePreconditioner_t = 3 )
func (SparsePreconditioner_t) String ¶
func (e SparsePreconditioner_t) String() string
type SparseScaling_t ¶
type SparseScaling_t int64
Options that define which scaling algorithm to use.
const ( SparseScalingDefault SparseScaling_t = 0 SparseScalingUser SparseScaling_t = 1 SparseScalingEquilibriationInf SparseScaling_t = 2 SparseScalingHungarianScalingOnly SparseScaling_t = 3 SparseScalingHungarianScalingAndOrdering SparseScaling_t = 4 )
func (SparseScaling_t) String ¶
func (e SparseScaling_t) String() string
type SparseStatus_t ¶
type SparseStatus_t int32
Constants that describe the status of a factorization.
const ( SparseStatusOK SparseStatus_t = 0 SparseFactorizationFailed SparseStatus_t = -1 SparseMatrixIsSingular SparseStatus_t = -2 SparseInternalError SparseStatus_t = -3 SparseParameterError SparseStatus_t = -4 SparseStatusReleased SparseStatus_t = -2147483647 )
func (SparseStatus_t) String ¶
func (e SparseStatus_t) String() string
type SparseSubfactor_t ¶
type SparseSubfactor_t int64
Constants that define the subfactor of a factorization.
const ( SparseSubfactorInvalid SparseSubfactor_t = 0 SparseSubfactorP SparseSubfactor_t = 1 SparseSubfactorS SparseSubfactor_t = 2 SparseSubfactorL SparseSubfactor_t = 3 SparseSubfactorD SparseSubfactor_t = 4 SparseSubfactorPLPS SparseSubfactor_t = 5 SparseSubfactorQ SparseSubfactor_t = 6 SparseSubfactorR SparseSubfactor_t = 7 SparseSubfactorRP SparseSubfactor_t = 8 SparseSubfactorSr SparseSubfactor_t = 9 SparseSubfactorSc SparseSubfactor_t = 10 )
func (SparseSubfactor_t) String ¶
func (e SparseSubfactor_t) String() string
type SparseTriangle_t ¶
type SparseTriangle_t uint8
A structure that defines which triangle a symmetric matrix stores, or whether a triangular matrix is upper or lower.
const ( SparseUpperTriangle SparseTriangle_t = 0 SparseLowerTriangle SparseTriangle_t = 1 )
func (SparseTriangle_t) String ¶
func (e SparseTriangle_t) String() string
type SparseUpdate_t ¶
type SparseUpdate_t int64
Low-rank update algorithm selector
const (
SparseUpdatePartialRefactor SparseUpdate_t = 0
)
func (SparseUpdate_t) String ¶
func (e SparseUpdate_t) String() string
type Sparse_matrix_property ¶
type Sparse_matrix_property int64
The matrix property type.
const ( SPARSE_UPPER_TRIANGULAR Sparse_matrix_property = 1 SPARSE_LOWER_TRIANGULAR Sparse_matrix_property = 2 SPARSE_UPPER_SYMMETRIC Sparse_matrix_property = 4 SPARSE_LOWER_SYMMETRIC Sparse_matrix_property = 8 )
func (Sparse_matrix_property) String ¶
func (e Sparse_matrix_property) String() string
type Sparse_norm ¶
type Sparse_norm int64
The norm specifier.
const ( SPARSE_NORM_ONE Sparse_norm = 171 SPARSE_NORM_TWO Sparse_norm = 173 SPARSE_NORM_INF Sparse_norm = 175 SPARSE_NORM_R1 Sparse_norm = 179 )
func (Sparse_norm) String ¶
func (e Sparse_norm) String() string
type Sparse_status ¶
type Sparse_status int64
The type reflecting the status of an operations.
const ( SPARSE_SUCCESS Sparse_status = 0 SPARSE_ILLEGAL_PARAMETER Sparse_status = -1000 SPARSE_CANNOT_SET_PROPERTY Sparse_status = -1001 SPARSE_SYSTEM_ERROR Sparse_status = -1002 )
func (Sparse_status) String ¶
func (e Sparse_status) String() string
type VImageARGBType ¶
type VImageARGBType int64
Constants that describe the encoding of an ARGB image for conversions between RGB and YpCbCr.
const ( KvImageARGB8888 VImageARGBType = 0 KvImageARGB16U VImageARGBType = 1 KvImageARGB16Q12 VImageARGBType = 2 )
func (VImageARGBType) String ¶
func (e VImageARGBType) String() string
type VImageMDTableUsageHint ¶
type VImageMDTableUsageHint int64
Constants that indicate the use for a multidimensional lookup table.
const ( KvImageMDTableHint_16Q12 VImageMDTableUsageHint = 1 KvImageMDTableHint_Float VImageMDTableUsageHint = 2 )
func (VImageMDTableUsageHint) String ¶
func (e VImageMDTableUsageHint) String() string
type VImageYpCbCrType ¶
type VImageYpCbCrType int64
Constants that describe the encoding of a YpCbCr image for conversions between RGB and YpCbCr.
const ( KvImage422CbYpCrYp8 VImageYpCbCrType = 0 KvImage422YpCbYpCr8 VImageYpCbCrType = 1 KvImage422CbYpCrYp8_AA8 VImageYpCbCrType = 2 KvImage420Yp8_Cb8_Cr8 VImageYpCbCrType = 3 KvImage420Yp8_CbCr8 VImageYpCbCrType = 4 KvImage444AYpCbCr8 VImageYpCbCrType = 5 KvImage444CrYpCb8 VImageYpCbCrType = 6 KvImage444CbYpCrA8 VImageYpCbCrType = 7 KvImage444CrYpCb10 VImageYpCbCrType = 8 KvImage422CrYpCbYpCbYpCbYpCrYpCrYp10 VImageYpCbCrType = 9 KvImage422CbYpCrYp16 VImageYpCbCrType = 13 KvImage444AYpCbCr16 VImageYpCbCrType = 14 )
func (VImageYpCbCrType) String ¶
func (e VImageYpCbCrType) String() string
type VImage_InterpolationMethod ¶
type VImage_InterpolationMethod int64
Constants that represent different interpolation methods.
const ( KvImageNoInterpolation VImage_InterpolationMethod = 0 KvImageFullInterpolation VImage_InterpolationMethod = 1 KvImageHalfInterpolation VImage_InterpolationMethod = 2 )
func (VImage_InterpolationMethod) String ¶
func (e VImage_InterpolationMethod) String() string
type Virtual_memory_guard_exception_code_t ¶
type Virtual_memory_guard_exception_code_t int64
const ( KGUARD_EXC_DEALLOC_GAP Virtual_memory_guard_exception_code_t = 1 KGUARD_EXC_RECLAIM_COPYIO_FAILURE Virtual_memory_guard_exception_code_t = 2 KGUARD_EXC_RECLAIM_INDEX_FAILURE Virtual_memory_guard_exception_code_t = 4 KGUARD_EXC_RECLAIM_DEALLOCATE_FAILURE Virtual_memory_guard_exception_code_t = 8 KGUARD_EXC_RECLAIM_ACCOUNTING_FAILURE Virtual_memory_guard_exception_code_t = 9 KGUARD_EXC_SEC_IOPL_ON_EXEC_PAGE Virtual_memory_guard_exception_code_t = 10 KGUARD_EXC_SEC_EXEC_ON_IOPL_PAGE Virtual_memory_guard_exception_code_t = 11 KGUARD_EXC_SEC_UPL_WRITE_ON_EXEC_REGION Virtual_memory_guard_exception_code_t = 12 KGUARD_EXC_LARGE_ALLOCATION_TELEMETRY Virtual_memory_guard_exception_code_t = 13 KGUARD_EXC_SEC_ACCESS_FAULT Virtual_memory_guard_exception_code_t = 98 KGUARD_EXC_SEC_ASYNC_ACCESS_FAULT Virtual_memory_guard_exception_code_t = 99 KGUARD_EXC_SEC_COPY_DENIED Virtual_memory_guard_exception_code_t = 100 KGUARD_EXC_SEC_SHARING_DENIED Virtual_memory_guard_exception_code_t = 101 KGUARD_EXC_MTE_SYNC_FAULT Virtual_memory_guard_exception_code_t = 200 KGUARD_EXC_MTE_ASYNC_USER_FAULT Virtual_memory_guard_exception_code_t = 201 KGUARD_EXC_MTE_ASYNC_KERN_FAULT Virtual_memory_guard_exception_code_t = 202 KGUARD_EXC_GUARD_OBJECT_ASYNC_USER_FAULT Virtual_memory_guard_exception_code_t = 203 KGUARD_EXC_GUARD_OBJECT_ASYNC_KERN_FAULT Virtual_memory_guard_exception_code_t = 204 )
func (Virtual_memory_guard_exception_code_t) String ¶
func (e Virtual_memory_guard_exception_code_t) String() string
type Xpc_listener_create_flags_t ¶
type Xpc_listener_create_flags_t int64
const ( XPC_LISTENER_CREATE_NONE Xpc_listener_create_flags_t = 0 XPC_LISTENER_CREATE_INACTIVE Xpc_listener_create_flags_t = 1 XPC_LISTENER_CREATE_FORCE_MACH Xpc_listener_create_flags_t = 2 XPC_LISTENER_CREATE_FORCE_XPCSERVICE Xpc_listener_create_flags_t = 4 )
func (Xpc_listener_create_flags_t) String ¶
func (e Xpc_listener_create_flags_t) String() string
type Xpc_session_create_flags_t ¶
type Xpc_session_create_flags_t int64
const ( XPC_SESSION_CREATE_NONE Xpc_session_create_flags_t = 0 XPC_SESSION_CREATE_INACTIVE Xpc_session_create_flags_t = 1 XPC_SESSION_CREATE_MACH_PRIVILEGED Xpc_session_create_flags_t = 2 )
func (Xpc_session_create_flags_t) String ¶
func (e Xpc_session_create_flags_t) String() string