Home
last modified time | relevance | path

Searched refs:begin_shape (Results 1 – 10 of 10) sorted by relevance

/external/tensorflow/tensorflow/lite/micro/kernels/
Dstrided_slice_test.cc59 void TestStridedSliceFloat(const int* input_shape, const int* begin_shape, in TestStridedSliceFloat() argument
68 TfLiteIntArray* begin_dims = IntArrayFromInts(begin_shape); in TestStridedSliceFloat()
91 const int* input_shape, const int* begin_shape, const int* end_shape, in TestStridedSliceQuantized() argument
97 TfLiteIntArray* begin_dims = IntArrayFromInts(begin_shape); in TestStridedSliceQuantized()
128 const int begin_shape[] = {1, 5}; in TF_LITE_MICRO_TEST() local
142 input_shape, begin_shape, end_shape, strides_shape, &builtin_data, in TF_LITE_MICRO_TEST()
149 const int begin_shape[] = {1, 1}; in TF_LITE_MICRO_TEST() local
163 input_shape, begin_shape, end_shape, strides_shape, &builtin_data, in TF_LITE_MICRO_TEST()
170 const int begin_shape[] = {1, 1}; in TF_LITE_MICRO_TEST() local
184 input_shape, begin_shape, end_shape, strides_shape, &builtin_data, in TF_LITE_MICRO_TEST()
[all …]
/external/tensorflow/tensorflow/lite/kernels/
Dslice_test.cc40 std::initializer_list<int> begin_shape, in SliceOpModel() argument
52 AddConstInput(GetTensorType<index_type>(), begin_data, begin_shape); in SliceOpModel()
58 BuildInterpreter({input_shape, begin_shape, size_shape}); in SliceOpModel()
Dstrided_slice_test.cc34 std::initializer_list<int> begin_shape, in StridedSliceOpModel() argument
49 BuildInterpreter({input_shape, begin_shape, end_shape, strides_shape}); in StridedSliceOpModel()
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/
Dprepare_tf.cc638 const ArrayRef<int64_t> begin_shape = begin_type.getShape(); in RewriteEllipsisMask() local
639 const int begin_dim = begin_shape.size(); in RewriteEllipsisMask()
643 const int ellipsis_filled_dim_size = input_size - begin_shape[0] + 1; in RewriteEllipsisMask()
685 for (; index < begin_shape[0];) { in RewriteEllipsisMask()
/external/tensorflow/tensorflow/compiler/mlir/lite/utils/
Dlstm_utils.cc129 ArrayRef<int64_t> begin_shape, in SliceRankedTensor() argument
147 CreateI64DenseConst(builder, begin_shape, begin_values, location); in SliceRankedTensor()
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dstrided_slice_op.cc199 const TensorShape begin_shape = ctx->InputShape("begin"); in Compile() local
201 ctx, begin_shape.dims() == 1, in Compile()
/external/tensorflow/tensorflow/core/ops/
Darray_ops.cc1706 ShapeHandle begin_shape, end_shape, strides_shape; in __anon42d741192502() local
1707 TF_RETURN_IF_ERROR(c->WithRank(c->input(1), 1, &begin_shape)); in __anon42d741192502()
1710 TF_RETURN_IF_ERROR(c->Merge(begin_shape, end_shape, &begin_shape)); in __anon42d741192502()
1711 TF_RETURN_IF_ERROR(c->Merge(begin_shape, strides_shape, &begin_shape)); in __anon42d741192502()
1712 DimensionHandle sparse_dims_dim = c->Dim(begin_shape, 0); in __anon42d741192502()
/external/tensorflow/tensorflow/core/framework/
Dcommon_shape_fns.cc2153 ShapeHandle begin_shape; in SliceShape() local
2154 TF_RETURN_IF_ERROR(c->WithRank(c->input(1), 1, &begin_shape)); in SliceShape()
2159 TF_RETURN_IF_ERROR(c->Merge(begin_shape, sizes_shape, &begin_shape)); in SliceShape()
2161 DimensionHandle ndims = c->Dim(begin_shape, 0); in SliceShape()
/external/tensorflow/tensorflow/lite/delegates/nnapi/
Dnnapi_delegate_test.cc2511 std::initializer_list<int> begin_shape, in StridedSliceOpModel() argument
2520 begin_ = AddConstInput(TensorType_INT32, begin_data, begin_shape); in StridedSliceOpModel()
2530 {input_shape, begin_shape, end_shape, strides_shape}); in StridedSliceOpModel()
/external/tensorflow/tensorflow/core/tpu/graph_rewrite/
Ddistributed_tpu_rewrite_pass.cc972 TensorShape begin_shape({shape.dims()}); in CreateSliceNode() local
973 begin_shape.AsProto(begin_tensor_proto.mutable_tensor_shape()); in CreateSliceNode()