File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
include/onnxruntime/core/session Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -344,9 +344,9 @@ struct OrtKernelImpl {
344344 * \param[in] tensor The OrtValue instance representing the constant tensor (weight). Do not cache in the kernel.
345345 * \param[in] input_index The input index of the tensor in this kernel.
346346 * \param[in] allocator Allocator for allocating the pre-packed data. Its use is required in sharing mode and
347- * recommended in the non-sharing mode. This will be an allocator set on the OrtEpDevice
348- * (read-only or default) or an allocator set for the session or ORT environment via APIs
349- * such as CreateAndRegisterAllocator, CreateAndRegisterAllocatorV2, or RegisterAllocator .
347+ * recommended, but not required, in the non-sharing mode. This will be an allocator set by
348+ * the application for the session/ environment (e.g., via CreateAndRegisterAllocator[V2]
349+ * or RegisterAllocator), or an allocator on the OrtEpDevice (read-only or default) otherwise .
350350 * The allocator remains valid throughout the lifetime of the OrtKernelImpl instance.
351351 * \param[in] prepacked_weights_cache May be NULL. If not NULL, the kernel may choose to share a packed weight by
352352 * first storing it in the OrtSharedPrePackedWeightCache instance and then
You can’t perform that action at this time.
0 commit comments