Home
last modified time | relevance | path

Searched refs:name_items (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/python/debug/lib/
Ddebug_gradients.py53 name_items = op_name.split("/")
54 assert len(name_items) > 1
55 assert name_items[-1].startswith(_GRADIENT_DEBUG_TAG)
57 grad_debugger_uuid = name_items[-1][len(_GRADIENT_DEBUG_TAG):]
60 orig_tensor_slot = int(name_items[-2][name_items[-2].rfind("_") + 1:])
61 orig_base_op_name = name_items[-2][:name_items[-2].rfind("_")]
62 orig_tensor_name = ("/".join(name_items[:-2] + [orig_base_op_name]) +
/external/tensorflow/tensorflow/core/debug/
Ddebug_grpc_testlib.cc48 std::vector<string> name_items = in SendEvents() local
51 const string node_name = name_items[0]; in SendEvents()
52 const string debug_op = name_items[2]; in SendEvents()
/external/tensorflow/tensorflow/core/kernels/
Ddebug_ops.h131 std::vector<string> name_items = str_util::Split(tensor_name, ':'); in BaseDebugOp() local
134 OP_REQUIRES(context, name_items.size() == 1 || name_items.size() == 2, in BaseDebugOp()
137 if (name_items.size() == 2) { in BaseDebugOp()
138 node_name = name_items[0]; in BaseDebugOp()
140 context, strings::safe_strto32(name_items[1], &output_slot), in BaseDebugOp()
142 name_items[1], "\"")); in BaseDebugOp()
143 } else if (name_items.size() == 1) { in BaseDebugOp()
144 node_name = name_items[0]; in BaseDebugOp()