Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions backends/apple/coreml/runtime/delegate/multiarray.mm
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,9 @@ bool init_bnns_descriptor(BNNSNDArrayDescriptor& bnns_descriptor, const MultiArr
}

bool copy_using_bnns(const MultiArray& src, MultiArray& dst) {
if (src.layout().dataType() != dst.layout().dataType()) {
return false;
}
if (dst.layout().num_bytes() < src.layout().num_bytes()) {
return false;
}
Expand Down
Loading