Searched refs:orig_dim (Results 1 – 3 of 3) sorted by relevance
248 int orig_dim = traversal_order_[original_rank + block_dim]; in FormatConverter() local249 block_size_[block_dim] = sparsity.dim_metadata[orig_dim].dense_size; in FormatConverter()250 blocked_shape_[i] = shape[i] / sparsity.dim_metadata[orig_dim].dense_size; in FormatConverter()268 int orig_dim = traversal_order_[i]; in Populate() local269 orig_idx[orig_dim] = indices[i]; in Populate()274 const int orig_dim = block_map_[block_idx]; in Populate() local275 orig_idx[orig_dim] = in Populate()276 orig_idx[orig_dim] * block_size_[block_idx] + indices[i]; in Populate()
467 auto orig_dim = c->Value(orig_size_handle); in __anonbbc1c2d10302() local468 int64 new_dim = orig_dim + low + high; in __anonbbc1c2d10302()469 if (orig_dim > 0) { in __anonbbc1c2d10302()470 new_dim += interior * (orig_dim - 1); in __anonbbc1c2d10302()
4633 static int dimension_is_ok(int orig_dim, int resized_dim, int denom) { in dimension_is_ok() argument4634 return (resized_dim * SCALE_NUMERATOR >= orig_dim * denom / 2); in dimension_is_ok()