Return a list of hard colocation constraints. All the nodes in a colocation tuple must be placed on the same device for the model to work. Returns: A list of colocation tuples.
(self)
| 64 | return properties |
| 65 | |
| 66 | def GetColocationGroups(self): |
| 67 | """Return a list of hard colocation constraints. |
| 68 | |
| 69 | All the nodes in a colocation tuple must be placed on the same device for |
| 70 | the model to work. |
| 71 | |
| 72 | Returns: |
| 73 | A list of colocation tuples. |
| 74 | """ |
| 75 | return tf_item.TF_GetColocationGroups(self.tf_item) |
| 76 | |
| 77 | @property |
| 78 | def metagraph(self): |
no outgoing calls