mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-06-04 23:59:56 +00:00
add comment to explain local scalar dense (#12179)
* add comment to explain local scalar dense * spacing
This commit is contained in:
parent
05c31a036d
commit
fafb24142f
1 changed files with 3 additions and 1 deletions
|
|
@ -159,7 +159,9 @@ hand_implemented = {
|
|||
"aten::eq.Scalar_out": Cast(Equal("self", "other"), to="GetONNXTensorProtoDataType(out.scalar_type())"),
|
||||
"aten::bitwise_and.Tensor_out": MakeTorchFallback(),
|
||||
"aten::masked_select": GatherND("self", Transpose(NonZero(Expand("mask", Shape("self"))))),
|
||||
"aten::_local_scalar_dense": MakeTorchFallback(),
|
||||
"aten::_local_scalar_dense": MakeTorchFallback(), # This function extracts a scalar value from
|
||||
# a tensor with exactly one value; there's no need to try to do this on an ORT device.
|
||||
# See CPU impl at pytorch/blob/master/aten/src/ATen/native/Scalar.cpp
|
||||
"aten::gt.Scalar_out": MakeTorchFallback(),
|
||||
"aten::lt.Scalar_out": MakeTorchFallback(),
|
||||
"aten::equal": SignatureOnly(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue