From 9709a5af660f3ca7333877d806d1ee8dd29c1e4d Mon Sep 17 00:00:00 2001 From: Xiao Yu Date: Wed, 23 Sep 2020 18:54:53 -0700 Subject: [PATCH] Allow creating nullptr AttrHeaderBase to support TypedAttrBase::dyn_cast. TypedAttrBase::dyn_cast should return a nullptr if type mismatch. PiperOrigin-RevId: 333419997 Change-Id: Ib3e9d25b0cf95dbb37117f52ded3ec8478f4131f --- tensorflow/python/kernel_tests/BUILD | 1 + 1 file changed, 1 insertion(+) diff --git a/tensorflow/python/kernel_tests/BUILD b/tensorflow/python/kernel_tests/BUILD index 0b9fbeb0211..ab874eaf566 100644 --- a/tensorflow/python/kernel_tests/BUILD +++ b/tensorflow/python/kernel_tests/BUILD @@ -2206,6 +2206,7 @@ cuda_py_test( size = "medium", srcs = ["linalg_ops_test.py"], tags = ["no_windows_gpu"], + tfrt_enabled = True, deps = [ "//tensorflow/python:array_ops", "//tensorflow/python:client_testlib",