HomeSort by relevance Sort by last modified time
    Searched refs:cdf_slice (Results 1 - 2 of 2) sorted by null

  /external/tensorflow/tensorflow/contrib/coder/kernels/
pmf_to_cdf_op_test.cc 78 TTypes<int32>::UnalignedConstVec cdf_slice(&cdf(i, 0), cdf.dimension(1));
80 for (int j = 1; j < cdf_slice.size(); ++j) {
81 const int32 diff = cdf_slice(j) - cdf_slice(j - 1);
85 EXPECT_EQ(cdf_slice(cdf_slice.size() - 1), normalizer);
range_coder_ops.cc 200 const int32* cdf_slice = pair.second; local
201 DCHECK_LE(cdf_slice + chip_size, cdf.data() + cdf_size);
203 const int32 lower = cdf_slice[index];
204 const int32 upper = cdf_slice[index + 1];
295 const int32* cdf_slice = pair.second; local
296 DCHECK_LE(cdf_slice + chip_size, cdf.data() + cdf_size);
298 *data = decoder.Decode(gtl::ArraySlice<int32>{cdf_slice, chip_size});

Completed in 218 milliseconds