Given the name of a blob produced by this net, return a BlobReference to it. If the blob is not produced by any op in this net, raises KeyError.
(self, blob_name)
| 1687 | return blob_names |
| 1688 | |
| 1689 | def GetBlobRef(self, blob_name): |
| 1690 | """ |
| 1691 | Given the name of a blob produced by this net, return a BlobReference |
| 1692 | to it. If the blob is not produced by any op in this net, |
| 1693 | raises KeyError. |
| 1694 | """ |
| 1695 | blob_name = str(blob_name) |
| 1696 | if not self.BlobIsDefined(blob_name): |
| 1697 | raise KeyError('Net does not define blob %s' % blob_name) |
| 1698 | return BlobReference(blob_name, self) |
| 1699 | |
| 1700 | def Clone( |
| 1701 | self, |
no test coverage detected