Home
last modified time | relevance | path

Searched refs:hlo_shape (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dcpu_instruction_fusion.cc46 const Shape& hlo_shape = hlo->shape(); in IsNonComplexNonBatchedMatrixVectorDot() local
47 return !ShapeUtil::ElementIsComplex(hlo_shape) && in IsNonComplexNonBatchedMatrixVectorDot()
48 hlo->opcode() == HloOpcode::kDot && hlo_shape.dimensions_size() <= 1 && in IsNonComplexNonBatchedMatrixVectorDot()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dhlo_to_ir_bindings.cc159 const Shape& hlo_shape = hlo.shape(); in BindHloToIrValue() local
164 InsertOrDie(&base_ptrs_, &hlo, ShapeTree<llvm::Value*>(hlo_shape, nullptr)); in BindHloToIrValue()
/external/tensorflow/tensorflow/compiler/xla/service/spmd/
Dspmd_partitioner_util.cc428 auto hlo_shape = hlo->shape(); in TileToPartialReplicateHaloExchange() local
1263 const Shape& hlo_shape = hlo->shape(); in SliceFirstK() local
1264 auto hlo_dims = hlo_shape.dimensions(); in SliceFirstK()
1265 std::vector<int64> start_indices(hlo_shape.dimensions_size(), 0); in SliceFirstK()
1267 std::vector<int64> strides(hlo_shape.dimensions_size(), 1); in SliceFirstK()
1269 auto output_shape = hlo_shape; in SliceFirstK()