HomeSort by relevance Sort by last modified time
    Searched refs:slice_s (Results 1 - 3 of 3) sorted by null

  /external/tensorflow/tensorflow/core/util/
tensor_slice_util_test.cc 46 TensorSlice slice_s = TensorSlice::ParseOrDie("1,2:1,3"); local
53 EXPECT_TRUE(CopyDataFromTensorSliceToTensorSlice(shape, slice_s, slice_d,
62 TensorSlice slice_s = TensorSlice::ParseOrDie("1,2:1,3"); local
66 EXPECT_FALSE(CopyDataFromTensorSliceToTensorSlice(shape, slice_s, slice_d,
89 TensorSlice slice_s = TensorSlice::ParseOrDie("0,3:0,3"); local
96 EXPECT_TRUE(CopyDataFromTensorSliceToTensorSlice(shape, slice_s, slice_d,
tensor_slice_reader.h 166 const TensorSlice& slice_s = x.first; local
171 const string key = EncodeTensorNameSlice(name, slice_s);
174 << ", slice " << slice_s.DebugString()
181 << slice_s.DebugString() << ": computed key = " << key;
185 tss->shape(), slice_s, slice,
tensor_slice_util.h 128 // Given a tensor described by "shape", two slices "slice_s" and "slice_d",
130 // memory that stores the data for "slice_s" and "ptr_d" points to a chunk of
132 // that belongs to the intersection of the two slices from slice_s to
138 const TensorSlice& slice_s,
147 if (!slice_s.Intersect(slice_d, &inter)) {
151 // We need to compute the applied shapes after applying slice_s and
155 s = slice_s.SliceTensorShape(shape, &shp_s);
166 // We need to compute the relative slice of "inter" w.r.t. both slice_s and
169 slice_s.ComputeRelative(inter, &rel_s);

Completed in 121 milliseconds