Home
last modified time | relevance | path

Searched refs:other_shape (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/
Dshape_layout.cc25 Status ShapeLayout::CopyLayoutFromShape(const Shape& other_shape) { in CopyLayoutFromShape() argument
26 if (!ShapeUtil::Compatible(other_shape, shape_)) { in CopyLayoutFromShape()
28 ShapeUtil::HumanString(other_shape), in CopyLayoutFromShape()
31 shape_ = other_shape; in CopyLayoutFromShape()
Dshape_layout.h53 Status CopyLayoutFromShape(const Shape& other_shape);
Dlayout_util_test.cc41 Shape other_shape = in TEST_F() local
58 Shape other_tuple2 = ShapeUtil::MakeTupleShape({shape, other_shape}); in TEST_F()
/external/tensorflow/tensorflow/core/kernels/mlir_generated/
Dbase_binary_ops_test.h160 const TensorShape& other_shape, in TestOneScalar() argument
166 CHECK(other_input.size() <= other_shape.num_elements() && in TestOneScalar()
169 test::RepeatInputToMatchShape(other_input, other_shape.num_elements()); in TestOneScalar()
184 other_shape, repeated_other_input, in TestOneScalar()
185 /*expected_shape=*/other_shape, expected_output, in TestOneScalar()
192 const TensorShape& other_shape, in TestOneEffectiveScalar() argument
199 CHECK(other_input.size() <= other_shape.num_elements() && in TestOneEffectiveScalar()
202 test::RepeatInputToMatchShape(other_input, other_shape.num_elements()); in TestOneEffectiveScalar()
216 TensorShape expected_shape = other_shape; in TestOneEffectiveScalar()
221 op_name, effective_scalar_shape, scalar_input_vector, other_shape, in TestOneEffectiveScalar()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dcpu_layout_assignment_test.cc220 Shape other_shape = ShapeUtil::MakeShapeWithLayout(F32, {100, 24}, {0, 1}); in TEST_F() local
222 auto constant_shape = ShapeUtil::MakeTupleShape({other_shape, rhs_shape}); in TEST_F()
/external/tensorflow/tensorflow/core/common_runtime/eager/
Dtensor_handle.cc599 TensorShape other_shape; in CopyInferenceShape() local
600 TF_RETURN_IF_ERROR(other->Shape(&other_shape)); in CopyInferenceShape()
601 inference_shape_ = other_shape; in CopyInferenceShape()
/external/tensorflow/tensorflow/compiler/xla/service/spmd/
Ddot_handler.cc1912 bool lhs_matching, const Shape& output_base_shape, const Shape& other_shape, in GetNonContractingPartitionGroupedShardingForOtherOperand() argument
1947 ShapeUtil::ByteSizeOf(other_shape)) <= in GetNonContractingPartitionGroupedShardingForOtherOperand()