Generated with .NET Object Model Diagram Generator
Microsoft.ML.OnnxRuntime
Methods
- AddProperty(string propertyName, long propertyValue)
- AddProperty(string propertyName, float propertyValue)
- AddProperty(string propertyName, string propertyValue)
- GetParameter(string parameterName) : OrtValue
- GetProperty(string propertyName) : object
- LoadCheckpoint(string checkpointPath) : CheckpointState
- SaveCheckpoint(CheckpointState state, string checkpointPath, bool includeOptimizerState = False)
- UpdateParameter(string parameterName, OrtValue parameter)
- COREML_FLAG_USE_NONE = 0
- COREML_FLAG_USE_CPU_ONLY = 1
- COREML_FLAG_ENABLE_ON_SUBGRAPH = 2
- COREML_FLAG_ONLY_ENABLE_DEVICE_WITH_ANE = 4
- COREML_FLAG_ONLY_ALLOW_STATIC_INPUT_SHAPES = 8
- COREML_FLAG_CREATE_MLPROGRAM = 16
- COREML_FLAG_LAST = 32
- COREML_FLAG_USE_CPU_AND_GPU = 32
Methods
- Dispose()
- Dispose(bool disposing)
Constructors
- DOrtLoggingFunction(object object, IntPtr method)
Methods
- BeginInvoke(IntPtr param, OrtLoggingLevel severity, string category, string logId, string codeLocation, string message, AsyncCallback callback, object object) : IAsyncResult
- EndInvoke(IAsyncResult result)
- Invoke(IntPtr param, OrtLoggingLevel severity, string category, string logId, string codeLocation, string message)
- ORT_SEQUENTIAL = 0
- ORT_PARALLEL = 1
- DEFAULT = 0
- PREFER_CPU = 1
- PREFER_NPU = 2
- PREFER_GPU = 3
- MAX_PERFORMANCE = 4
- MAX_EFFICIENCY = 5
- MIN_OVERALL_POWER = 6
- ORT_DISABLE_ALL = 0
- ORT_ENABLE_BASIC = 1
- ORT_ENABLE_EXTENDED = 2
- ORT_ENABLE_LAYOUT = 3
- ORT_ENABLE_ALL = 99
Properties
- InputMetadata { get; } : IReadOnlyDictionary<String, NodeMetadata>
- InputNames { get; } : IReadOnlyList<String>
- ModelMetadata { get; } : ModelMetadata
- OutputMetadata { get; } : IReadOnlyDictionary<String, NodeMetadata>
- OutputNames { get; } : IReadOnlyList<String>
- OverridableInitializerMetadata { get; } : IReadOnlyDictionary<String, NodeMetadata>
- ProfilingStartTimeNs { get; } : ulong
Methods
- CreateIoBinding() : OrtIoBinding
- Dispose()
- Dispose(bool disposing)
- EndProfiling() : string
- GetEpDeviceForInputs() : IReadOnlyList<OrtEpDevice>
- GetMemoryInfosForInputs() : IDisposableReadOnlyCollection<OrtMemoryInfo>
- GetMemoryInfosForOutputs() : IDisposableReadOnlyCollection<OrtMemoryInfo>
- Run(IReadOnlyCollection<String> inputNames, IReadOnlyCollection<FixedBufferOnnxValue> inputValues) : IDisposableReadOnlyCollection<DisposableNamedOnnxValue>
- Run(IReadOnlyCollection<String> inputNames, IReadOnlyCollection<FixedBufferOnnxValue> inputValues, IReadOnlyCollection<String> outputNames) : IDisposableReadOnlyCollection<DisposableNamedOnnxValue>
- Run(IReadOnlyCollection<String> inputNames, IReadOnlyCollection<FixedBufferOnnxValue> inputValues, IReadOnlyCollection<String> outputNames, RunOptions options) : IDisposableReadOnlyCollection<DisposableNamedOnnxValue>
- Run(IReadOnlyCollection<String> inputNames, IReadOnlyCollection<FixedBufferOnnxValue> inputValues, IReadOnlyCollection<String> outputNames, IReadOnlyCollection<FixedBufferOnnxValue> outputValues)
- Run(IReadOnlyCollection<String> inputNames, IReadOnlyCollection<FixedBufferOnnxValue> inputValues, IReadOnlyCollection<String> outputNames, IReadOnlyCollection<FixedBufferOnnxValue> outputValues, RunOptions options)
- Run(IReadOnlyCollection<String> inputNames, IReadOnlyCollection<FixedBufferOnnxValue> inputValues, IReadOnlyCollection<NamedOnnxValue> outputs)
- Run(IReadOnlyCollection<String> inputNames, IReadOnlyCollection<FixedBufferOnnxValue> inputValues, IReadOnlyCollection<NamedOnnxValue> outputs, RunOptions options)
- Run(IReadOnlyCollection<NamedOnnxValue> inputs) : IDisposableReadOnlyCollection<DisposableNamedOnnxValue>
- Run(IReadOnlyCollection<NamedOnnxValue> inputs, IReadOnlyCollection<String> outputNames) : IDisposableReadOnlyCollection<DisposableNamedOnnxValue>
- Run(IReadOnlyCollection<NamedOnnxValue> inputs, IReadOnlyCollection<String> outputNames, RunOptions options) : IDisposableReadOnlyCollection<DisposableNamedOnnxValue>
- Run(IReadOnlyCollection<NamedOnnxValue> inputs, IReadOnlyCollection<String> outputNames, IReadOnlyCollection<FixedBufferOnnxValue> outputValues)
- Run(IReadOnlyCollection<NamedOnnxValue> inputs, IReadOnlyCollection<String> outputNames, IReadOnlyCollection<FixedBufferOnnxValue> outputValues, RunOptions options)
- Run(IReadOnlyCollection<NamedOnnxValue> inputs, IReadOnlyCollection<NamedOnnxValue> outputs)
- Run(IReadOnlyCollection<NamedOnnxValue> inputs, IReadOnlyCollection<NamedOnnxValue> outputs, RunOptions options)
- Run(RunOptions runOptions, IReadOnlyCollection<String> inputNames, IReadOnlyCollection<OrtValue> inputValues, IReadOnlyCollection<String> outputNames) : IDisposableReadOnlyCollection<OrtValue>
- Run(RunOptions runOptions, IReadOnlyCollection<String> inputNames, IReadOnlyCollection<OrtValue> inputValues, IReadOnlyCollection<String> outputNames, IReadOnlyCollection<OrtValue> outputValues)
- Run(RunOptions runOptions, IReadOnlyDictionary<String, OrtValue> inputs, IReadOnlyCollection<String> outputNames) : IDisposableReadOnlyCollection<OrtValue>
- RunAsync(RunOptions options, IReadOnlyCollection<String> inputNames, IReadOnlyCollection<OrtValue> inputValues, IReadOnlyCollection<String> outputNames, IReadOnlyCollection<OrtValue> outputValues) : Task<IReadOnlyCollection<OrtValue>>
- RunWithBinding(RunOptions runOptions, OrtIoBinding ioBinding)
- RunWithBindingAndNames(RunOptions runOptions, OrtIoBinding ioBinding, String[] names = null) : IDisposableReadOnlyCollection<DisposableNamedOnnxValue>
- RunWithBoundResults(RunOptions runOptions, OrtIoBinding ioBinding) : IDisposableReadOnlyCollection<OrtValue>
Methods
- GetByteSize() : long
- GetFileOffset() : long
- GetFilePath() : string
Properties
- IsSparseTensor { get; } : bool
- IsTensor { get; } : bool
- OnnxType { get; } : OnnxValueType
Methods
- GetStringElement(int index) : string
- GetStringElementAsMemory(int index) : ReadOnlyMemory<Char>
- GetStringElementAsSpan(int index) : ReadOnlySpan<Byte>
- GetStringTensorAsArray() : String[]
- GetTensorDataAsSpan<T>() : ReadOnlySpan<T>
- GetTensorDataAsTensorSpan<T>() : ReadOnlyTensorSpan<T>
- GetTensorMemoryInfo() : OrtMemoryInfo
- GetTensorSizeInBytes() : long
- GetTensorTypeAndShape() : OrtTensorTypeAndShapeInfo
- GetTypeInfo() : OrtTypeInfo
- GetValue(int index, OrtAllocator allocator) : OrtValue
- GetValueCount() : int
Constructors
- NamedOnnxValue(string name, object value)
Properties
- Name { get; set; } : string
- Value { get; set; } : object
- ValueType { get; } : OnnxValueType
Methods
- AsDictionary<K, V>() : IDictionary<K, V>
- AsEnumerable<T>() : IEnumerable<T>
- AsTensor<T>() : Tensor<T>
- CreateFromMap<K, V>(string name, IDictionary<K, V> value) : NamedOnnxValue
- CreateFromSequence<T>(string name, IEnumerable<T> value) : NamedOnnxValue
- CreateFromTensor<T>(string name, Tensor<T> value) : NamedOnnxValue
- NNAPI_FLAG_USE_NONE = 0
- NNAPI_FLAG_USE_FP16 = 1
- NNAPI_FLAG_USE_NCHW = 2
- NNAPI_FLAG_CPU_DISABLED = 4
- NNAPI_FLAG_CPU_ONLY = 8
- NNAPI_FLAG_LAST = 8
- ONNX_TYPE_UNKNOWN = 0
- ONNX_TYPE_TENSOR = 1
- ONNX_TYPE_SEQUENCE = 2
- ONNX_TYPE_MAP = 3
- ONNX_TYPE_OPAQUE = 4
- ONNX_TYPE_SPARSETENSOR = 5
- ONNX_TYPE_OPTIONAL = 6
- DeviceAllocator = 0
- ArenaAllocator = 1
Fields
- GetApi : IntPtr
- GetVersionString : IntPtr
Constructors
- OrtArenaCfg(uint maxMemory, int arenaExtendStrategy, int initialChunkSizeBytes, int maxDeadBytesPerChunk)
- NONE = 0
- ERROR_IF_NO_NODES_COMPILED = 1
- ERROR_IF_OUTPUT_FILE_EXISTS = 2
- EP_NOT_APPLICABLE = 0
- EP_SUPPORTED_OPTIMAL = 1
- EP_SUPPORTED_PREFER_RECOMPILATION = 2
- EP_UNSUPPORTED = 3
Methods
- GetOptions() : string
- UpdateOptions(Dictionary<String, String> providerOptions)
- DEFAULT = 0
- HOST_ACCESSIBLE = 5
Properties
- DisableDllImportResolver { get; set; } : bool
- EnvLogLevel { get; set; } : OrtLoggingLevel
- IsCreated { get; } : bool
Methods
- CopyTensors(IReadOnlyList<OrtValue> srcValues, IReadOnlyList<OrtValue> dstValues, OrtSyncStream stream)
- CreateAndRegisterAllocator(OrtMemoryInfo memInfo, OrtArenaCfg arenaCfg)
- CreateAndRegisterAllocator(string providerType, OrtMemoryInfo memInfo, OrtArenaCfg arenaCfg, IReadOnlyDictionary<String, String> provider_options)
- CreateInstanceWithOptions(EnvironmentCreationOptions options) : OrtEnv
- CreateSharedAllocator(OrtEpDevice epDevice, OrtDeviceMemoryType deviceMemoryType, OrtAllocatorType ortAllocatorType, IReadOnlyDictionary<String, String> allocatorOptions) : OrtAllocator
- DisableTelemetryEvents()
- EnableTelemetryEvents()
- GetAvailableProviders() : String[]
- GetEpDevices() : IReadOnlyList<OrtEpDevice>
- GetModelCompatibilityForEpDevices(IReadOnlyList<OrtEpDevice> epDevices, string compatibilityInfo) : OrtCompiledModelCompatibility
- GetSharedAllocator(OrtMemoryInfo memoryInfo) : OrtAllocator
- GetVersionString() : string
- Instance() : OrtEnv
- RegisterExecutionProviderLibrary(string registrationName, string libraryPath)
- ReleaseSharedAllocator(OrtEpDevice epDevice, OrtDeviceMemoryType deviceMemoryType)
- UnregisterAllocator(OrtMemoryInfo memInfo)
- UnregisterExecutionProviderLibrary(string registrationName)
Constructors
- OrtExternalInitializerInfo(string filePath, long fileOffset, long byteSize)
Methods
- GetByteSize() : long
- GetFileOffset() : long
- GetFilePath() : string
Methods
- BindInput(string name, OrtExternalAllocation allocation)
- BindInput(string name, TensorElementType elementType, Int64[] shape, OrtMemoryAllocation allocation)
- BindInput(string name, FixedBufferOnnxValue fixedValue)
- BindInput(string name, OrtValue ortValue)
- BindOutput(string name, OrtExternalAllocation allocation)
- BindOutput(string name, TensorElementType elementType, Int64[] shape, OrtMemoryAllocation allocation)
- BindOutput(string name, FixedBufferOnnxValue fixedValue)
- BindOutput(string name, OrtValue ortValue)
- BindOutputToDevice(string name, OrtMemoryInfo memInfo)
- ClearBoundInputs()
- ClearBoundOutputs()
- GetOutputNames() : String[]
- GetOutputValues() : IDisposableReadOnlyCollection<OrtValue>
- SynchronizeBoundInputs()
- SynchronizeBoundOutputs()
Constructors
- OrtKeyValuePairs()
- OrtKeyValuePairs(IReadOnlyDictionary<String, String> keyValuePairs)
Properties
- Entries { get; } : IReadOnlyDictionary<String, String>
Methods
- Add(string key, string value)
- Refresh()
- Remove(string key)
- ORT_LOGGING_LEVEL_VERBOSE = 0
- ORT_LOGGING_LEVEL_INFO = 1
- ORT_LOGGING_LEVEL_WARNING = 2
- ORT_LOGGING_LEVEL_ERROR = 3
- ORT_LOGGING_LEVEL_FATAL = 4
Constructors
- OrtMemoryInfo(string allocatorName, OrtAllocatorType allocatorType, int deviceId, OrtMemType memoryType)
- OrtMemoryInfo(string allocatorName, OrtMemoryInfoDeviceType deviceType, uint vendorId, int deviceId, OrtDeviceMemoryType deviceMemoryType, ulong alignment, OrtAllocatorType allocatorType)
- OrtMemoryInfo(Byte[] utf8AllocatorName, OrtAllocatorType allocatorType, int deviceId, OrtMemType memoryType)
Properties
- DefaultInstance { get; } : OrtMemoryInfo
- Id { get; } : int
- Name { get; } : string
Fields
- allocatorCPU : Byte[]
- allocatorCUDA : Byte[]
- allocatorCUDA_PINNED : Byte[]
- allocatorHIP : Byte[]
- allocatorHIP_PINNED : Byte[]
- CPU = 0
- GPU = 1
- FPGA = 2
- NPU = 3
- CpuInput = -2
- Cpu = -1
- CpuOutput = -1
- Default = 0
Methods
- CompileModel()
- Dispose()
- Dispose(bool disposing)
- SetEpContextBinaryInformation(string outputDirectory, string modelName)
- SetEpContextEmbedMode(bool embed)
- SetFlags(OrtCompileApiFlags flags)
- SetGraphOptimizationLevel(GraphOptimizationLevel graphOptimizationLevel)
- SetInputModelFromBuffer(Byte[] buffer)
- SetInputModelPath(string path)
- SetOutputModelExternalInitializersFile(string filePath, ulong threshold)
- SetOutputModelGetInitializerLocationDelegate(GetInitializerLocationDelegate getInitializerLocationDelegate)
- SetOutputModelPath(string path)
- SetOutputModelWriteDelegate(WriteBufferToDestinationDelegate writeBufferDelegate)
Nested Types
Constructors
- GetInitializerLocationDelegate(object object, IntPtr method)
Constructors
- WriteBufferToDestinationDelegate(object object, IntPtr method)
Methods
- BeginInvoke(ReadOnlySpan<Byte> buffer, AsyncCallback callback, object object) : IAsyncResult
- EndInvoke(IAsyncResult result)
- Invoke(ReadOnlySpan<Byte> buffer)
Methods
- GetOptions() : string
- UpdateOptions(Dictionary<String, String> providerOptions)
Constructors
- OrtTensorRTProviderOptions()
Methods
- GetDeviceId() : int
- GetOptions() : string
- UpdateOptions(Dictionary<String, String> providerOptions)
Properties
- DimensionsCount { get; } : int
- ElementCount { get; } : long
- ElementDataType { get; } : TensorElementType
- IsString { get; } : bool
- Shape { get; } : Int64[]
Properties
- GlobalInterOpNumThreads { set; } : int
- GlobalIntraOpNumThreads { set; } : int
- GlobalSpinControl { set; } : bool
Methods
- SetGlobalDenormalAsZero()
Fields
- AddProperty : IntPtr
- CopyBufferToParameters : IntPtr
- CopyParametersToBuffer : IntPtr
- CreateTrainingSession : IntPtr
- CreateTrainingSessionFromBuffer : IntPtr
- EvalStep : IntPtr
- ExportModelForInferencing : IntPtr
- GetLearningRate : IntPtr
- GetParameter : IntPtr
- GetParametersSize : IntPtr
- GetParameterTypeAndShape : IntPtr
- GetProperty : IntPtr
- LazyResetGrad : IntPtr
- LoadCheckpoint : IntPtr
- LoadCheckpointFromBuffer : IntPtr
- OptimizerStep : IntPtr
- RegisterLinearLRScheduler : IntPtr
- ReleaseCheckpointState : IntPtr
- ReleaseTrainingSession : IntPtr
- SaveCheckpoint : IntPtr
- SchedulerStep : IntPtr
- SetLearningRate : IntPtr
- SetSeed : IntPtr
- TrainingSessionGetEvalModelInputCount : IntPtr
- TrainingSessionGetEvalModelInputName : IntPtr
- TrainingSessionGetEvalModelOutputCount : IntPtr
- TrainingSessionGetEvalModelOutputName : IntPtr
- TrainingSessionGetTrainingModelInputCount : IntPtr
- TrainingSessionGetTrainingModelInputName : IntPtr
- TrainingSessionGetTrainingModelOutputCount : IntPtr
- TrainingSessionGetTrainingModelOutputName : IntPtr
- TrainStep : IntPtr
- UpdateParameter : IntPtr
Properties
- IsSparseTensor { get; } : bool
- IsTensor { get; } : bool
- OnnxType { get; } : OnnxValueType
- Value { get; } : OrtValue
Methods
- CreateAllocatedTensorValue(OrtAllocator allocator, TensorElementType elementType, Int64[] shape) : OrtValue
- CreateFromStringTensor(Tensor<String> tensor) : OrtValue
- CreateMap(OrtValue keys, OrtValue values) : OrtValue
- CreateMap<K, V>(K[] keys, V[] values) : OrtValue
- CreateMapWithStringKeys<V>(IReadOnlyCollection<String> keys, V[] values) : OrtValue
- CreateMapWithStringValues<K>(K[] keys, IReadOnlyCollection<String> values) : OrtValue
- CreateSequence(ICollection<OrtValue> ortValues) : OrtValue
- CreateTensorValueFromMemory<T>(T[] data, Int64[] shape) : OrtValue
- CreateTensorValueFromMemory<T>(OrtMemoryInfo memoryInfo, Memory<T> memory, Int64[] shape) : OrtValue
- CreateTensorValueFromSystemNumericsTensorObject<T>(Tensor<T> tensor) : OrtValue
- CreateTensorValueWithData(OrtMemoryInfo memInfo, TensorElementType elementType, Int64[] shape, IntPtr dataBufferPtr, long bufferLengthInBytes) : OrtValue
- CreateTensorWithEmptyStrings(OrtAllocator allocator, Int64[] shape) : OrtValue
- Dispose()
- Dispose(bool disposing)
- GetStringElement(int index) : string
- GetStringElementAsMemory(int index) : ReadOnlyMemory<Char>
- GetStringElementAsSpan(int index) : ReadOnlySpan<Byte>
- GetStringTensorAsArray() : String[]
- GetTensorDataAsSpan<T>() : ReadOnlySpan<T>
- GetTensorDataAsTensorSpan<T>() : ReadOnlyTensorSpan<T>
- GetTensorMemoryInfo() : OrtMemoryInfo
- GetTensorMutableDataAsSpan<T>() : Span<T>
- GetTensorMutableDataAsTensorSpan<T>() : TensorSpan<T>
- GetTensorMutableRawData() : Span<Byte>
- GetTensorSizeInBytes() : long
- GetTensorSpanMutableRawData<T>() : TensorSpan<Byte>
- GetTensorTypeAndShape() : OrtTensorTypeAndShapeInfo
- GetTypeInfo() : OrtTypeInfo
- GetValue(int index, OrtAllocator allocator) : OrtValue
- GetValueCount() : int
- ProcessMap(MapVisitor visitor, OrtAllocator allocator)
- ProcessSequence(SequenceElementVisitor visitor, OrtAllocator allocator)
- StringTensorSetElementAt(ReadOnlyMemory<Char> rom, int index)
- StringTensorSetElementAt(ReadOnlySpan<Char> str, int index)
- StringTensorSetElementAt(ReadOnlySpan<Byte> utf8Bytes, int index)
Nested Types
Constructors
- MapVisitor(object object, IntPtr method)
Methods
- BeginInvoke(OrtValue keys, OrtValue values, AsyncCallback callback, object object) : IAsyncResult
- EndInvoke(IAsyncResult result)
- Invoke(OrtValue keys, OrtValue values)
Constructors
- SequenceElementVisitor(object object, IntPtr method)
Methods
- BeginInvoke(OrtValue ortValue, int index, AsyncCallback callback, object object) : IAsyncResult
- EndInvoke(IAsyncResult result)
- Invoke(OrtValue ortValue, int index)
Constructors
- PrePackedWeightsContainer()
Constructors
- ProviderOptionsValueHelper()
Methods
- StringToDict(string s, Dictionary<String, String> dict)
Properties
- LogId { get; set; } : string
- LogSeverityLevel { get; set; } : OrtLoggingLevel
- LogVerbosityLevel { get; set; } : int
- Terminate { get; set; } : bool
Methods
- AddActiveLoraAdapter(OrtLoraAdapter loraAdapter)
- AddRunConfigEntry(string configKey, string configValue)
Properties
- EnableCpuMemArena { get; set; } : bool
- EnableMemoryPattern { get; set; } : bool
- EnableProfiling { get; set; } : bool
- ExecutionMode { get; set; } : ExecutionMode
- GraphOptimizationLevel { get; set; } : GraphOptimizationLevel
- InterOpNumThreads { get; set; } : int
- IntraOpNumThreads { get; set; } : int
- LogId { get; set; } : string
- LogSeverityLevel { get; set; } : OrtLoggingLevel
- LogVerbosityLevel { get; set; } : int
- OptimizedModelFilePath { get; set; } : string
- ProfileOutputPathPrefix { get; set; } : string
Methods
- AddFreeDimensionOverride(string dimDenotation, long dimValue)
- AddFreeDimensionOverrideByName(string dimName, long dimValue)
- AddInitializer(string name, OrtValue ortValue)
- AddSessionConfigEntry(string configKey, string configValue)
- AppendExecutionProvider(OrtEnv env, IReadOnlyList<OrtEpDevice> epDevices, IReadOnlyDictionary<String, String> epOptions)
- AppendExecutionProvider(string providerName, Dictionary<String, String> providerOptions = null)
- AppendExecutionProvider_CoreML(CoreMLFlags coremlFlags = 0)
- AppendExecutionProvider_CPU(int useArena = 1)
- AppendExecutionProvider_CUDA(OrtCUDAProviderOptions cudaProviderOptions)
- AppendExecutionProvider_CUDA(int deviceId = 0)
- AppendExecutionProvider_DML(int deviceId = 0)
- AppendExecutionProvider_Dnnl(int useArena = 1)
- AppendExecutionProvider_MIGraphX(int deviceId = 0)
- AppendExecutionProvider_Nnapi(NnapiFlags nnapiFlags = 0)
- AppendExecutionProvider_OpenVINO(string deviceId = )
- AppendExecutionProvider_ROCm(int deviceId = 0)
- AppendExecutionProvider_ROCm(OrtROCMProviderOptions rocmProviderOptions)
- AppendExecutionProvider_Tensorrt(int deviceId = 0)
- AppendExecutionProvider_Tensorrt(OrtTensorRTProviderOptions trtProviderOptions)
- DisablePerSessionThreads()
- MakeSessionOptionWithCudaProvider(OrtCUDAProviderOptions cudaProviderOptions) : SessionOptions
- MakeSessionOptionWithCudaProvider(int deviceId = 0) : SessionOptions
- MakeSessionOptionWithRocmProvider(int deviceId = 0) : SessionOptions
- MakeSessionOptionWithRocmProvider(OrtROCMProviderOptions rocmProviderOptions) : SessionOptions
- MakeSessionOptionWithTensorrtProvider(int deviceId = 0) : SessionOptions
- MakeSessionOptionWithTensorrtProvider(OrtTensorRTProviderOptions trtProviderOptions) : SessionOptions
- RegisterCustomOpLibrary(string libraryPath)
- RegisterCustomOpLibraryV2(string libraryPath, IntPtr libraryHandle)
- RegisterOrtExtensions()
- SetEpSelectionPolicy(ExecutionProviderDevicePolicy policy)
- SetEpSelectionPolicyDelegate(EpSelectionDelegate selectionDelegate = null)
- SetLoadCancellationFlag(bool value)
Nested Types
Constructors
- EpSelectionDelegate(object object, IntPtr method)
Constructors
- TrainingSession(SessionOptions options, CheckpointState state, string trainModelPath, string evalModelPath, string optimizerModelPath)
- TrainingSession(CheckpointState state, string trainModelPath, string evalModelPath, string optimizerModelPath)
- TrainingSession(CheckpointState state, string trainModelPath, string optimizerModelPath)
Methods
- Dispose()
- Dispose(bool disposing)
- EvalStep(IReadOnlyCollection<OrtValue> inputValues) : IDisposableReadOnlyCollection<OrtValue>
- EvalStep(IReadOnlyCollection<FixedBufferOnnxValue> inputValues, IReadOnlyCollection<FixedBufferOnnxValue> outputValues)
- EvalStep(RunOptions options, IReadOnlyCollection<FixedBufferOnnxValue> inputValues, IReadOnlyCollection<FixedBufferOnnxValue> outputValues)
- ExportModelForInferencing(string inferenceModelPath, IReadOnlyCollection<String> graphOutputNames)
- FromBuffer(OrtValue ortValue, bool onlyTrainable)
- GetLearningRate() : float
- InputNames(bool training) : List<String>
- LazyResetGrad()
- OptimizerStep()
- OptimizerStep(RunOptions options)
- OutputNames(bool training) : List<String>
- RegisterLinearLRScheduler(long warmupStepCount, long totalStepCount, float initialLearningRate)
- SchedulerStep()
- SetLearningRate(float learningRate)
- ToBuffer(bool onlyTrainable) : OrtValue
- TrainStep(IReadOnlyCollection<FixedBufferOnnxValue> inputValues) : IDisposableReadOnlyCollection<DisposableNamedOnnxValue>
- TrainStep(IReadOnlyCollection<OrtValue> inputValues) : IDisposableReadOnlyCollection<OrtValue>
- TrainStep(IReadOnlyCollection<FixedBufferOnnxValue> inputValues, IReadOnlyCollection<FixedBufferOnnxValue> outputValues)
- TrainStep(RunOptions options, IReadOnlyCollection<FixedBufferOnnxValue> inputValues) : IDisposableReadOnlyCollection<DisposableNamedOnnxValue>
- TrainStep(RunOptions options, IReadOnlyCollection<FixedBufferOnnxValue> inputValues, IReadOnlyCollection<FixedBufferOnnxValue> outputValues)
Microsoft.ML.OnnxRuntime.CompileApi
Fields
- CompileModel : IntPtr
- CreateModelCompilationOptionsFromSessionOptions : IntPtr
- ModelCompilationOptions_SetEpContextBinaryInformation : IntPtr
- ModelCompilationOptions_SetEpContextEmbedMode : IntPtr
- ModelCompilationOptions_SetFlags : IntPtr
- ModelCompilationOptions_SetGraphOptimizationLevel : IntPtr
- ModelCompilationOptions_SetInputModel : IntPtr
- ModelCompilationOptions_SetInputModelFromBuffer : IntPtr
- ModelCompilationOptions_SetInputModelPath : IntPtr
- ModelCompilationOptions_SetOutputModelBuffer : IntPtr
- ModelCompilationOptions_SetOutputModelExternalInitializersFile : IntPtr
- ModelCompilationOptions_SetOutputModelGetInitializerLocationFunc : IntPtr
- ModelCompilationOptions_SetOutputModelPath : IntPtr
- ModelCompilationOptions_SetOutputModelWriteFunc : IntPtr
- ReleaseModelCompilationOptions : IntPtr
Microsoft.ML.OnnxRuntime.Tensors
Methods
- ToTensor<T>(T[] array) : DenseTensor<T>
- ToTensor<T>(T[,] array, bool reverseStride = False) : DenseTensor<T>
- ToTensor<T>(T[,,] array, bool reverseStride = False) : DenseTensor<T>
- ToTensor<T>(T[,,,] array, bool reverseStride = False) : DenseTensor<T>
- ToTensor<T>(Array array, bool reverseStride = False) : DenseTensor<T>
Constructors
- DenseTensor(ReadOnlySpan<Int32> dimensions, bool reverseStride = False)
- DenseTensor(int length)
- DenseTensor(Memory<T> memory, ReadOnlySpan<Int32> dimensions, bool reverseStride = False)
Properties
- Buffer { get; } : Memory<T>
Methods
- GetIndex(ReadOnlySpan<Int64> strides, ReadOnlySpan<Int64> indices, int startFromDimension = 0) : long
- GetSizeForShape(ReadOnlySpan<Int64> shape) : long
- GetStrides(ReadOnlySpan<Int64> dimensions) : Int64[]
Methods
- CreateFromDiagonal<T>(Tensor<T> diagonal) : Tensor<T>
- CreateFromDiagonal<T>(Tensor<T> diagonal, int offset) : Tensor<T>
- CreateIdentity<T>(int size) : Tensor<T>
- CreateIdentity<T>(int size, bool columMajor) : Tensor<T>
- CreateIdentity<T>(int size, bool columMajor, T oneValue) : Tensor<T>
Constructors
- Tensor(ReadOnlySpan<Int32> dimensions, bool reverseStride)
- Tensor(Array fromArray, bool reverseStride)
- Tensor(int length)
Properties
- Dimensions { get; } : ReadOnlySpan<Int32>
- IsFixedSize { get; } : bool
- IsReadOnly { get; } : bool
- IsReversedStride { get; } : bool
- Length { get; } : long
- Rank { get; } : int
- Strides { get; } : ReadOnlySpan<Int32>
Methods
- Clone() : Tensor<T>
- CloneEmpty() : Tensor<T>
- CloneEmpty<TResult>() : Tensor<TResult>
- CloneEmpty(ReadOnlySpan<Int32> dimensions) : Tensor<T>
- CloneEmpty<TResult>(ReadOnlySpan<Int32> dimensions) : Tensor<TResult>
- Compare(Tensor<T> left, Tensor<T> right) : int
- Contains(T item) : bool
- CopyTo(T[] array, int arrayIndex)
- Equals(Tensor<T> left, Tensor<T> right) : bool
- Fill(T value)
- GetArrayString(bool includeWhitespace = True) : string
- GetDiagonal() : Tensor<T>
- GetDiagonal(int offset) : Tensor<T>
- GetTriangle() : Tensor<T>
- GetTriangle(int offset) : Tensor<T>
- GetTriangle(int offset, bool upper) : Tensor<T>
- GetUpperTriangle() : Tensor<T>
- GetUpperTriangle(int offset) : Tensor<T>
- GetValue(int index) : T
- IndexOf(T item) : int
- Reshape(ReadOnlySpan<Int32> dimensions) : Tensor<T>
- SetValue(int index, T value)
- ToDenseTensor() : DenseTensor<T>
Constructors
- TensorBase(Type primitiveType)
- Float = 1
- UInt8 = 2
- Int8 = 3
- UInt16 = 4
- Int16 = 5
- Int32 = 6
- Int64 = 7
- String = 8
- Bool = 9
- Float16 = 10
- Double = 11
- UInt32 = 12
- UInt64 = 13
- Complex64 = 14
- Complex128 = 15
- BFloat16 = 16
- DataTypeMax = 17
Constructors
- TensorElementTypeInfo(Type type, int typeSize)
Properties
- IsString { get; } : bool
- TensorType { get; } : Type
- TypeSize { get; } : int
Properties
- ElementType { get; } : TensorElementType
- IsString { get; } : bool
- TypeSize { get; } : int
Microsoft.UI.Xaml.Controls
Constructors
- SystemBackdropElement()
- SystemBackdropElement(DerivedComposed _)
- SystemBackdropElement(IObjectReference objRef)
Microsoft.UI.Xaml.Markup
Methods
- Evaluate(string argument) : bool
Microsoft.Windows.AI.MachineLearning
Properties
- ExecutionProviders { get; } : IReadOnlyList<String>
- Id { get; } : string
- License { get; } : string
- LicenseText { get; } : string
- LicenseUri { get; } : string
- ModelSizeInBytes { get; } : ulong
- Name { get; } : string
- Publisher { get; } : string
- SourceId { get; } : string
- Uri { get; } : Uri
- Version { get; } : string
Properties
- ModelInfo { get; } : CatalogModelInfo
- ModelPaths { get; } : IReadOnlyList<String>
- Available = 0
- InProgress = 1
- Unavailable = 2
- Unknown = 0
- Certified = 1
- Uncertified = 2
- InProgress = 0
- Success = 1
- Failure = 2
- Ready = 0
- NotReady = 1
- NotPresent = 2
Properties
- Id { get; } : string
- Uri { get; } : Uri
Microsoft.Windows.Management.Deployment
Methods
- IsPackageValid(object appxPackagingObject) : bool
Constructors
- PackageCertificateEkuValidator(string expectedCertificateEku)
Constructors
- PackageFamilyNameValidator(string expectedPackageFamilyName)
Constructors
- PackageMinimumVersionValidator(PackageVersion minimumVersion)
Properties
- AppxPackagingObject { get; } : object
- Cancel { get; set; } : bool
- PackageUri { get; } : Uri
- GetDefault = 1
- SetDefault = 2
- Add = 3
- Remove = 4
- SetOffline = 5
- SetOnline = 6
- GetAvailableSpace = 7
Microsoft.Windows.Storage.Pickers
Properties
- FileTypeChoices { get; } : IDictionary<String, IList<String>>
- InitialFileTypeIndex { get; set; } : int
- SettingsIdentifier { get; set; } : string
- SuggestedFolder { get; set; } : string
- SuggestedStartFolder { get; set; } : string
- Title { get; set; } : string
Properties
- InitialFileTypeIndex { get; set; } : int
- SettingsIdentifier { get; set; } : string
- ShowOverwritePrompt { get; set; } : bool
- SuggestedStartFolder { get; set; } : string
- Title { get; set; } : string
Properties
- SettingsIdentifier { get; set; } : string
- SuggestedFolder { get; set; } : string
- SuggestedStartFolder { get; set; } : string
- Title { get; set; } : string
Command line:
dotnet tool install --global dotMorten.OmdGenerator
generateomd C:\Users\mort5161\.dotnet\tools\.store\dotmorten.omdgenerator\1.5.2\dotmorten.omdgenerator\1.5.2\tools\net6.0\any\generateomd.dll -nuget=Microsoft.WindowsAppSDK.Foundation:2.0.20;Microsoft.WindowsAppSDK.InteractiveExperiences:2.0.12;Microsoft.WindowsAppSDK.ML:2.0.300;Microsoft.WindowsAppSDK.Widgets:2.0.4;Microsoft.WindowsAppSDK.WinUI:2.0.12;Microsoft.Windows.AI.MachineLearning:2.0.300 -compareNuget=Microsoft.WindowsAppSDK.Foundation:1.8.260415000;Microsoft.WindowsAppSDK.InteractiveExperiences:1.8.260415001;Microsoft.WindowsAppSDK.Widgets:1.8.251231004;Microsoft.WindowsAppSDK.WinUI:1.8.260415005; -tfm=NET8.0-windows10.0.26100.0 -output WIN_APP_SDK_18_vs_20.html -filter=ABI.
Generated with .NET Object Model Diagram Generator