Home
last modified time | relevance | path

Searched refs:slice_s (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/core/util/
Dtensor_slice_util_test.cc46 TensorSlice slice_s = TensorSlice::ParseOrDie("1,2:1,3"); in TEST() local
53 EXPECT_TRUE(CopyDataFromTensorSliceToTensorSlice(shape, slice_s, slice_d, in TEST()
62 TensorSlice slice_s = TensorSlice::ParseOrDie("1,2:1,3"); in TEST() local
66 EXPECT_FALSE(CopyDataFromTensorSliceToTensorSlice(shape, slice_s, slice_d, in TEST()
89 TensorSlice slice_s = TensorSlice::ParseOrDie("0,3:0,3"); in TEST() local
96 EXPECT_TRUE(CopyDataFromTensorSliceToTensorSlice(shape, slice_s, slice_d, in TEST()
Dtensor_slice_reader.h166 const TensorSlice& slice_s = x.first; in CopySliceData() local
171 const string key = EncodeTensorNameSlice(name, slice_s); in CopySliceData()
174 << ", slice " << slice_s.DebugString() in CopySliceData()
181 << slice_s.DebugString() << ": computed key = " << key; in CopySliceData()
185 tss->shape(), slice_s, slice, in CopySliceData()
Dtensor_slice_util.h138 const TensorSlice& slice_s,
147 if (!slice_s.Intersect(slice_d, &inter)) {
155 s = slice_s.SliceTensorShape(shape, &shp_s);
169 slice_s.ComputeRelative(inter, &rel_s);