目录
说明
MLSimultaneousInterpretationConstants
Package Summary
Overview
LensEngine.PhotographListener
LensEngine.ShutterListener
MLAnalyzer.MLTransactor
MLCompositeTransactor.TrailerFactory
LensEngine
LensEngine.Creator
MLAnalyzer
MLAnalyzer.Result
MLApplication
MLApplicationSetting
MLApplicationSetting.Factory
MLCompositeAnalyzer
MLCompositeAnalyzer.Creator
MLCompositeTransactor
MLCompositeTransactor.Creator
MLCoordinate
MLFrame
MLFrame.Creator
MLFrame.Property
MLPosition
MLProminentTransactor
MLResultTrailer
MLException
Overview
LensRequest
LensResponse
MLLensSelector
Overview
MLAnalyzerFactory
Overview
MLCardAnalyzerFactory
Overview
MLIcrAnalyzer
MLIcrAnalyzerSetting
MLIcrAnalyzerSetting.Factory
MLIdCard
Ovreview
MLSimultaneousInterpretationListener
MLSimultaneousInterpretationRecognizer
MLSimultaneousInterpretationConfig
MLSimultaneousInterpretationConfig.Factory
错误码
Overview
MLCnIcrCapture.CallBack
MLCnIcrCapture
MLCnIcrCaptureConfig
MLCnIcrCaptureConfig.Factory
MLCnIcrCaptureFactory
MLCnIcrCaptureResult
Overview
MLVnIcrCapture.CallBack
MLVnIcrCapture
MLVnIcrCaptureConfig
MLVnIcrCaptureConfig.Factory
MLVnIcrCaptureFactory
MLVnIcrCaptureResult
Overview
CustomView.OnBcrResultCallback
MLBcrCapture.Callback
CustomView
CustomView.Builder
MLBcrCapture
MLBcrCaptureConfig
MLBcrCaptureConfig.Factory
MLBcrCaptureFactory
MLBcrCaptureResult
Overview
MLGcrCapture.Callback
MLGcrCapture
MLGcrCaptureConfig
MLGcrCaptureConfig.Factory
MLGcrCaptureFactory
MLGcrCaptureResult
MLGcrCaptureUIConfig
MLGcrCaptureUIConfig.Factory
Overview
MLDocument
MLDocument.Base
MLDocument.Block
MLDocument.Character
MLDocument.Interval
MLDocument.Line
MLDocument.Section
MLDocument.Word
MLDocumentAnalyzer
MLDocumentSetting
MLDocumentSetting.Factory
错误码
Overview
MLNerFactory
Overview
MLRemoteNerSetting
MLRemoteNerSetting.Factory
MLRemoteNer
错误码
Overview
RemoteNerResultItem
Overview
MLFormRecognitionAnalyzer
MLFormRecognitionAnalyzerFactory
MLFormRecognitionAnalyzerSetting
MLFormRecognitionAnalyzerSetting.Factory
MLFormRecognitionConstant
MLFormRecognitionTablesAttribute
MLFormRecognitionTablesAttribute.TablesContent
MLFormRecognitionTablesAttribute.TablesContent.TableAttribute
MLFormRecognitionTablesAttribute.TablesContent.TableAttribute.TableCellAttribute
MLFormRecognitionTablesAttribute.TablesContent.TableAttribute.TableCellAttribute.TableCellCoordinateAttribute
Overview
MLLocalTextSetting
MLLocalTextSetting.Factory
MLRemoteTextSetting
MLRemoteTextSetting.Factory
MLText
MLText.Base
MLText.Block
MLText.TextLine
MLText.Word
MLTextAnalyzer
MLTextAnalyzer.Factory
TextLanguage
错误码
Overview
MLTranslateLanguage
MLTranslatorFactory
Overview
MLLocalTranslateSetting
MLLocalTranslateSetting.Factory
MLLocalTranslator
MLLocalTranslatorModel
MLLocalTranslatorModel.Factory
错误码
Overview
MLRemoteTranslateSetting
MLRemoteTranslateSetting.Factory
MLRemoteTranslator
错误码
Overview
MLModelDownloadListener
MLLocalModelManager
MLModelDownloadStrategy
MLModelDownloadStrategy.Factory
MLLocalModel
MLRemoteModel
错误码
Overview
MLDetectedLang
MLLangDetectorFactory
Overview
MLLocalLangDetector
MLLocalLangDetectorSetting
MLLocalLangDetectorSetting.Factory
错误码
Overview
MLRemoteLangDetector
MLRemoteLangDetectorSetting
MLRemoteLangDetectorSetting.Factory
错误码
Overview
MLAsrListener
MLAsrRecognizer.LanguageCallback
MLAsrConstants
MLAsrRecognizer
错误码
Overview
MLAsrCaptureConstants
Overview
MLTtsCallback
MLTtsAudioFragment
MLTtsConfig
MLTtsConstants
MLTtsEngine
MLTtsError
MLTtsLocalModel
MLTtsLocalModel.Factory
MLTtsSpeaker
MLTtsWarn
错误码
Overview
MLAftConstants
MLAftConstants.ProgressStatus
MLAftConstants.TaskMetadata
MLAftErrors
MLAftEvents
错误码
Overview
MLRemoteAftEngine.LanguageCallback
MLRemoteAftListener
MLRemoteAftEngine
MLRemoteAftResult
MLRemoteAftResult.Segment
MLRemoteAftSetting
MLRemoteAftSetting.Factory
Overview
MLSpeechRealTimeTranscription.LanguageCallback
MLSpeechRealTimeTranscriptionListener
MLSpeechRealTimeTranscription
MLSpeechRealTimeTranscriptionConfig
MLSpeechRealTimeTranscriptionConfig.Factory
MLSpeechRealTimeTranscriptionConstants
MLSpeechRealTimeTranscriptionResult
错误码
Overview
MLSoundDetectListener
MLSoundDetectConstants
MLSoundDetector
错误码
Overview
MLImageClassification
MLImageClassificationAnalyzer
MLImageClassificationAnalyzer.ImageClassificationType
MLLocalClassificationAnalyzerSetting
MLLocalClassificationAnalyzerSetting.Factory
MLRemoteClassificationAnalyzerSetting
MLRemoteClassificationAnalyzerSetting.Factory
错误码
Overview
MLObject
MLObjectAnalyzer
MLObjectAnalyzerSetting
MLObjectAnalyzerSetting.Factory
Overview
MLRemoteLandmark
MLRemoteLandmarkAnalyzer
MLRemoteLandmarkAnalyzerSetting
MLRemoteLandmarkAnalyzerSetting.Factory
错误码
Overview
MLImageSegmentation
MLImageSegmentationAnalyzer
MLImageSegmentationClassification
MLImageSegmentationScene
MLImageSegmentationSetting
MLImageSegmentationSetting.Factory
Overview
MLProductVisionSearch
MLVisionSearchProduct
MLVisionSearchProductImage
错误码
Overview
MLRemoteProductVisionSearchAnalyzer
MLRemoteProductVisionSearchAnalyzerSetting
MLRemoteProductVisionSearchAnalyzerSetting.Factory
Overview
MLProductVisionSearchCapture
MLProductVisionSearchCapture.AbstractProductFragment
MLProductVisionSearchCaptureConfig
MLProductVisionSearchCaptureConfig.Factory
MLProductVisionSearchCaptureFactory
Overview
MLImageSuperResolutionAnalyzer
MLImageSuperResolutionAnalyzerFactory
MLImageSuperResolutionAnalyzerSetting
MLImageSuperResolutionAnalyzerSetting.Factory
MLImageSuperResolutionResult
错误码
Overview
MLDocumentSkewCorrectionConstant
MLDocumentSkewCorrectionAnalyzer
MLDocumentSkewCorrectionAnalyzerFactory
MLDocumentSkewCorrectionAnalyzerSetting
MLDocumentSkewCorrectionAnalyzerSetting.Factory
MLDocumentSkewCorrectionCoordinateInput
MLDocumentSkewCorrectionResult
MLDocumentSkewDetectResult
Overview
MLTextImageSuperResolutionAnalyzer
MLTextImageSuperResolutionAnalyzerFactory
MLTextImageSuperResolution
错误码
Overview
MLSceneDetectionAnalyzer
MLSceneDetectionAnalyzerFactory
MLSceneDetectionAnalyzerSetting
MLSceneDetectionAnalyzerSetting.Factory
MLSceneDetection
错误码
Overview
MLFace
MLFaceAnalyzer
MLFaceAnalyzerSetting
MLFaceAnalyzerSetting.Factory
MLFaceEmotion
MLFaceFeature
MLFaceKeyPoint
MLFaceShape
MLMaxSizeFaceTransactor
MLMaxSizeFaceTransactor.Creator
Overview
ML3DFace
ML3DFaceAnalyzer
ML3DFaceAnalyzerSetting
ML3DFaceAnalyzerSetting.Factory
Overview
MLJoint
MLSkeleton
MLSkeletonAnalyzer
MLSkeletonAnalyzerFactory
MLSkeletonAnalyzerSetting
MLSkeletonAnalyzerSetting.Factory
Overview
MLLivenessCapture.Callback
OnMLLivenessDetectCallback
MLLivenessCapture
MLLivenessCaptureError
MLLivenessCaptureConfig
MLLivenessCaptureConfig.Builder
MLLivenessCaptureResult
MLLivenessDetectInfo
MLLivenessDetectStates
MLLivenessDetectView
MLLivenessDetectView.Builder
错误码
Overview
OnMLInteractiveLivenessDetectCallback
MLInteractiveLivenessCapture.Callback
MLInteractiveLivenessCapture
MLInteractiveLivenessCaptureConfig
MLInteractiveLivenessCaptureConfig.Builder
MLInteractiveLivenessCaptureError
MLInteractiveLivenessCaptureResult
MLInteractiveLivenessDetectView
MLInteractiveLivenessDetectView.Builder
Overview
MLInteractiveLivenessConfig
MLInteractiveLivenessConfig.Builder
InteractiveLivenessStateCode
Overview
MLHandKeypoint
MLHandKeypointAnalyzer
MLHandKeypointAnalyzerFactory
MLHandKeypointAnalyzerSetting
MLHandKeypointAnalyzerSetting.Factory
MLHandKeypoints
Overview
MLGesture
MLGestureAnalyzer
MLGestureAnalyzerFactory
MLGestureAnalyzerSetting
MLGestureAnalyzerSetting.Factory
Overview
MLFaceInfo
MLFaceTemplateResult
MLFaceVerificationAnalyzer
MLFaceVerificationAnalyzerFactory
MLFaceVerificationAnalyzerSetting
MLFaceVerificationAnalyzerSetting.Factory
MLFaceVerificationResult
Overview
MLTextEmbeddingAnalyzer
MLTextEmbeddingAnalyzerFactory
MLTextEmbeddingSetting
MLTextEmbeddingSetting.Factory
MLVocabularyVersion
错误码
MLTextEmbeddingException
Overview
MLCustomLocalModel
MLCustomLocalModel.Factory
MLCustomRemoteModel
MLCustomRemoteModel.Factory
MLModelDataType
MLModelExecutor
MLModelExecutorSettings
MLModelExecutorSettings.Factory
MLModelInputOutputSettings
MLModelInputOutputSettings.Factory
MLModelInputs
MLModelInputs.Factory
MLModelOutputs
错误码
Package Summary
Overview
MLApplication
Overview
GrsRegion
Overview
MLFrame
MLFrame.Creator
MLFrame.Property
MLException
Overview
MLAnalyzerFactory
Overview
MLDocument
MLDocument.Base
MLDocument.Block
MLDocument.Character
MLDocument.Interval
MLDocument.Line
MLDocument.Section
MLDocument.Word
MLDocumentAnalyzer
MLDocumentSetting
MLDocumentSetting.Factory
错误码
Overview
MLDetectedLang
MLLangDetectorFactory
Overview
MLRemoteLangDetector
MLRemoteLangDetectorSetting
MLRemoteLangDetectorSetting.Factory
错误码
Overview
MLTranslateLanguage
MLTranslatorFactory
Overview
MLRemoteTranslateSetting
MLRemoteTranslateSetting.Factory
MLRemoteTranslator
错误码
Overview
MLRemoteTextSetting
MLRemoteTextSetting.Factory
MLText
MLText.Base
MLText.Block
MLText.TextLine
MLText.Word
MLTextAnalyzer
TextLanguage
错误码
Overview
MLTtsCallback
MLTtsAudioFragment
MLTtsConfig
MLTtsConstants
MLTtsEngine
MLTtsError
MLTtsWarn
错误码
Overview
MLAsrListener
MLAsrConstants
MLAsrRecognizer
错误码
Overview
MLSpeechRealTimeTranscription.LanguageCallback
MLSpeechRealTimeTranscriptionListener
MLSpeechRealTimeTranscription
MLSpeechRealTimeTranscriptionConfig
MLSpeechRealTimeTranscriptionConfig.Factory
MLSpeechRealTimeTranscriptionConstants
MLSpeechRealTimeTranscriptionResult
错误码
Package Summary
Overview
MLRemoteProductVisionSearchAnalyzer
MLRemoteProductVisionSearchAnalyzerSetting
MLProductVisionSearch
MLVisionSearchProductImage
MLVisionSearchProduct
MLApplication
Overview
MLImageSegmentation
MLImageSegmentationAnalyzer
MLImageSegmentationSetting
MLImageSegmentationScene
MLImageSegmentationClassification
MLImageSegmentationAnalyzerType
Overview
MLTranslateLanguage
MLTranslatorFactory
Overview
MLRemoteTranslateSetting
MLRemoteTranslator
MLTranslateApplication
MLTranslateException
错误码
Overview
MLDetectedLang
MLLangDetectorFactory
Overview
MLRemoteLangDetector
MLRemoteLangDetectorSetting
MLLangDetectApplication
MLLangDetectionException
错误码
Overview
SetAttr
GetAttr
HasAttr
DelAttr
SetName
GetName
GetItem
SetInt
GetInt
SetFloat
GetFloat
SetBool
GetBool
SetString
GetString
SetTensor
GetTensor
SetNamedAttrs
GetNamedAttrs
SetGraph
GetGraph
SetBuffer
GetBuffer
SetTensorDesc
GetTensorDesc
SetIntList
GetIntList
SetFloatList
GetFloatList
SetBoolList
GetBoolList
SetStringList
GetStringList
SetTensorList
GetTensorList
SetNamedAttrsList
GetNamedAttrsList
SetGraphList
GetGraphList
SetBufferList
GetBufferList
SetTensorDescList
GetTensorDescList
CreateFrom
GetValueType
IsEmpty
operator==
InitDefault
GetProtoOwner
GetProtoMsg
CopyValueFrom
MoveValueFrom
GetTensorDesc
MutableTensorDesc
SetTensorDesc
GetData
MutableData
SetData
operator=
GetName
SetName
GetShape
MutableShape
SetShape
GetFormat
SetFormat
GetDataType
SetDataType
operator=
GetDimNum
GetDim
GetDims
SetDim
GetTotalDimNum
operator=
Buffer
MutableData
GetSize
CopyFrom
data
size
Clear
operator=
GetName
GetImpl
GetOutput
SetInput
SetDynamicInput
UpdateInputDesc
SetAttr
SetGraphBuilder
使用说明
REG_OP
ATTR
REQUIRED_ATTR
INPUT
OPTIONAL_INPUT
OPTIONAL_OUTPUT
DYNAMIC_INPUT
OUTPUT
DYNAMIC_OUTPUT
OP_END
REQUIRED_GRAPH
GetImpl
SetInputs
SetOutputs
IsValid
AddOp
FindOpByName
CheckOpByName
GetAllOpName
SetName
GetName
SetVersion
GetVersion
SetPlatformVersion
GetPlatformVersion
GetGraph
SetGraph
Save
Load
IsValid
CreateModelBuff(ge::Model& irModel,ModelBufferData& output)
CreateModelBuff(ge::Model& irModel, ModelBufferData& output, uint32_t customSize)
Build
BuildIRModel(ge::Model& irModel, ModelBufferData& output)
BuildIRModel(ge::Model& irModel, ModelBufferData& output, const BuildOptions& options)
ReleaseModelBuff
SaveToFile
ValueType
Format
DataType
ModelBufferData
Overview
GetVersion
Init
Load
Process
CheckModelCompatibility
GetModelIOTensorDim
UnLoadModel
SetModelPriority
Cancel
BuildModel
ReadBinaryProto(const string path)
ReadBinaryProto(void* data, uint32_t size)
InputMemBufferCreate(void* data, uint32_t size)
InputMemBufferCreate(const string path)
OutputMemBufferCreate
MemBufferDestroy
MemBufferExportFile
GetName
GetModelBuffer
SetModelBuffer
GetFrequency
GetFramework
GetModelType
GetDeviceType
GetModelNetSize
SetInputDims
GetInputDims
SetDynamicShapeConfig
GetDynamicShapeConfig
SetPrecisionMode
GetPrecisionMode
SetTuningStrategy
GetTuningStrategy
Init
GetBuffer
GetSize
SetTensorDimension
GetTensorDimension
GetTensorBuffer
CreateNativeHandle
GetModelAippPara(const std::string& modelName, std::vector
>& aippPara)
GetModelAippPara(const std::string& modelName, uint32_t index, std::vector
>& aippPara)
GetBuffer
GetSize
GetAiTensor
GetAippParas()
GetAippParas(uint32_t index)
Init(uint32_t batchCount)
GetBatchCount
SetInputIndex
GetInputIndex
SetInputAippIndex
GetInputAippIndex
GetInputShape
GetInputFormat
GetCscPara
GetChannelSwapPara
GetCropPara
GetResizePara
GetPaddingPara
GetDtcPara
HIAI_CreateAiPPTensorFromHandle
SetInputShape
SetInputFormat
SetCscPara(AippCscPara cscPara)
SetCscPara(AiTensorImage_Format targetFormat, ImageType imageType=JPEG)
SetChannelSwapPara
SetCropPara(AippCropPara cropPara)
SetCropPara(uint32_t batchIndex, AippCropPara cropPara)
SetResizePara(AippResizePara resizePara)
SetResizePara(uint32_t batchIndex, AippResizePara resizePara)
SetPaddingPara(AippPaddingPara paddingPara)
SetPaddingPara(uint32_t batchIndex, AippPaddingPara paddingPara)
SetDtcPara(AippDtcPara dtcPara)
SetDtcPara(uint32_t batchIndex, AippDtcPara dtcPara)
使用示例
GetPara
AddPara
SetPara
DelPara
ClearPara
GetAllKeys
OnProcessDone
OnServiceDied
SetNumber
SetChannel
SetHeight
SetWidth
GetNumber
GetChannel
GetHeight
GetWidth
IsEqual
GetMemBufferData
GetMemBufferSize
AiModelDescription_Frequency
AiModelDescription_DeviceType
AiModelDescription_Framework
AiModelDescription_ModelType
AiTensorImage_Format
HIAI_DataType
ModelPriority
OpExecuteDevice
PrecisionMode
CacheMode
WeightDataType
ExecuteDeviceSelectMode
TuningStrategy
ImageType
ExecuteDevice
DeviceMemoryReusePlan
AippChannelSwapPara
AippCropPara
AippCscPara
AippDtcPara
AippInputShape
AippPaddingPara
AippResizePara
BuildOptions
DynamicShapeConfig
NativeHandle
Overview
Build
CreateModelBuilder
CreateBuiltModel
CheckCompatibility
GetInputTensorDescs
GetName
GetOutputTensorDescs
RestoreFromBuffer
RestoreFromFile
SaveToBuffer
SaveToExternalBuffer
SaveToFile
SetName
CreateModelManager
Cancel
DeInit
Init
Run
RunAsync
SetPriority
CreateLocalBuffer
GetData
GetSize
CreateNDTensorBuffer
GetTensorDesc
CreateNDTensorBufferNoCopy
CreateNativeHandle
GetValue
GetContent
RemoveValue
SetValue
OnRunDone
OnServiceDied
CacheMode
DataType
Format
FormatMode
ModelPriority
PrecisionMode
PerfMode
DeviceConfigMode
FallBackMode
ExecuteDevice
ImageFormat
ImageColorSpace
TuningStrategy
DeviceMemoryReusePlan
ModelBuildOptions
ModelInitOptions
NDTensorDesc
NativeHandle
ModelDeviceConfig
CropPara
ResizePara
ChannelSwapPara
CscPara
DtcPara
RotatePara
PadPara
CustomModelData
DynamicShapeConfig
获取版本号
CreateImageConfigTensor
CreateConfigConst
CreateConfigData
CreateImageTensorBuffer
CreateImageTensorBufferFromHandle
SetCustomData
GetCustomData
Batch
Height
Width
Format
ColorSpace
Rotation
使用示例
Overview
使能计算能力增强
获取计算能力增强版本号
Overview
HiAI_SingleOpTensorDesc_Create
HiAI_SingleOpTensorDesc_GetDimensionCount
HiAI_SingleOpTensorDesc_GetDimension
HiAI_SingleOpTensorDesc_GetDataType
HiAI_SingleOpTensorDesc_GetFormat
HiAI_SingleOpTensorDesc_IsVirtual
HiAI_SingleOpTensorDesc_GetByteSize
HiAI_SingleOpTensorDesc_Destroy
HiAI_SingleOpBuffer_Create
HiAI_SingleOpBuffer_GetSize
HiAI_SingleOpBuffer_GetData
HiAI_SingleOpBuffer_Destroy
HiAI_SingleOpTensor_CreateFromTensorDesc
HiAI_SingleOpTensor_CreateFromSingleOpBuffer
HiAI_SingleOpTensor_CreateFromConst
HiAI_SingleOpTensor_GetTensorDesc
HiAI_SingleOpTensor_GetBuffer
HiAI_SingleOpTensor_Destroy
HiAI_SingleOpOptions_Create
HiAI_SingleOpOptions_Destroy
HiAI_SingleOpDescriptor_CreateConvolution
HiAI_SingleOpDescriptor_CreateActivation
HiAI_SingleOpDescriptor_Destroy
HiAI_SingleOpExecutor_PreCheckConvolution
HiAI_SingleOpExecutor_CreateConvolution
HiAI_SingleOpExecutor_PreCheckFusedConvolutionActivation
HiAI_SingleOpExecutor_CreateFusedConvolutionActivation
HiAI_SingleOpExecutor_Destroy
HiAI_SingleOpExecutor_UpdateOutputTensorDesc
HiAI_SingleOpExecutor_GetWorkspaceSize
HiAI_SingleOpExecutor_Init
HiAI_SingleOpExecutor_Execute
HiAI_SingleOp_SupportStatus
HiAI_SingleOp_DataType
HiAI_SingleOp_Format
HiAI_SingleOp_ConvMode
HiAI_SingleOp_PadMode
HiAI_SingleOp_ActivationType
AscendC API列表
通用约束
LocalTensor
GlobalTensor
ShapeInfo
UnaryRepeatParams
BinaryRepeatParams
ScalarGetCountOfValue
ScalarCountLeadingZero
ScalarCast
CountBitsCntSameAsSignBit
ScalarGetSFFValue
Exp
Ln
Abs
Reciprocal
Sqrt
Rsqrt
Not
Relu
更多样例
Add
Sub
Mul
Div
Max
Min
And
Or
更多样例
Adds
Muls
Maxs
Mins
ShiftLeft
ShiftRight
LeakyRelu
更多样例
Axpy
更多样例
精度转换指令
Transpose
TransDataTo5HD
Duplicate
CreateVecIndex
数据分散/数据收集
普通数据搬运
随路格式转换
DataCopyPad
构造函数
InitBuffer
Init
Destroy
Reset
AllocEventID
ReleaseEventID
FetchEventID
GetBaseAddr
InitBufPool
GetTPipePtr
简介
构造函数
InitBufPool
InitBuffer
Reset
简介
AllocTensor
FreeTensor
EnQue
DeQue
VacantInQue
HasTensorInQue
GetTensorCountInQue
HasIdleBuffer
FreeAllEvent
简介
构造函数
AllocTensor
FreeTensor
EnQue
DeQue
VacantInQue
HasTensorInQue
GetTensorCountInQue
HasIdleBuffer
FreeAllEvent
简介
构造函数
Get
GetWithOffset
GetSysWorkSpacePtr
SetSysWorkSpace
GetUserWorkspace
PipeBarrier(ISASI)
TPosition
GetBlockNum
GetBlockIdx
DumpTensor
printf
assert
DumpAccChkPoint
Trap
GET_TILING_DATA
GET_TILING_DATA_WITH_STRUCT
TILING_KEY_IS
使用说明
Matmul模板参数
MatmulConfig
Init
SetTensorA
SetTensorB
Iterate
GetTensorC
IterateAll
End
使用说明
构造函数
TCubeTiling结构体
Tanh
SoftmaxFlashV2
Sigmoid
数据填充
原型注册接口(OP_ADD)
Input
Output
Attr
SetInferShape
SetInferDataType
AICore
ParamType
DataType
Format
ValueDepend
Follow
OpAttrDef
SetTiling
AddConfig
TilingData结构定义
TilingData结构注册
简介
GetCoreNum
GetSocVersion
GetCoreNumAic
GetCoreNumAiv
CalcTschBlockDim
GetCoreMemSize
GetCoreMemBw
GetLibApiWorkSpaceSize
内部关联接口
GmAlloc
GmFree
ICPU_RUN_KF
ICPU_SET_TILING_KEY
基础数据结构和接口列表
简介
构造函数
GetInstanceNum
GetInstanceStart
SetInstanceStart
SetInstantiationNum
构造函数
GetDataType
GetFormat
GetOriginFormat
GetStorageFormat
GetExpandDimsType
SetDataType
SetStorageFormat
SetOriginFormat
SetExpandDimsType
简介
构造函数
GetNodeType
GetNodeName
GetIrInputsNum
GetInputsNum
GetOutputsNum
GetIrOutputsNum
GetInputInstanceInfo
GetOutputInstanceInfo
GetInputTdInfo
GetOutputTdInfo
GetAttrs
MutableInputInstanceInfo
MutableOutputInstanceInfo
MutableInputTdInfo
MutableOutputTdInfo
MutableAttrs
SetNodeType
SetNodeName
Init
CalcSize
简介
Init
Add
Get
GetSize
GetOverHeadLength
简介
Create
Init
GetSize
SetSize
GetCapacity
GetData
MutableData
简介
构造函数
operator==
GetFullSize
SetExpandIndex
IsExpandIndex
Expand(输出新shape)
Expand(更改原shape)
GetInputDesc
GetOutputDesc
GetOptionalInputDesc
GetDynamicInputDesc
GetRequiredInputDesc
GetIrInputInstanceInfo
GetIrOutputInstanceInfo
GetComputeNodeInputNum
GetComputeNodeOutputNum
GetAttrs
GetNodeType
GetNodeName
GetComputeNodeInfo
GetKernelName
GetKernelType
GetExtendInfo
GetInputDataType
GetOptionalInputDataType
GetRequiredInputDataType
GetOutputDataType
SetOutputDataType
GetInputShape
GetInputTensor
GetOptionalInputShape
GetRequiredInputTensor
GetRequiredInputShape
GetOutputShape
GetInputShapeRange
GetInputTensorRange
GetOptionalInputTensorRange
GetDynamicInputTensorRange
GetOptionalInputShapeRange
GetDynamicInputShapeRange
GetRequiredInputShapeRange
GetRequiredInputTensorRange
GetOutputShapeRange
构造和析构函数
InferShape
InferShapeRange
InferDataType
Tiling
PrivateAttr
TilingParse
InputsDataDependency
InferOutDataTypeSameWithFirstInput
GenSimplifiedKey
OpExecuteFunc
TilingInputsDataDependency
HostInputs
OutputShapeDependOnCompute
简介
构造函数
operator==
SetMin
SetMax
GetMin
GetMax
构造函数
GetAttrPointer
GetInt
GetListInt
GetListListInt
GetStr
GetTensor
GetFloat
GetBool
GetListFloat
GetListListFloat
GetAttrNum
简介
构造函数
operator==
operator!=
operator[]
IsScalar
SetScalar
GetDimNum
SetDimNum
GetDim
SetDim
AppendDim
构造函数
GetOriginFormat
SetOriginFormat
GetStorageFormat
SetStorageFormat
GetExpandDimsType
SetExpandDimsType
MutableExpandDimsType
operator==
operator!=
简介
构造函数
GetOriginShape
GetStorageShape
MutableOriginShape
MutableStorageShape
operator==
operator!=
构造函数与析构函数
operator
GetAddr
GetSize
SetSize
GetPlacement
SetPlacement
Free
SetAddr
IsSharedWith
ShareFrom
TensorPlacementUtils
构造函数
GetShapeSize
GetData
SetData
GetAddr
GetSize
SetSize
GetDataType
SetDataType
CreateFollowing
GetStorageShape
MutableStorageShape
GetOriginShape
MutableOriginShape
GetShape
GetStorageFormat
SetStorageFormat
GetOriginFormat
SetOriginFormat
GetFormat
MutableFormat
GetExpandDimsType
SetExpandDimsType
GetPlacement
SetPlacement
GetTensorData
MutableTensorData
GetInputShape
GetInputTensor
GetOptionalInputTensor
GetRequiredInputTensor
GetOptionalInputShape
GetRequiredInputShape
GetOutputShape
SetTilingKey
GetTilingKey
SetBlockDim
GetBlockDim
SetTilingCond
GetTilingCond
GetTilingData
GetRawTilingData
GetWorkspaceSizes
GetWorkspaceNum
GetPlatformInfo
构造函数
GetCapacity
GetDataSize
SetDataSize
GetData
Append
CreateCap
CalcTotalSize
Init
operator
简介
MutableData
GetData
TensorPlacement
内部关联接口
构造函数和析构函数
Malloc
Free
MallocAdvise
构造函数和析构函数
GetString
关系符重载
Find
Hash
GetLength
构造函数和析构函数
CreateFrom
GetValue
AutoMappingSubgraphIOIndexFuncRegister
构造函数和析构函数
GetAutoMappingSubgraphIOIndexFunc
AddAutoMappingSubgraphIOIndexFunc
构造函数和析构函数
SetInputHandleShapesAndTypes
SetOutputHandleShapesAndTypes
GetInputHandleShapesAndTypes
GetOutputHandleShapesAndTypes
SetMarks
GetMarks
Create
GetResourceContext
SetResourceContext
RegisterReliedOnResourceKey
AddChangedResourceKey
GetReliedOnResourceKeys
GetChangedResourceKeys
ClearChangedResourceKeys
InferFormatFuncRegister
InferShapeFuncRegister
InferValueRangeFuncRegister
ListTensorType
构造函数和析构函数
GetAddr
GetSize
SetSize
Free
AddCount
SubCount
GetCount
OperatorCreatorRegister
CreateOperator
GetOpsTypeList
IsExistOp
构造函数和析构函数
AddControlInput
BreakConnect
IsEmpty
InferShapeAndType
GetAttr
GetAllAttrNamesAndTypes
GetAllIrAttrNamesAndTypes
GetDynamicInputNum
GetDynamicInputDesc
GetDynamicOutputNum
GetDynamicOutputDesc
GetDynamicSubgraph
GetDynamicSubgraphBuilder
GetInferenceContext
GetInputConstData
GetInputsSize
GetInputDesc
GetName
GetSubgraph
GetSubgraphBuilder
GetSubgraphNamesCount
GetSubgraphNames
GetOpType
GetOutputDesc
GetOutputsSize
SetAttr
SetInput
SetInferenceContext
SetInputAttr
SetOutputAttr
GetInputAttr
GetOutputAttr
TryGetInputDesc
UpdateInputDesc
UpdateOutputDesc
UpdateDynamicInputDesc
UpdateDynamicOutputDesc
VerifyAllAttr
DynamicInputRegister
DynamicInputRegisterByIndex
DynamicOutputRegister
SubgraphCountRegister
SetSubgraphBuilder
OpReceiver
总体说明
构造函数和析构函数
REGISTER_CUSTOM_OP宏
FrameworkType
OriginOpType
ParseParamsFn
ParseParamsByOperatorFn
FusionParseParamsFn
FusionParseParamsFn(Overload)
ParseSubgraphPostFn
ParseOpToGraphFn
ImplyType
DelInputWithCond
DelInputWithOriginalType
GetImplyType
GetOmOptype
GetOriginOpTypeSet
GetFrameworkType
GetParseParamFn
GetParseParamByOperatorFn
GetFusionParseParamFn
GetFusionParseParamByOpFn
GetParseSubgraphPostFn
GetParseOpToGraphFn
AutoMappingFn
AutoMappingByOpFn
AutoMappingFnDynamic
AutoMappingByOpFnDynamic
AutoMappingSubgraphIndex
InputReorderVector
Promote
构造函数和析构函数
SetShape
GetShape
SetType
GetDataType
构造函数和析构函数
GetDim
GetDims
GetDimNum
GetShapeSize
SetDim
TensorDescInfo
构造函数和析构函数
GetConstData
GetDataType
GetExpandDimsRule
GetFormat
GetName
GetOriginFormat
GetOriginShape
GetPlacement
GetRealDimCnt
GetShape
GetShapeRange
GetSize
SetConstData
SetDataType
SetExpandDimsRule
SetFormat
SetName
SetOriginFormat
SetOriginShape
SetPlacement
SetRealDimCnt
SetSize
SetShape
SetShapeRange
SetUnknownDimNumShape
Update
TensorType
构造函数和析构函数
Clone
IsValid
GetData
GetDataType
GetExpandDimsRule
GetFormat
GetOriginFormat
GetOriginShapeDim
GetOriginShapeDimNum
GetPlacement
GetSize
GetShapeDimNum
GetShapeDim
GetTensorDesc
SetData
SetDataType
SetExpandDimsRule
SetFormat
SetOriginFormat
SetOriginShapeDim
SetOriginShapeDimNum
SetPlacement
SetShapeDimNum
SetShapeDim
SetTensorDesc
ResetData
DataTypeToAscendString
AscendStringToDataType
FormatToAscendString
AscendStringToFormat
DataTypeToSerialString
SerialStringToDataType
FormatToSerialString
SerialStringToFormat
DataFormatToFormat
GetDataTypeLength
VerifyFuncRegister
ConvertToAscendString
ConvertToListAscendString
GetC0Format
GetC0Value
GetFormatFromC0
GetFormatFromSub
GetFormatFromSubAndC0
GetFormatName
GetPrimaryFormat
GetSizeByDataType
GetSizeInBytes
GetSubFormat
HasC0Format
HasSubFormat
ge::graphStatus
DataType
Format
BROADCAST_INFER
COMMON_INFER_FUNC_REG
DECLARE_ERRORNO
ELMTWISE_INFER_SHAPEANDTYPE
IMPLEMT_COMMON_INFERFUNC
IMPLEMT_INFERFORMAT_FUNC
IMPLEMT_INFERFUNC
IMPLEMT_VERIFIER
INFER_FORMAT_FUNC_REG
INFER_FUNC_REG
原型定义接口(REG_OP)
原型定义衍生接口说明
VERIFY_FUNC_REG
错误码
Overview
Introduction
Overview
FaceComparator
FaceDetector
FaceParsing
FaceAttributesDetector
HeadposeDetector
FaceLandMarkDetector
Overview
PoseEstimationDetector
AestheticsScoreDetector
LabelDetector
ImageSuperResolution
SceneDetector
DocRefine
TxtImageSuperResolution
ImageSegmentation
ImageClassifierDetector
Overview
BarcodeDetector
Overview
TextDetector
TableDetector
CardDetector
DocConverter
TemplateDetector
Overview
Hyperspectrum
Return Codes
Overview
AsrListener
AsrConstants
AsrError
AsrEvent
AsrRecognizer
Return Codes
Overview
NLUAPIService
Return Codes
SetFloat
接口定义
bool SetFloat(float val);
功能介绍
设置指定模板类型的参数值。
参数
名称
输入/输出
类型
描述
val
输入
float
属性值。
返回
类型
描述
bool
true:设置成功。
false:设置失败。