Searched refs:element_shapes (Results 1 – 5 of 5) sorted by relevance
418 std::vector<Shape> element_shapes; in MakeTuple() local420 element_shapes.push_back(element->shape()); in MakeTuple()422 Literal literal(ShapeUtil::MakeTupleShape(element_shapes)); in MakeTuple()431 std::vector<Shape> element_shapes; in MakeTupleFromSlices() local433 element_shapes.push_back(element.shape()); in MakeTupleFromSlices()435 Literal literal(ShapeUtil::MakeTupleShape(element_shapes)); in MakeTupleFromSlices()444 std::vector<Shape> element_shapes; in MakeTupleOwned() local445 element_shapes.reserve(elements.size()); in MakeTupleOwned()447 element_shapes.push_back(element.shape()); in MakeTupleOwned()449 Literal literal(ShapeUtil::MakeTupleShape(element_shapes)); in MakeTupleOwned()
1447 std::vector<Shape> element_shapes; in MoveIntoTuple() local1449 element_shapes.push_back(element.shape()); in MoveIntoTuple()1451 Literal literal(ShapeUtil::MakeTupleShape(element_shapes), in MoveIntoTuple()
412 std::vector<Shape> element_shapes(kElementCount, element_shape); in XLA_TEST_F() local413 const Shape tuple_shape = ShapeUtil::MakeTupleShape(element_shapes); in XLA_TEST_F()452 std::vector<Shape> element_shapes(kFanout, element_shape); in XLA_TEST_F() local453 const Shape inner_tuple_shape = ShapeUtil::MakeTupleShape(element_shapes); in XLA_TEST_F()
1286 std::vector<TensorShape> element_shapes(num_tensors, tensor_value->shape()); in Compute() local1288 element_shapes[i].set_dim(0, tensor_lengths_t(i)); in Compute()1328 tensor_array->ElemType(), element_shapes[i], in Compute()
1298 std::vector<Shape> element_shapes; in CreateTuple() local1300 element_shapes.push_back(element->shape()); in CreateTuple()1302 Shape tuple_shape = ShapeUtil::MakeTupleShape(element_shapes); in CreateTuple()