Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dresampler_ops.cc138 XlaOp Gather2by2Neighbors(xla::XlaBuilder* b, XlaOp data, XlaOp gather_indices, in Gather2by2Neighbors() argument
158 auto neighbors_data = xla::Gather(data, gather_indices, gather_dim_numbers, in Gather2by2Neighbors()
249 XlaOp gather_indices, XlaOp warp, in CalculateGradData() argument
315 xla::Add(gather_indices, shifting_value, {last_warp_dim}); in CalculateGradData()
360 XlaOp gather_indices, XlaOp data, in CalculateGradWarp() argument
388 xla::Add(gather_indices, shifting_value, {last_warp_dim}); in CalculateGradWarp()
519 auto gather_indices = ConcatenateIota(ctx->builder(), top_left, warp_shape); in Compile() local
523 ctx->builder(), data, gather_indices, data_channels, warp_shape.dims()); in Compile()
656 auto gather_indices = ConcatenateIota(ctx->builder(), top_left, warp_shape); in Compile() local
659 ctx, grad_output, ratio, gather_indices, warp, warp_type, warp_shape, in Compile()
[all …]
/external/tensorflow/tensorflow/lite/testing/op_tests/
Dgather_with_constant.py45 gather_indices = tf.constant([0, 1], tf.int32)
46 out = tf.equal(reference, tf.gather(gather_input, gather_indices))
/external/tensorflow/tensorflow/compiler/tests/
Dgather_test.py161 def _benchmarkGather(self, name, axis, gather_indices, use_xla_jit): argument
169 gather_indices, dtype=dtypes.int32, name='indices')
/external/tensorflow/tensorflow/compiler/xla/client/lib/
Dslicing.cc214 XlaOp gather_indices = ConcatInDim(builder, to_concat, input_shape.rank()); in TorchGather() local
222 return Gather(input, gather_indices, gather_dnums, slice_sizes); in TorchGather()
/external/tensorflow/tensorflow/compiler/xla/service/
Ddynamic_padder.cc645 HloInstruction* gather_indices = comp->AddInstruction( in RewriteDynamicReshapeCombineInput() local
677 output_shape, reshape_static, gather_indices, gather_dim_numbers, in RewriteDynamicReshapeCombineInput()