Searched refs:output_layout_specs (Results 1 – 3 of 3) sorted by relevance
486 std::vector<std::string> output_layout_specs; in ComputeLayoutForward() local491 output_layout_specs.push_back(multiple == 1 in ComputeLayoutForward()497 Layout::GetLayout(output_layout_specs, mesh)); in ComputeLayoutForward()915 std::vector<std::string> output_layout_specs; in ComputeLayoutForward() local917 output_layout_specs.push_back(input_layout.sharding_spec(p)); in ComputeLayoutForward()921 Layout::GetLayout(output_layout_specs, input_layout.mesh())); in ComputeLayoutForward()1094 std::vector<std::string> output_layout_specs; in ComputeLayoutForward() local1098 output_layout_specs.push_back(Layout::kUnshardedDim); in ComputeLayoutForward()1100 output_layout_specs.push_back(indices_layout.sharding_spec(i)); in ComputeLayoutForward()1103 output_layout_specs.push_back(Layout::kUnshardedDim); in ComputeLayoutForward()[all …]
194 std::vector<std::string> output_layout_specs; in ComputeLayoutForward() local218 output_layout_specs.push_back(input_layout->sharding_spec(dim)); in ComputeLayoutForward()220 output_layout_specs.push_back(Layout::kUnshardedDim); in ComputeLayoutForward()230 Layout::GetLayout(output_layout_specs, mesh)); in ComputeLayoutForward()
208 std::vector<string> output_layout_specs; in GetBroadcastLayoutForElementWise() local258 output_layout_specs.emplace_back(Layout::kUnshardedDim); in GetBroadcastLayoutForElementWise()260 output_layout_specs.emplace_back( in GetBroadcastLayoutForElementWise()274 return Layout::GetLayout(output_layout_specs, layout_a.mesh()); in GetBroadcastLayoutForElementWise()