Fix in c_api DEFINE_GETATTR
PiperOrigin-RevId: 314629630 Change-Id: Iad90c91949e834b710a05136a86c689c93012fa4
This commit is contained in:
parent
c0b6b669e2
commit
10acce5990
@ -1386,6 +1386,7 @@ void TF_OperationGetAttrStringList(TF_Operation* oper, const char* attr_name,
|
||||
cpp_type v; \
|
||||
status->status = \
|
||||
tensorflow::GetNodeAttr(oper->node.attrs(), attr_name, &v); \
|
||||
if (!status->status.ok()) return; \
|
||||
*value = static_cast<c_type>(v); \
|
||||
} \
|
||||
void func##List(TF_Operation* oper, const char* attr_name, c_type* values, \
|
||||
|
@ -4877,9 +4877,6 @@ cuda_py_test(
|
||||
srcs = ["ops/control_flow_ops_test.py"],
|
||||
python_version = "PY3",
|
||||
shard_count = 2,
|
||||
tags = [
|
||||
"noasan", # b/158098804
|
||||
],
|
||||
deps = [
|
||||
":array_ops",
|
||||
":cond_v2",
|
||||
|
Loading…
Reference in New Issue
Block a user