Commit 34501544 authored by Asim Shankar's avatar Asim Shankar Committed by TensorFlower Gardener
Browse files

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
parent f39ca64a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment