Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/xla/service/
Dzero_sized_hlo_elimination_test.cc86 Shape op_shape = ShapeUtil::MakeShape(F32, {4, 0}); in TEST_F() local
87 op_shape.clear_layout(); in TEST_F()
89 HloInstruction::CreateParameter(1, op_shape, "zero sized param 1")); in TEST_F()
91 HloInstruction::CreateParameter(2, op_shape, "zero sized param 2")); in TEST_F()
93 HloInstruction::CreateBinary(op_shape, HloOpcode::kAdd, param1, param2)); in TEST_F()
Dhlo_creation_utils.cc388 Shape op_shape = on_true->shape(); in MakeSelectHlo() local
390 if (!ShapeUtil::IsScalar(op_shape) && !op_shape.IsTuple()) { in MakeSelectHlo()
395 ShapeUtil::ChangeElementType(op_shape, PrimitiveType::PRED), pred, in MakeSelectHlo()
403 op_shape.IsTuple() ? HloOpcode::kTupleSelect : HloOpcode::kSelect; in MakeSelectHlo()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dxla_expression_test.cc101 TF_ASSERT_OK_AND_ASSIGN(TensorShape op_shape, in TEST_F()
103 EXPECT_EQ(TensorShape({}), op_shape); in TEST_F()
/external/tensorflow/tensorflow/compiler/xla/client/lib/
Dtridiagonal.cc37 Status CheckSecondToLastDimension(const Shape& op_shape, int64 rank, in CheckSecondToLastDimension() argument
39 const auto actual_num_dims = ShapeUtil::GetDimension(op_shape, rank - 2); in CheckSecondToLastDimension()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dir_emitter_unnested.cc5205 mlir::lmhlo::FusionOp fusion, const Shape& op_shape, in NumInputsInvolveInOnlyElementwiseOps() argument
5210 return ShapeUtil::SameDimensions(op_shape, parameter_shape) && in NumInputsInvolveInOnlyElementwiseOps()