/external/tensorflow/tensorflow/core/kernels/ |
cwise_op_minimum.cc | 19 REGISTER6(BinaryOp, CPU, "Minimum", functor::minimum, float, Eigen::half, 22 REGISTER4(BinaryOp, GPU, "Minimum", functor::minimum, float, Eigen::half,
|
cwise_op_not_equal_to_1.cc | 19 REGISTER7(BinaryOp, CPU, "NotEqual", functor::not_equal_to, float, Eigen::half, 22 REGISTER4(BinaryOp, GPU, "NotEqual", functor::not_equal_to, float, Eigen::half,
|
cwise_op_sign.cc | 20 complex64, Eigen::half, complex128); 22 REGISTER6(UnaryOp, GPU, "Sign", functor::sign, float, Eigen::half, double,
|
cwise_op_square.cc | 19 REGISTER8(UnaryOp, CPU, "Square", functor::square, float, Eigen::half, double, 23 REGISTER4(UnaryOp, GPU, "Square", functor::square, float, Eigen::half, double,
|
cwise_op_squared_difference.cc | 20 float, Eigen::half, double, int32, int64, complex64, complex128); 23 float, Eigen::half, double, int64);
|
cwise_op_add_1.cc | 19 REGISTER6(BinaryOp, CPU, "Add", functor::add, float, Eigen::half, double, int32, 21 REGISTER6(BinaryOp, CPU, "AddV2", functor::add, float, Eigen::half, double, 25 REGISTER3(BinaryOp, GPU, "Add", functor::add, float, Eigen::half, double); 26 REGISTER3(BinaryOp, GPU, "AddV2", functor::add, float, Eigen::half, double);
|
relu_op_gpu.cu.cc | 37 __global__ void ReluGradHalfKernel(const Eigen::half* gradient, 38 const Eigen::half* feature, 39 Eigen::half* backprop, int32 count) { 76 Eigen::half grad_h = gradient[count - 1]; 77 Eigen::half feature_h = feature[count - 1]; 83 Eigen::half backprop_h(backprop_f); 89 struct ReluGrad<Device, Eigen::half> { 97 typename TTypes<Eigen::half>::ConstTensor gradient, 98 typename TTypes<Eigen::half>::ConstTensor feature, 99 typename TTypes<Eigen::half>::Tensor backprop) [all...] |
mkl_cwise_ops_common.cc | 70 REGISTER5(MklBinaryOp, CPU, "_MklAdd", functor::add, float, Eigen::half, double, 72 REGISTER7(MklBinaryOp, CPU, "_MklSub", functor::sub, float, Eigen::half, double, 74 REGISTER5(MklBinaryOp, CPU, "_MklMul", functor::mul, float, Eigen::half, double, 76 REGISTER5(MklBinaryOp, CPU, "_MklMaximum", functor::maximum, float, Eigen::half, 79 functor::squared_difference, float, Eigen::half, double, int32,
|
/external/tensorflow/tensorflow/compiler/xla/ |
array3d_test.cc | 73 Array3D<Eigen::half> arr = { 83 EXPECT_EQ(arr(0, 0, 0), static_cast<Eigen::half>(1)); 84 EXPECT_EQ(arr(0, 0, 1), static_cast<Eigen::half>(2)); 85 EXPECT_EQ(arr(0, 1, 0), static_cast<Eigen::half>(3)); 86 EXPECT_EQ(arr(0, 3, 1), static_cast<Eigen::half>(8)); 87 EXPECT_EQ(arr(1, 0, 0), static_cast<Eigen::half>(9)); 88 EXPECT_EQ(arr(1, 1, 1), static_cast<Eigen::half>(12)); 89 EXPECT_EQ(arr(2, 0, 0), static_cast<Eigen::half>(17)); 90 EXPECT_EQ(arr(2, 1, 1), static_cast<Eigen::half>(20)); 91 EXPECT_EQ(arr(2, 2, 0), static_cast<Eigen::half>(21)) [all...] |
/external/tensorflow/tensorflow/compiler/xla/client/lib/ |
constants.cc | 47 return ConstantR0<Eigen::half>( 49 static_cast<Eigen::half>(Eigen::NumTraits<Eigen::half>::epsilon())); 70 return ConstantR0<Eigen::half>(builder, 71 Eigen::NumTraits<Eigen::half>::lowest()); 86 return ConstantR0<Eigen::half>(builder, 87 std::numeric_limits<Eigen::half>::min()); 108 return ConstantR0<Eigen::half>(builder, 109 Eigen::NumTraits<Eigen::half>::highest()); 125 return ConstantR0<Eigen::half>( [all...] |
/external/eigen/test/ |
sparseLM.cpp | 38 int half = n/2; local 39 VectorBlock<const VectorType> u(uv, 0, half); 40 VectorBlock<const VectorType> v(uv, half, half); 44 for (int i = 0; i < half; i++) 65 int half = n/2; local 66 VectorBlock<const VectorType> u(uv, 0, half); 67 VectorBlock<const VectorType> v(uv, half, half); 72 for (int i = 0; i < half; i++ 90 int half = n\/2; local [all...] |
denseLM.cpp | 39 int half = n/2; local 40 VectorBlock<const VectorType> u(uv, 0, half); 41 VectorBlock<const VectorType> v(uv, half, half); 44 for (int i = 0; i < half; i++) 64 int half = n/2; local 65 VectorBlock<const VectorType> u(uv, 0, half); 66 VectorBlock<const VectorType> v(uv, half, half); 70 for (int i = 0; i < half; i++ 85 int half = n\/2; local [all...] |
/external/grpc-grpc/test/core/util/ |
passthru_endpoint.cc | 45 } half; typedef in typeref:struct:__anon23398 52 half client; 53 half server; 58 half* m = reinterpret_cast<half*>(ep); 73 static half* other_half(half* h) { 80 half* m = other_half(reinterpret_cast<half*>(ep)); 111 half* m = reinterpret_cast<half*>(ep) [all...] |
/external/tensorflow/tensorflow/contrib/image/kernels/ |
image_ops_gpu.cu.cc | 35 template class FillProjectiveTransform<GPUDevice, Eigen::half>;
|
/external/swiftshader/src/System/ |
Half.hpp | 23 class half class in namespace:sw 26 half() = default; 27 explicit half(float f); 31 half &operator=(half h); 32 half &operator=(float f); 38 inline half shortAsHalf(short s) 42 half h; 101 void toRGB16F(half rgb[3]) const 106 rgb[0] = half(R * factor) [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/ |
TestStep.rs | 44 half __attribute__((kernel)) testStepHalfHalfHalf(half inEdge, unsigned int x) { 45 half inV = rsGetElementAt_half(gAllocInV, x); 80 half inV = rsGetElementAt_half(gAllocInV, x); 85 half inV = rsGetElementAt_half(gAllocInV, x); 90 half inV = rsGetElementAt_half(gAllocInV, x); 109 half2 __attribute__((kernel)) testStepHalfHalf2Half2(half inEdge, unsigned int x) { 114 half3 __attribute__((kernel)) testStepHalfHalf3Half3(half inEdge, unsigned int x) { 119 half4 __attribute__((kernel)) testStepHalfHalf4Half4(half inEdge, unsigned int x) {
|
/external/skqp/src/gpu/effects/ |
GrRectBlurEffect.fp | 39 uniform half profileSize; 91 // We promote the rect uniform from half to float when it has large values for 126 half hcoord = ((abs(translatedPos.x - 0.5 * width) - 0.5 * wh.x)) / profileSize; 127 half hlookup = texture(blurProfile, float2(hcoord, 0.5)).a; 128 half vcoord = ((abs(translatedPos.y - 0.5 * height) - 0.5 * wh.y)) / profileSize; 129 half vlookup = texture(blurProfile, float2(vcoord, 0.5)).a; 133 half width = rect.z - rect.x; 134 half height = rect.w - rect.y; 136 half center = 2 * floor(profileSize / 2 + 0.25) - 1; 138 half hcoord = ((abs(translatedPos.x - 0.5 * width) - 0.5 * wh.x)) / profileSize [all...] |
GrLumaColorFilterEffect.fp | 21 half luma = dot(SK_ITU_BT709_LUM_COEFF, sk_InColor.rgb);
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
buffer_comparator_test.cc | 36 // Take floats only for convenience. Still uses half internally. 39 std::vector<half> lhs(lhs_float.begin(), lhs_float.end()); 40 std::vector<half> rhs(rhs_float.begin(), rhs_float.end()); 46 .Allocate(stream_exec_->device_ordinal(), lhs.size() * sizeof(half)) 51 .Allocate(stream_exec_->device_ordinal(), rhs.size() * sizeof(half)) 55 se::DeviceMemory<Eigen::half>(owning_lhs_buffer.AsDeviceMemoryBase()); 57 se::DeviceMemory<Eigen::half>(owning_rhs_buffer.AsDeviceMemoryBase());
|
/bionic/libm/upstream-freebsd/lib/msun/src/ |
k_sin.c | 51 half = 5.00000000000000000000e-01, /* 0x3FE00000, 0x00000000 */ variable 69 else return x-((z*(half*y-v*r)-y)-v*S1);
|
/device/google/contexthub/firmware/lib/libm/ |
kf_sin.c | 23 half = 5.0000000000e-01,/* 0x3f000000 */ variable 48 else return x-((z*(half*y-v*r)-y)-v*S1);
|
/device/linaro/bootloader/edk2/StdLib/LibC/Math/ |
k_sin.c | 50 half = 5.00000000000000000000e-01, /* 0x3FE00000, 0x00000000 */
variable 71 else return x-((z*(half*y-v*r)-y)-v*S1);
|
/external/fdlibm/ |
k_sin.c | 49 half = 5.00000000000000000000e-01, /* 0x3FE00000, 0x00000000 */ variable 73 else return x-((z*(half*y-v*r)-y)-v*S1);
|
/external/llvm/test/MC/ARM/ |
neon-vcvt-fp16.s | 7 @ CHECK-NOFP16: instruction requires: half-float conversions 10 @ CHECK-NOFP16: instruction requires: half-float conversions 14 @ CHECK-NOFP16: instruction requires: half-float conversions 17 @ CHECK-NOFP16: instruction requires: half-float conversions
|
/external/skia/src/gpu/effects/ |
GrLumaColorFilterEffect.fp | 21 half luma = dot(SK_ITU_BT709_LUM_COEFF, sk_InColor.rgb);
|