Home
last modified time | relevance | path

Searched refs:MakeTupleShapeWithPtrs (Results 1 – 22 of 22) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/
Dshape_util_test.cc356 ShapeUtil::IsNestedTuple(ShapeUtil::MakeTupleShapeWithPtrs({&s32}))); in TEST()
358 ShapeUtil::IsNestedTuple(ShapeUtil::MakeTupleShapeWithPtrs({&nil}))); in TEST()
360 ShapeUtil::MakeTupleShapeWithPtrs({&s32, &s32}))); in TEST()
362 ShapeUtil::MakeTupleShapeWithPtrs({&s32, &nil}))); in TEST()
364 ShapeUtil::MakeTupleShapeWithPtrs({&nil, &s32}))); in TEST()
366 ShapeUtil::MakeTupleShapeWithPtrs({&nil, &nil}))); in TEST()
Dliteral_util.cc546 Literal literal(ShapeUtil::MakeTupleShapeWithPtrs(element_shapes)); in MakeTuple()
560 Literal literal(ShapeUtil::MakeTupleShapeWithPtrs(element_shapes)); in MakeTupleFromSlices()
574 Literal literal(ShapeUtil::MakeTupleShapeWithPtrs(element_shapes)); in MakeTupleOwned()
Dshape_util.h274 static Shape MakeTupleShapeWithPtrs(absl::Span<const Shape* const> shapes);
Dshape_util.cc406 /* static */ Shape ShapeUtil::MakeTupleShapeWithPtrs( in MakeTupleShapeWithPtrs() function in xla::ShapeUtil
Dliteral.cc1755 Literal literal(ShapeUtil::MakeTupleShapeWithPtrs(element_shapes), in MoveIntoTuple()
/external/tensorflow/tensorflow/compiler/xla/service/
Dall_reduce_combiner.cc84 ShapeUtil::MakeTupleShapeWithPtrs(operand_shapes), operands, reduction, in CombineAllReduces()
Drng_bit_generator_expander.cc116 ShapeUtil::MakeTupleShapeWithPtrs({&state_shape, &data_shape}), in ExpandInstruction()
Dreduce_scatter_combiner.cc88 ShapeUtil::MakeTupleShapeWithPtrs(output_shapes), operands, reduction, in CombineReduceScatters()
Dall_gather_combiner.cc80 ShapeUtil::MakeTupleShapeWithPtrs(output_shapes), operands, in CombineAllGathers()
Dall_to_all_decomposer.cc113 Shape all_to_all_shape = ShapeUtil::MakeTupleShapeWithPtrs( in ExpandInstruction()
Dsort_simplifier.cc80 : ShapeUtil::MakeTupleShapeWithPtrs(new_shapes); in RemoveUnusedOperandFromSort()
Dasync_collective_creator.cc91 ? ShapeUtil::MakeTupleShapeWithPtrs(operand_shapes) in Run()
Dconditional_simplifier.cc104 Shape tuple_shape = ShapeUtil::MakeTupleShapeWithPtrs(new_tuple_shapes); in TryRemoveUnusedConditionalOperands()
254 const Shape new_shape = ShapeUtil::MakeTupleShapeWithPtrs(new_tuple_shapes); in RemoveUnusedTupleElements()
Dshape_inference.cc1105 return ShapeUtil::MakeTupleShapeWithPtrs(operand_shapes); in InferVariadicOpShape()
1309 return ShapeUtil::MakeTupleShapeWithPtrs({&operand_shape, in InferBatchNormTrainingShape()
1610 return ShapeUtil::MakeTupleShapeWithPtrs( in InferBatchNormGradShape()
2069 input_shape = ShapeUtil::MakeTupleShapeWithPtrs(operand_shapes); in InferAllGatherStartShape()
2071 return ShapeUtil::MakeTupleShapeWithPtrs({&input_shape, &ag_shape}); in InferAllGatherStartShape()
2088 return ShapeUtil::MakeTupleShapeWithPtrs(operand_shapes); in InferAllReduceShape()
2201 return ShapeUtil::MakeTupleShapeWithPtrs( in InferCollectivePermuteStartShape()
2205 return ShapeUtil::MakeTupleShapeWithPtrs( in InferCollectivePermuteStartShape()
3783 : ShapeUtil::MakeTupleShapeWithPtrs(operand_shapes); in InferScatterShape()
Dwhile_loop_simplifier.cc84 ShapeUtil::MakeTupleShapeWithPtrs(new_while_tuple_elem_shapes); in RemoveDeadTupleIndices()
670 ShapeUtil::MakeTupleShapeWithPtrs(new_while_shape_elems); in TryRemoveConstantParams()
1026 ShapeUtil::MakeTupleShapeWithPtrs(flattened_shape_elems); in TryFlattenNestedTuples()
Dhlo_creation_utils_test.cc348 ShapeUtil::MakeTupleShapeWithPtrs({&input_shape1, &input_shape0}); in TEST_F()
Dhlo_instruction.cc1922 Shape tuple_shape = ShapeUtil::MakeTupleShapeWithPtrs(element_shapes); in CreateTuple()
/external/tensorflow/tensorflow/compiler/xla/client/lib/
Dapprox_topk.cc230 ShapeUtil::MakeTupleShapeWithPtrs(approx_output_shapes); in ApproxTopK()
/external/tensorflow/tensorflow/compiler/xla/service/spmd/
Dgather_scatter_handler.cc747 return ShapeUtil::MakeTupleShapeWithPtrs(element_shapes); in MaybeMakeTupleShape()
Ddot_handler.cc1479 ShapeUtil::MakeTupleShapeWithPtrs( in PartitionBaseCase()
1756 ShapeUtil::MakeTupleShapeWithPtrs( in PartitionBaseCase()
Dspmd_partitioner.cc2851 auto operand_shape = ShapeUtil::MakeTupleShapeWithPtrs(operand_shapes); in HandleSingleDevice()
/external/tensorflow/tensorflow/compiler/xla/client/
Dxla_builder.cc2353 ShapeUtil::MakeTupleShapeWithPtrs({&state_shape, &output_shape}), in RngBitGenerator()