Home
last modified time | relevance | path

Searched refs:indices_type (Results 1 – 9 of 9) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Dunsorted_segment_join_op.cc152 #define REGISTER_CPU_KERNEL(indices_type, num_segments_type) \ argument
156 .TypeConstraint<indices_type>("Tindices") \
158 UnsortedSegmentJoinOp<indices_type, num_segments_type>);
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dsoftmax_op.cc197 const DataType indices_type = input_type(1); in Compile() local
216 xla::And(xla::Le(XlaHelpers::Zero(builder, indices_type), indices), in Compile()
218 builder, indices_type, depth))), in Compile()
Dgather_op.cc273 DataType indices_type = context->input_type(1); in Compile() local
297 indices_type, builder, &gather)); in Compile()
Dtensor_list_ops.cc332 DataType indices_type = ctx->input_type(1); in Compile() local
351 /*indices_are_nd=*/false, dtype_, indices_type, in Compile()
/external/tensorflow/tensorflow/lite/kernels/
Done_hot_test.cc34 T off_value = 0, TensorType indices_type = TensorType_INT32) { in OneHotOpModel() argument
35 indices_ = AddInput(indices_type); in OneHotOpModel()
/external/tensorflow/tensorflow/compiler/mlir/lite/ir/
Dtfl_ops.cc614 auto indices_type = indices.getType().cast<TensorType>(); in BuildGatherOp() local
617 if (!params_type.hasRank() || !indices_type.hasRank()) in BuildGatherOp()
623 int64_t indices_rank = indices_type.getRank(); in BuildGatherOp()
648 std::copy(std::begin(indices_type.getShape()), in BuildGatherOp()
649 std::end(indices_type.getShape()), std::begin(shape) + axis_i); in BuildGatherOp()
659 std::copy(std::begin(indices_type.getShape()), in BuildGatherOp()
660 std::end(indices_type.getShape()), std::begin(shape) + axis_i); in BuildGatherOp()
/external/tensorflow/tensorflow/compiler/xla/service/
Dalgebraic_simplifier.cc1605 auto indices_type = dynamic_slice->operand(1)->shape().element_type(); in OptimizeDotOfGather() local
1606 Shape s_shape = ShapeUtil::MakeShape(indices_type, {1}); in OptimizeDotOfGather()
1608 Shape d_shape = ShapeUtil::MakeShape(indices_type, {2}); in OptimizeDotOfGather()
/external/tensorflow/tensorflow/lite/toco/
Dexport_tensorflow.cc1798 const tensorflow::DataType indices_type = in ConvertReduceOperator() local
1800 (*new_op->mutable_attr())["Tidx"].set_type(indices_type); in ConvertReduceOperator()
/external/tensorflow/tensorflow/compiler/mlir/xla/transforms/
Dlegalize_tf.cc3293 auto indices_type = in matchAndRewrite() local
3296 op.getLoc(), indices_type, rewriter.getI64IntegerAttr(first_dim_size)); in matchAndRewrite()