Searched refs:_flatten_first_two_dims (Results 1 – 2 of 2) sorted by relevance
112 def _flatten_first_two_dims(x): function370 _flatten_first_two_dims(y) for y in tiled_output_tensors]
1727 def _flatten_first_two_dims(x): function1750 inp = _flatten_first_two_dims(inp)1822 inp = _flatten_first_two_dims(inp)2125 sorted_inputs = _flatten_first_two_dims(pfor_input.stacked_input(0))2126 values = _flatten_first_two_dims(pfor_input.stacked_input(1))2573 x = _flatten_first_two_dims(x)2574 y = _flatten_first_two_dims(y)2745 data = _flatten_first_two_dims(data)2773 grad = _flatten_first_two_dims(grad)3137 flattened_logits = _flatten_first_two_dims(logits)[all …]