Home
last modified time | relevance | path

Searched refs:span_size (Results 1 – 18 of 18) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Dscale_and_translate_op.cc62 spans->span_size = std::min( in ComputeSpansCore()
73 tensorflow::TensorShape({spans->span_size * output_size}), in ComputeSpansCore()
98 if (this_span_size > spans->span_size) { in ComputeSpansCore()
100 this_span_size, spans->span_size)); in ComputeSpansCore()
114 int out_index = spans->span_size * x; in ComputeSpansCore()
138 for (int j = 0; j < spans.span_size; ++j, ++input_index) { in ComputeGradSpansCore()
139 const float weight = weights_vec(output_index * spans.span_size + j); in ComputeGradSpansCore()
156 grad_spans->span_size = max_size; in ComputeGradSpansCore()
165 tensorflow::TensorShape({grad_spans->span_size * forward_input_size}), in ComputeGradSpansCore()
174 grad_weights_vec(input_index * grad_spans->span_size + gc.index - in ComputeGradSpansCore()
[all …]
Dscale_and_translate_op.h44 int span_size; member
/external/libtextclassifier/utils/sentencepiece/
Dsorted_strings_table.cc28 int span_size = right - left; in GatherPrefixMatches() local
34 while (span_size > use_linear_scan_threshold_) { in GatherPrefixMatches()
59 span_size = right - left; in GatherPrefixMatches()
60 if (span_size <= 0) { in GatherPrefixMatches()
/external/skia/modules/sksg/src/
DSkSGColorFilter.cpp148 span_size = span_stop - span_start; in MakeNColorGradient()
161 const float dR = (SkColorGetR(c1) - r) / span_size, in MakeNColorGradient()
162 dG = (SkColorGetG(c1) - g) / span_size, in MakeNColorGradient()
163 dB = (SkColorGetB(c1) - b) / span_size; in MakeNColorGradient()
/external/skia/src/compute/hs/cl/intel/
Dhs_cl_macros.h293 uint const span_size = span_stride * half_span * 2; \
294 uint const span_base = span_idx * span_size; \
/external/skqp/src/compute/hs/cl/intel/
Dhs_cl_macros.h293 uint const span_size = span_stride * half_span * 2; \
294 uint const span_base = span_idx * span_size; \
/external/skia/src/compute/hs/vk/
Dhs_glsl_macros.h323 const uint span_size = span_stride * half_span * 2; \
324 const uint span_base = span_idx * span_size; \
/external/skqp/src/compute/hs/cuda/sm_35/
Dhs_cuda_macros.h398 uint32_t const span_size = span_stride * half_span * 2; \
399 uint32_t const span_base = span_idx * span_size; \
/external/skia/src/compute/hs/cuda/sm_35/
Dhs_cuda_macros.h398 uint32_t const span_size = span_stride * half_span * 2; \
399 uint32_t const span_base = span_idx * span_size; \
/external/skqp/src/compute/hs/vk/
Dhs_glsl_macros.h323 const uint span_size = span_stride * half_span * 2; \
324 const uint span_base = span_idx * span_size; \
/external/skia/src/compute/hs/cl/intel/gen8/u32/
Dhs_kernels.pre.cl8316 uint const span_size = span_stride * 8 * 2;
8317 uint const span_base = span_idx * span_size;
8411 uint const span_size = span_stride * 8 * 2;
8412 uint const span_base = span_idx * span_size;
8518 uint const span_size = span_stride * 8 * 2;
8519 uint const span_base = span_idx * span_size;
8654 uint const span_size = span_stride * 8 * 2;
8655 uint const span_base = span_idx * span_size;
8858 uint const span_size = span_stride * 8 * 2;
8859 uint const span_base = span_idx * span_size;
/external/skqp/src/compute/hs/cl/intel/gen8/u32/
Dhs_kernels.pre.cl8316 uint const span_size = span_stride * 8 * 2;
8317 uint const span_base = span_idx * span_size;
8411 uint const span_size = span_stride * 8 * 2;
8412 uint const span_base = span_idx * span_size;
8518 uint const span_size = span_stride * 8 * 2;
8519 uint const span_base = span_idx * span_size;
8654 uint const span_size = span_stride * 8 * 2;
8655 uint const span_base = span_idx * span_size;
8858 uint const span_size = span_stride * 8 * 2;
8859 uint const span_base = span_idx * span_size;
/external/protobuf/src/google/protobuf/compiler/
Dparser.cc371 if (location_->span_size() <= 2) { in ~LocationRecorder()
/external/skqp/src/compute/hs/cl/intel/gen8/u64/
Dhs_kernels.pre.cl13898 uint const span_size = span_stride * 16 * 2;
13899 uint const span_base = span_idx * span_size;
14109 uint const span_size = span_stride * 16 * 2;
14110 uint const span_base = span_idx * span_size;
14332 uint const span_size = span_stride * 16 * 2;
14333 uint const span_base = span_idx * span_size;
14584 uint const span_size = span_stride * 16 * 2;
14585 uint const span_base = span_idx * span_size;
14904 uint const span_size = span_stride * 16 * 2;
14905 uint const span_base = span_idx * span_size;
[all …]
/external/skia/src/compute/hs/cl/intel/gen8/u64/
Dhs_kernels.pre.cl13898 uint const span_size = span_stride * 16 * 2;
13899 uint const span_base = span_idx * span_size;
14109 uint const span_size = span_stride * 16 * 2;
14110 uint const span_base = span_idx * span_size;
14332 uint const span_size = span_stride * 16 * 2;
14333 uint const span_base = span_idx * span_size;
14584 uint const span_size = span_stride * 16 * 2;
14585 uint const span_base = span_idx * span_size;
14904 uint const span_size = span_stride * 16 * 2;
14905 uint const span_base = span_idx * span_size;
[all …]
/external/protobuf/src/google/protobuf/
Ddescriptor.pb.cc13563 if (this->span_size() > 0) { in SerializeWithCachedSizes()
13567 for (int i = 0; i < this->span_size(); i++) { in SerializeWithCachedSizes()
13627 if (this->span_size() > 0) { in SerializeWithCachedSizesToArray()
13635 for (int i = 0; i < this->span_size(); i++) { in SerializeWithCachedSizesToArray()
13720 for (int i = 0; i < this->span_size(); i++) { in ByteSize()
14104 int SourceCodeInfo_Location::span_size() const { in span_size() function in google::protobuf::SourceCodeInfo_Location
Ddescriptor.pb.h3246 int span_size() const;
7229 inline int SourceCodeInfo_Location::span_size() const { in span_size() function
Ddescriptor_unittest.cc6602 ASSERT_EQ(3, foo_location.span_size()); // Foo spans one line in TEST_F()