/external/tensorflow/tensorflow/core/kernels/ |
D | crop_and_resize_op_test.cc | 418 const int kHalf = (kLength + 1) / 2; // Half size for the cropped result. in TEST_F() local 430 AddInputFromArray<int32>(TensorShape({2}), {kHalf, kHalf}); in TEST_F() 439 Tensor result1(allocator(), DT_FLOAT, TensorShape({1, kHalf, kHalf, 1})); in TEST_F() 440 test::FillFn<float>(&result1, [](int i) -> float { return i % kHalf; }); in TEST_F() 446 Tensor result2(allocator(), DT_FLOAT, TensorShape({1, kHalf, kHalf, 1})); in TEST_F() 448 [](int i) -> float { return i % kHalf + kHalf - 1; }); in TEST_F() 451 Tensor expected(allocator(), DT_FLOAT, TensorShape({2, kHalf, kHalf, 1})); in TEST_F()
|
/external/skqp/src/core/ |
D | SkMaskBlurFilter.cpp | 198 static constexpr uint64_t kHalf = static_cast<uint64_t>(1) << 31; member in __anonacbeb4cd0111::PlanGauss::Scan 201 return SkTo<uint8_t>((fWeight * sum + kHalf) >> 32); in finalScale() 328 static constexpr uint16_t kHalf = 0x80u; variable 553 Sk8h d0{kHalf}, d8{kHalf}; in blur_row() 563 d8 = Sk8h{kHalf}; in blur_row() 695 *d12 = v1 + kHalf; in blur_y_radius_1() 712 *d34 = v2 + kHalf; in blur_y_radius_2() 732 *d56 = v3 + kHalf; in blur_y_radius_3() 755 *d78 = v4 + kHalf; in blur_y_radius_4() 769 Sk8h d01{kHalf}, d12{kHalf}, d23{kHalf}, d34{kHalf}, in blur_column() [all …]
|
/external/skia/src/core/ |
D | SkMaskBlurFilter.cpp | 198 static constexpr uint64_t kHalf = static_cast<uint64_t>(1) << 31; member in __anon824049760111::PlanGauss::Scan 201 return SkTo<uint8_t>((fWeight * sum + kHalf) >> 32); in finalScale() 328 static constexpr uint16_t kHalf = 0x80u; variable 553 Sk8h d0{kHalf}, d8{kHalf}; in blur_row() 563 d8 = Sk8h{kHalf}; in blur_row() 695 *d12 = v1 + kHalf; in blur_y_radius_1() 712 *d34 = v2 + kHalf; in blur_y_radius_2() 732 *d56 = v3 + kHalf; in blur_y_radius_3() 755 *d78 = v4 + kHalf; in blur_y_radius_4() 769 Sk8h d01{kHalf}, d12{kHalf}, d23{kHalf}, d34{kHalf}, in blur_column() [all …]
|
/external/skqp/src/gpu/ops/ |
D | GrQuadPerEdgeAA.h | 26 enum class ColorType { kNone, kByte, kHalf, kLast = kHalf }; enumerator
|
D | GrQuadPerEdgeAA.cpp | 405 bool wideColor = GrQuadPerEdgeAA::ColorType::kHalf == spec.colorType(); in Tessellate() 724 } else if (ColorType::kHalf == spec.colorType()) { in initializeAttrs()
|
D | GrFillRectOp.cpp | 179 fWideColor ? ColorType::kHalf : ColorType::kByte, in onPrepareDraws()
|
D | GrTextureOp.cpp | 357 VertexSpec vertexSpec(quadType, wideColor ? ColorType::kHalf : ColorType::kByte, in onPrepareDraws()
|
/external/skia/src/gpu/ops/ |
D | GrQuadPerEdgeAA.h | 26 enum class ColorType { kNone, kByte, kHalf, kLast = kHalf }; enumerator
|
D | GrQuadPerEdgeAA.cpp | 640 bool wide = spec.colorType() == GrQuadPerEdgeAA::ColorType::kHalf; in write_quad() 692 return ColorType::kHalf; in MinColorType() 1012 } else if (ColorType::kHalf == spec.colorType()) { in initializeAttrs()
|
D | GrFillRectOp.cpp | 155 if (fColorType == ColorType::kHalf && !caps.halfFloatVertexAttributeSupport()) { in finalize()
|
/external/tensorflow/tensorflow/stream_executor/ |
D | dnn.proto | 10 kHalf = 2; enumerator
|
D | dnn.h | 111 static constexpr DataType value = DataType::kHalf;
|
D | stream.cc | 187 case dnn::DataType::kHalf: in ToVlogString()
|
/external/skqp/gm/ |
D | bleed.cpp | 123 constexpr uint8_t kHalf = 0x80; in make_ringed_alpha_bitmap() local 127 kPremul_SkAlphaType, kZero, kOne, k3Q, kHalf); in make_ringed_alpha_bitmap()
|
/external/skia/gm/ |
D | bleed.cpp | 123 constexpr uint8_t kHalf = 0x80; in make_ringed_alpha_bitmap() local 127 kPremul_SkAlphaType, kZero, kOne, k3Q, kHalf); in make_ringed_alpha_bitmap()
|
/external/skia/src/sksl/ |
D | SkSLSPIRVCodeGenerator.h | 67 kHalf, enumerator
|
D | SkSLSPIRVCodeGenerator.cpp | 2460 type = ConstantType::kHalf; in writeFloatLiteral()
|
/external/tensorflow/tensorflow/stream_executor/cuda/ |
D | cuda_dnn.cc | 852 case dnn::DataType::kHalf: in ToCudnnDataType() 2568 case dnn::DataType::kHalf: in GetRnnComputeType() 2584 case dnn::DataType::kHalf: in GetConvAccumulatorType() 2587 : dnn::DataType::kHalf; in GetConvAccumulatorType() 3213 stream, dnn::DataType::kHalf, dnn::DataType::kFloat, x, scale, offset, in DoBatchNormalizationForward() 3411 GetConvAccumulatorType(dnn::DataType::kHalf), scratch_allocator, in DoFusedConvolve()
|
/external/tensorflow/tensorflow/stream_executor/rocm/ |
D | rocm_dnn.cc | 1539 case dnn::DataType::kHalf: in ToMIOpenDataType() 1612 case dnn::DataType::kHalf: in GetConvAccumulatorType() 3009 stream, dnn::DataType::kHalf, dnn::DataType::kFloat, x, scale, offset, in DoBatchNormalizationForward()
|