Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/framework/
Dtensor_util.cc273 const int64 num_proto_values = TypeHelper::NumValues(*tensor); in CompressRepeatedField() local
274 if (num_proto_values != num_tensor_values) { in CompressRepeatedField()
278 const T last_value = TypeHelper::GetValue(num_proto_values - 1, *tensor); in CompressRepeatedField()
280 for (int64 i = num_proto_values - 2; i >= 0 && last_index == 0; --i) { in CompressRepeatedField()
290 const int64 num_bytes_before = num_proto_values * sizeof(FieldType); in CompressRepeatedField()