Print node name in GatherNdSlice error msg.
PiperOrigin-RevId: 346726189 Change-Id: Idb251f7e8f8cd28fd2998bcecdd9b022f61dfd09
This commit is contained in:
parent
51cd440663
commit
c046c38f6f
@ -161,7 +161,8 @@ Status DoGatherNd(OpKernelContext* c, const Tensor& params,
|
||||
"indices", SliceDebugString(shape, bad_i), " = [",
|
||||
str_util::Join(
|
||||
gtl::ArraySlice<Index>(&indices_mat(bad_i, 0), indices_nd), ", "),
|
||||
"] does not index into param shape ", params.shape().DebugString());
|
||||
"] does not index into param shape ", params.shape().DebugString(),
|
||||
", node name: ", c->op_kernel().name());
|
||||
}
|
||||
}
|
||||
return Status::OK();
|
||||
|
Loading…
x
Reference in New Issue
Block a user