Conversation
| #include "core/framework/TensorSeq.h" | ||
| #include "core/providers/common.h" | ||
| #include "core/framework/copy.h" | ||
| #include "core/providers/op_kernel_type_control.h" |
There was a problem hiding this comment.
are "core/framework/element_type_lists.h", "core/framework/TensorSeq.h", and "core/providers/op_kernel_type_control.h" needed?
this file doesn't seem to use any of the op kernel type control infrastructure or TensorSeq
| struct Func_Add<BFloat16> { | ||
| void operator()(BFloat16*, const BFloat16*) const { | ||
| ORT_NOT_IMPLEMENTED("CPU execution provider: BFloat16 data type is not supported with ScatterElements opset 16 when reduction is 'add'."); | ||
| } |
There was a problem hiding this comment.
general nit: run formatter on changed files
There was a problem hiding this comment.
there's still some odd formatting here
| std::copy(str_begin, str_end, dst); | ||
| } else { | ||
| memcpy(dst_base, src_base, input_tensor->SizeInBytes()); | ||
| memcpy((void*)dst_base, (const void*)src_base, input_tensor->SizeInBytes()); |
There was a problem hiding this comment.
nit: casting to void* shouldn't be necessary
also prefer to avoid C-style casts, see https://google.github.io/styleguide/cppguide.html#Casting
thanks for updating this! |
edgchen1
left a comment
There was a problem hiding this comment.
signing off on the kernel def hash changes. not as familiar with the rest so it would be good if someone else can take a look too.
|
This PR is already in rel-1.11.0 branch, so remove the label. |
Description:
Update with onnx 1.11.0 release,
Fix build breaks due to new onnx 1.11.0 APIs,
Use FunctionBuilder from onnx,
support new and updated onnx ops with new and updated cpu kernels: ROIAlign ScatterElements, ScatterND, GridSample
Motivation and Context
prepare for onnxruntime 1.11.0 release