Home
last modified time | relevance | path

Searched refs:kChannelSize (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/image/
Dadjust_saturation_op.cc189 static const int kChannelSize = 3; in DoCompute() local
190 auto input_data = input->shaped<float, 2>({channel_count, kChannelSize}); in DoCompute()
192 auto output_data = output->shaped<float, 2>({channel_count, kChannelSize}); in DoCompute()
200 const float* p = input_data.data() + start_channel * kChannelSize; in DoCompute()
201 float* q = output_data.data() + start_channel * kChannelSize; in DoCompute()
209 p += kChannelSize; in DoCompute()
210 q += kChannelSize; in DoCompute()
Dadjust_hue_op.cc210 static const int kChannelSize = 3; in DoCompute() local
211 auto input_data = input->shaped<float, 2>({channel_count, kChannelSize}); in DoCompute()
213 auto output_data = output->shaped<float, 2>({channel_count, kChannelSize}); in DoCompute()
221 const float* p = input_data.data() + start_channel * kChannelSize; in DoCompute()
222 float* q = output_data.data() + start_channel * kChannelSize; in DoCompute()
241 p += kChannelSize; in DoCompute()
242 q += kChannelSize; in DoCompute()
/external/grpc-grpc/test/core/tsi/alts/frame_protector/
Dalts_frame_protector_test.cc30 const size_t kChannelSize = 32768; variable
77 static_cast<unsigned char*>(gpr_malloc(kChannelSize)); in alts_test_do_round_trip_check_frames()
97 static_cast<unsigned char*>(gpr_malloc(kChannelSize)); in alts_test_do_round_trip_check_frames()
/external/tensorflow/tensorflow/core/grappler/costs/
Dop_level_cost_estimator_test.cc2095 const int kChannelSize = 10; in TEST_F() local
2101 DescribeTensor4D(1, kImageDim, kImageDim, kChannelSize, in TEST_F()
2119 DescribeTensor4D(1, kImageDim, kImageDim, kChannelSize, in TEST_F()
2153 DescribeTensor4D(1, kImageDim, kImageDim, kChannelSize, in TEST_F()
2155 DescribeTensor4D(1, kOutputImageDim, kOutputImageDim, kChannelSize, in TEST_F()
2169 kComputeLerpCost * (kOutputImageDim * kOutputImageDim * kChannelSize); in TEST_F()
2192 kComputeLerpCost * (kOutputImageDim * kOutputImageDim * kChannelSize); in TEST_F()
2212 kChannelSize, op_context.op_info.add_outputs()); in TEST_F()
2223 (kLargeOutputImageDim * kLargeOutputImageDim * kChannelSize); in TEST_F()
2244 const int kChannelSize = 10; in TEST_F() local
[all …]