Home
last modified time | relevance | path

Searched refs:ChangeElementType (Results 1 – 15 of 15) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_element_type_converter.cc40 Shape shape = ShapeUtil::ChangeElementType(hlo->shape(), type); in ToElementType()
73 subshape = ShapeUtil::ChangeElementType(subshape, to_type); in GetConvertedTupleShape()
187 ShapeUtil::ChangeElementType(hlo->shape(), replace_with_type_); in Run()
Ddynamic_padder.cc154 ShapeUtil::ChangeElementType(operand->shape(), xla::U32); in Run()
156 ShapeUtil::ChangeElementType(operand->shape(), xla::PRED); in Run()
Dreshape_mover.cc143 ShapeUtil::ChangeElementType(new_operand_shape, element_type); in UpdateOperand()
234 ShapeUtil::ChangeElementType(new_operand_shape, in PerformSinkReshapeOrTranspose()
Dshape_inference.cc283 return ShapeUtil::ChangeElementType( in InferUnaryOpShape()
339 return ShapeUtil::ChangeElementType(shape, PRED); in InferUnaryOpShape()
427 return ShapeUtil::ChangeElementType(operand_shape, new_element_type); in InferConvertShape()
457 return ShapeUtil::ChangeElementType(operand_shape, new_element_type); in InferBitcastConvertShape()
887 return ShapeUtil::ChangeElementType( in InferElementwiseBinaryOpShape()
965 return ShapeUtil::ChangeElementType(shape, C64); in InferBinaryOpShape()
967 return ShapeUtil::ChangeElementType(shape, C128); in InferBinaryOpShape()
988 return ShapeUtil::ChangeElementType(shape, PRED); in InferBinaryOpShape()
1862 Shape result = ShapeUtil::ChangeElementType(in, C64); in InferFftShape()
2757 return ShapeUtil::ChangeElementType(min, operand.element_type()); in InferClampShape()
[all …]
Dbfloat16_normalization.cc114 ShapeUtil::ChangeElementType(operand->shape(), to), operand)); in InsertConvertBeforeOperand()
250 ShapeUtil::ChangeElementType(*subshape, BF16), gte)); in HandleMultipleOutputs()
Dalgebraic_simplifier.cc291 ShapeUtil::ChangeElementType(hlo->shape(), element_type), hlo)); in AsType()
877 ShapeUtil::ChangeElementType(a->shape(), PRED), a, zero_like_a, in TryDivideToShift()
2430 ShapeUtil::ChangeElementType( in TryToSinkBroadcastAfterOpWithUniqueNonScalarOperand()
2443 ShapeUtil::ChangeElementType(operand->shape(), in TryToSinkBroadcastAfterOpWithUniqueNonScalarOperand()
2479 ShapeUtil::ChangeElementType(a->shape(), PRED), a, zero_like_a, in TryRemainderToAnd()
3266 ShapeUtil::ChangeElementType(pad_operand->shape(), in HandleReduceWindow()
Dalgebraic_simplifier_test.cc979 HloInstruction::CreateBinary(ShapeUtil::ChangeElementType(r2f32, C64), in TEST_F()
1003 HloInstruction::CreateBinary(ShapeUtil::ChangeElementType(r2f32, C64), in TEST_F()
3675 ShapeUtil::ChangeElementType(pad->shape(), F32), pad)); in TEST_F()
Dhlo_instruction.cc1122 Shape broadcast_shape = ShapeUtil::ChangeElementType( in CreateBroadcastSequence()
/external/tensorflow/tensorflow/compiler/xla/
Dshape_util.cc374 return ChangeElementType(complex_shape, primitive_util::ComplexComponentType( in ComplexComponentShape()
762 /* static */ Shape ShapeUtil::ChangeElementType(const Shape& original, in ChangeElementType() function in xla::ShapeUtil
Dshape_util.h338 static Shape ChangeElementType(const Shape& original, PrimitiveType type);
Dliteral_comparison.cc325 mismatches_ = Literal(ShapeUtil::ChangeElementType(actual_.shape(), PRED)); in Run()
Dliteral.cc1238 Literal result_literal(ShapeUtil::ChangeElementType( in ConvertBetweenNativeTypesWithConverter()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dtest_utils.cc122 Shape floating_point_shape = ShapeUtil::ChangeElementType( in PopulateWithComplexData()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dxla_op_kernel.cc287 xla::ShapeUtil::ChangeElementType(literal.shape(), xla::S64)); in ConstantInputAsInt64Literal()
/external/tensorflow/tensorflow/compiler/xla/client/
Dxla_builder.cc440 ShapeUtil::ChangeElementType(output_shape, operand_shape.element_type()); in AddBroadcastSequence()