Home
last modified time | relevance | path

Searched defs:slice_sizes (Results 1 – 25 of 38) sorted by relevance

12

/external/tensorflow/tensorflow/compiler/xla/service/spmd/
Dgather_scatter_handler.cc171 absl::Span<const int64_t> slice_sizes, SpmdPartitioningVisitor* visitor) { in PartitionGatherIndexPassthroughPartition()
273 absl::Span<const int64_t> slice_sizes, PartitionedHlo& operand, in PartitionGatherPassthroughOperand()
377 absl::Span<const int64_t> slice_sizes, PartitionedHlo& operand, in PartitionGatherTrivialIndexedOperandDimension()
488 absl::Span<const int64_t> slice_sizes, PartitionedHlo& operand, in PartitionGatherIndexParallelDimensions()
641 absl::Span<const int64_t> slice_sizes, SpmdPartitioningVisitor* visitor) { in PartitionGather()
777 absl::Span<const int64_t> slice_sizes, SpmdPartitioningVisitor* visitor) { in PartitionScatterPassthroughOperand()
816 absl::Span<const int64_t> slice_sizes, SpmdPartitioningVisitor* visitor) { in PartitionScatterIndexPassthroughPartition()
955 absl::Span<const int64_t> slice_sizes, SpmdPartitioningVisitor* visitor) { in PartitionScatterTrivialIndexedOperandDimension()
1011 absl::Span<const int64_t> slice_sizes, SpmdPartitioningVisitor* visitor) { in PartitionScatter()
1082 std::vector<int64_t> slice_sizes = hlo_sharding_util::GetScatterSliceSize( in HandleScatter() local
/external/tensorflow/tensorflow/core/kernels/
Dsplit_lib_cpu.cc32 const Eigen::DSizes<Eigen::DenseIndex, NDims>& slice_sizes) { in operator ()()
Dsplit_lib_gpu.cu.cc37 const Eigen::DSizes<Eigen::DenseIndex, NDims>& slice_sizes) { in operator ()()
46 const Eigen::DSizes<Eigen::DenseIndex, 2>& slice_sizes) { in operator ()()
Dsplit_op.cc166 Eigen::DSizes<Eigen::DenseIndex, NDims> slice_sizes; in operator ()() local
/external/tensorflow/tensorflow/core/tpu/kernels/xla/
Dget_item_op.cc55 std::vector<int64_t> slice_sizes = {1}; in Compile() local
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dreverse_sequence_op.cc118 auto slice_sizes = input_shape.dim_sizes(); in Compile() local
Dgather_scatter_ops.cc38 std::vector<int64_t> slice_sizes; in Compile() local
Dfft_ops.cc62 absl::InlinedVector<int64_t, 4> slice_sizes = input_shape.dim_sizes(); in Compile() local
Dgather_op.cc124 std::vector<int64_t> slice_sizes; in XlaGather() local
/external/tensorflow/tensorflow/compiler/xla/service/
Dgather_simplifier.cc61 auto slice_sizes = Permute(gather->gather_slice_sizes(), operand_permutation); in ExpandInstruction() local
Dgather_expander.cc236 absl::Span<const int64_t> slice_sizes, int64_t gather_loop_trip_count, in CreateGatherLoopAccumulatorInitValue()
Dhlo_instruction.cc583 std::vector<std::vector<int64_t>> slice_sizes; in CreateFromProto() local
799 std::vector<int64_t> slice_sizes(proto.dynamic_slice_sizes_size()); in CreateFromProto() local
844 const auto& slice_sizes = proto.gather_slice_sizes(); in CreateFromProto() local
1336 absl::Span<const std::vector<int64_t>> slice_sizes, in CreateCollectivePermute()
1358 absl::Span<const std::vector<int64_t>> slice_sizes, in CreateCollectivePermuteStart()
1516 absl::Span<const int64_t> slice_sizes) { in CreateDynamicSlice()
1929 absl::Span<const int64_t> slice_sizes, bool indices_are_sorted) { in CreateGather()
4804 int64_t HloInstruction::slice_sizes(int64_t dimension) const { in slice_sizes() function in xla::HloInstruction
Dhlo_creation_utils.cc163 absl::Span<const int64_t> slice_sizes, const OpMetadata* metadata) { in MakeDynamicSliceHlo()
180 absl::Span<const int64_t> slice_sizes, const OpMetadata* metadata) { in MakeDynamicSliceHlo()
Dtriangular_solve_expander.cc71 std::vector<int64_t> slice_sizes(ndims); in DiagonalBlocks() local
Dhlo_instructions.cc1002 absl::Span<const std::vector<int64_t>> slice_sizes, in HloCollectivePermuteInstruction()
1047 for (const auto& slice_sizes : dynamic_slice_sizes_list()) { in ExtraAttributesToStringImpl() local
2971 absl::Span<const int64_t> slice_sizes) in HloDynamicSliceInstruction()
2981 absl::Span<const int64_t> slice_sizes) in HloDynamicSliceInstruction()
3050 absl::Span<const int64_t> slice_sizes, bool indices_are_sorted) in HloGatherInstruction()
Dshape_inference.cc2592 absl::Span<const int64_t> slice_sizes, bool allow_scalar_indices) { in InferDynamicSliceShape()
3424 absl::Span<const int64_t> slice_sizes) { in InferGatherShape()
Dindexed_array_analysis.cc260 absl::Span<const int64_t> slice_sizes, Array* source, Array* indices) { in ComputeArrayForGather()
/external/tensorflow/tensorflow/compiler/xla/client/lib/
Dslicing.cc216 std::vector<int64_t> slice_sizes(input_shape.rank(), 1); in TorchGather() local
282 std::vector<int64_t> slice_sizes = SpanToVector(input_shape.dimensions()); in TorchIndexSelect() local
Dmatrix.cc151 std::vector<int64_t> slice_sizes; in GetMatrixDiagonalViaGather() local
/external/tensorflow/tensorflow/compiler/xla/tests/
Ddynamic_ops_test.cc119 const std::vector<int64_t>& slice_sizes, in RunR1()
150 const std::vector<int64_t>& slice_sizes, in RunR2()
185 const std::vector<int64_t>& slice_sizes, in RunR3()
/external/tensorflow/tensorflow/compiler/mlir/xla/ir/
Dmlir_hlo_builder.cc384 absl::Span<const int64_t> slice_sizes, bool indices_are_sorted) { in GatherInternal()
664 absl::Span<const int64_t> slice_sizes) { in DynamicSliceInternal()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dcollection_ops_util.cc303 auto slice_sizes = GetR1Const(per_slice_shape, builder, loc); in ScatterAccumulateElements() local
/external/tensorflow/tensorflow/compiler/mlir/xla/
Dhlo_function_importer.cc698 std::vector<int64_t> slice_sizes( in ImportInstructionImpl() local
712 std::vector<int64_t> slice_sizes( in ImportInstructionImpl() local
/external/tensorflow/tensorflow/compiler/tf2xla/python/
Dxla.py571 def gather(operand, start_indices, dimension_numbers, slice_sizes, argument
/external/tensorflow/tensorflow/compiler/mlir/xla/transforms/
Dlegalize_tf.cc266 auto slice_sizes = llvm::to_vector<4>(type.getShape()); in DynamicSliceInMinorDims() local
869 DenseIntElementsAttr slice_sizes) { in CanBeTranslatedToDynamicSlice()
896 Value input, Value start_indices, DenseIntElementsAttr slice_sizes, in TFSliceSizes2HLOSliceSizes()
1501 SmallVector<int64_t, 4> slice_sizes; in matchAndRewrite() local
2034 Shape slice_sizes(input_shape.begin(), input_shape.end()); in matchAndRewrite() local
3736 SmallVector<int64_t, 4> slice_sizes; in rewriteWithUnknownBegin() local
5958 SmallVector<int64_t, 4> slice_sizes(input_shape.begin(), input_shape.end()); in matchAndRewrite() local

12