See :meth:`BaseTowerContext.get_collection_in_tower`. Args: key (str): the key of the collection name: deprecated
(self, key=None, name=None)
| 454 | return [self.get_variable(name) for name in names] |
| 455 | |
| 456 | def get_collection(self, key=None, name=None): |
| 457 | """ |
| 458 | See :meth:`BaseTowerContext.get_collection_in_tower`. |
| 459 | |
| 460 | Args: |
| 461 | key (str): the key of the collection |
| 462 | name: deprecated |
| 463 | """ |
| 464 | if name is not None: |
| 465 | logger.warn("TowerTensorHandle.get_collection(name=..) was renamed to (key=..) !") |
| 466 | key = name |
| 467 | return self._ctx.get_collection_in_tower(key) |
| 468 | |
| 469 | @property |
| 470 | def inputs(self): |
no test coverage detected