Commit 04181795 authored by Igor Ganichev's avatar Igor Ganichev Committed by TensorFlower Gardener
Browse files

Add num_values argument to Tensor::DebugString()

Non-CPU Tensors cause a crash when DebugString() tries to access
their values. num_values can be used not to access the values or
print more than default of 3 during debugging.

PiperOrigin-RevId: 229581029
parent ff121319
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment