C-API: Add TF_ColocateWith to enable colocation.
While at it, define named constants for strings used in the colocation
attribute. After this change, all non-test code should be using the
named constants and not string literals ("_class", "loc:@"). The
tests might still use the literals as that makes the tests easier to read.
Change: 133310403
Loading
Please sign in to comment