Home
last modified time | relevance | path

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

12

/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> slice_sizes = {1}; in Compile() local
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dreverse_sequence_op.cc117 auto slice_sizes = input_shape.dim_sizes(); in Compile() local
Dgather_scatter_ops.cc38 std::vector<int64> slice_sizes; in Compile() local
Dfft_ops.cc61 absl::InlinedVector<int64, 4> slice_sizes = input_shape.dim_sizes(); in Compile() local
Dgather_op.cc123 std::vector<int64> slice_sizes; in XlaGather() local
Dstrided_slice_op.cc104 std::vector<int64> slice_sizes(input_shape.dims(), 1); in EmitDynamicSlice() local
/external/tensorflow/tensorflow/compiler/xla/client/lib/
Dslicing.cc215 std::vector<int64> slice_sizes(input_shape.rank(), 1); in TorchGather() local
278 std::vector<int64> slice_sizes = SpanToVector(input_shape.dimensions()); in TorchIndexSelect() local
Dmatrix.cc150 std::vector<int64> slice_sizes; in GetMatrixDiagonalViaGather() local
/external/tensorflow/tensorflow/compiler/xla/service/
Dgather_expander.cc234 absl::Span<const int64> slice_sizes, int64 gather_loop_trip_count, in CreateGatherLoopAccumulatorInitValue()
Dhlo_creation_utils.cc137 absl::Span<const int64> slice_sizes) { in MakeDynamicSliceHlo()
152 absl::Span<const int64> slice_sizes) { in MakeDynamicSliceHlo()
Dtriangular_solve_expander.cc76 std::vector<int64> slice_sizes(ndims); in DiagonalBlocks() local
Dhlo_instruction.cc626 std::vector<int64> slice_sizes(proto.dynamic_slice_sizes_size()); in CreateFromProto() local
1241 absl::Span<const int64> slice_sizes) { in CreateDynamicSlice()
1618 absl::Span<const int64> slice_sizes, bool indices_are_sorted) { in CreateGather()
4228 int64 HloInstruction::slice_sizes(int64 dimension) const { in slice_sizes() function in xla::HloInstruction
Dshape_inference.cc2475 absl::Span<const int64> slice_sizes, bool allow_scalar_indices) { in InferDynamicSliceShape()
3305 absl::Span<const int64> slice_sizes) { in InferGatherShape()
Dindexed_array_analysis.cc255 absl::Span<const int64> slice_sizes, Array* source, Array* indices) { in ComputeArrayForGather()
Dhlo_instructions.h1611 int64 slice_sizes(int64 dimension) const { in slice_sizes() function
/external/tensorflow/tensorflow/compiler/mlir/xla/
Dhlo_function_importer.cc353 std::vector<int64_t> slice_sizes( in ImportInstructionImpl() local
365 std::vector<int64_t> slice_sizes( in ImportInstructionImpl() local
/external/tensorflow/tensorflow/compiler/xla/tests/
Ddynamic_ops_test.cc120 const std::vector<int64>& slice_sizes, in RunR1()
151 const std::vector<int64>& slice_sizes, in RunR2()
186 const std::vector<int64>& slice_sizes, in RunR3()
/external/tensorflow/tensorflow/compiler/mlir/xla/ir/
Dmlir_hlo_builder.cc290 absl::Span<const int64> slice_sizes, bool indices_are_sorted) { in GatherInternal()
519 absl::Span<const int64> 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/tf2xla/python/
Dxla.py482 def gather(operand, start_indices, dimension_numbers, slice_sizes, argument
/external/tensorflow/tensorflow/compiler/mlir/xla/transforms/
Dlegalize_tf.cc335 auto slice_sizes = llvm::to_vector<4>(type.getShape()); in DynamicSliceInMinorDims() local
985 DenseIntElementsAttr slice_sizes) { in CanBeTranslatedToDynamicSlice()
1012 Value input, Value start_indices, DenseIntElementsAttr slice_sizes, in TFSliceSizes2HLOSliceSizes()
1634 Shape slice_sizes(input_shape.begin(), input_shape.end()); in matchAndRewrite() local
3251 SmallVector<int64_t, 4> slice_sizes(slicing_dim_size, 1); in rewriteWithUnknownBegin() local
5126 SmallVector<int64_t, 4> slice_sizes(input_shape.begin(), input_shape.end()); in matchAndRewrite() local
/external/tensorflow/tensorflow/compiler/xla/client/
Dxla_builder.cc996 absl::Span<const int64> slice_sizes) { in DynamicSlice()
1014 absl::Span<const int64> slice_sizes) { in DynamicSliceInternal()
2272 absl::Span<const int64> slice_sizes, in Gather()
2289 absl::Span<const int64> slice_sizes, bool indices_are_sorted) { in GatherInternal()
4168 absl::Span<const int64> slice_sizes) { in DynamicSlice()
4877 absl::Span<const int64> slice_sizes, bool indices_are_sorted) { in Gather()

12