aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/BUILD
diff options
context:
space:
mode:
authorGravatar Eugene Brevdo <ebrevdo@google.com>2018-09-11 10:41:44 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-09-11 10:51:01 -0700
commit36e1a5ea5ba2dd5eaa7f4cfc84a61f8ce3ea20e1 (patch)
tree4f1671f78f5971b02dc2af66f57eabbf01005112 /tensorflow/core/BUILD
parent36d7b12357df667dcd427c070e21779ed83f4ec9 (diff)
[TF] Variant improvements.
1. Change Variant Decode to accept VariantTensorData (non-ref). This should allow some optimization in the future. In the meantime it means removing the variant.h include from tensor.h, since variant_encode_decode.h now relies on tensor.h and variant.h now relies on that. It also means we found a bunch of places where tensor.proto.h, variant.h, and mutex.h were being imported through tensor.h (along with a bunch of other crap); so now we directly import them in order to compile. 2. Move Variant registry to use TypeIndex instead of a TypeName string; this should speed up registry lookups. PiperOrigin-RevId: 212478896
Diffstat (limited to 'tensorflow/core/BUILD')
-rw-r--r--tensorflow/core/BUILD1
1 files changed, 1 insertions, 0 deletions
diff --git a/tensorflow/core/BUILD b/tensorflow/core/BUILD
index 79ad3b8e54..957aa254e5 100644
--- a/tensorflow/core/BUILD
+++ b/tensorflow/core/BUILD
@@ -720,6 +720,7 @@ cc_library(
name = "abi",
srcs = ["platform/abi.cc"],
hdrs = ["platform/abi.h"],
+ deps = [":platform_base"],
)
cc_library(