Home
last modified time | relevance | path

Searched refs:element_shapes (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/
Dliteral_util.cc418 std::vector<Shape> element_shapes; in MakeTuple() local
420 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() local
433 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() local
445 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()
Dliteral.cc1447 std::vector<Shape> element_shapes; in MoveIntoTuple() local
1449 element_shapes.push_back(element.shape()); in MoveIntoTuple()
1451 Literal literal(ShapeUtil::MakeTupleShape(element_shapes), in MoveIntoTuple()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dlocal_client_execute_test.cc412 std::vector<Shape> element_shapes(kElementCount, element_shape); in XLA_TEST_F() local
413 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() local
453 const Shape inner_tuple_shape = ShapeUtil::MakeTupleShape(element_shapes); in XLA_TEST_F()
/external/tensorflow/tensorflow/core/kernels/
Dtensor_array_ops.cc1286 std::vector<TensorShape> element_shapes(num_tensors, tensor_value->shape()); in Compute() local
1288 element_shapes[i].set_dim(0, tensor_lengths_t(i)); in Compute()
1328 tensor_array->ElemType(), element_shapes[i], in Compute()
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_instruction.cc1298 std::vector<Shape> element_shapes; in CreateTuple() local
1300 element_shapes.push_back(element->shape()); in CreateTuple()
1302 Shape tuple_shape = ShapeUtil::MakeTupleShape(element_shapes); in CreateTuple()