commit | 66b49b4e0c418f9ed355f613fd05b41d1c6dcb0c | [log] [tgz] |
---|---|---|
author | Phillis Tang <phillis@google.com> | Fri Feb 09 21:13:19 2024 |
committer | Phillis Tang <phillis@google.com> | Fri Feb 09 21:13:19 2024 |
tree | a35957c91a928bee075b94acbc28a38538873f6b | |
parent | 86ea40cfe6097433128cc2de2cebf58a0ae4c4f7 [diff] |
Fix layer input/output naming in coreml model Operand name is optional and intermediate operands don't have name. So we can't use them as identifiers for input/output identifiers in the CoreML model definition at each layer. Use operand_id for intermediate operands, and use operand's name, prefixed with `input_` / `output_` for the whole graph's inputs and outputs to east debuggability. The prefixes are added to avoid collision with intermediate operands' ids. Change-Id: I14f624fec9e751f5d565b8dceca78b027add051a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5277728 Reviewed-by: Reilly Grant <reillyg@chromium.org> Cr-Commit-Position: refs/heads/main@{#1258734}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.