Skip to content

Commit

Permalink
Test build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mahmoud-abuzaina committed May 29, 2019
1 parent b211c7a commit c0b3253
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tensorflow/core/kernels/eigen_spatial_convolutions_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1755,7 +1755,6 @@ static void PackLhsHelper(int iters,
// Number of input channel (input depth) it equal to the number of patch
// channels (patch depth).

using qint8 = Eigen::QInt8;

// NOTE: This is the most common case in Tensorflow models.
// Fast path: input channel dimension is the multiple of the packet size.
Expand Down Expand Up @@ -1834,6 +1833,8 @@ BM_PackRhs(/*type*/ float, //
/*stride*/ 2, 2, //
/*block*/ 36, 432);

#if defined(TENSORFLOW_USE_CUSTOM_CONTRACTION_KERNEL)
using qint8 = Eigen::QInt8;
BM_PackRhs(/*type*/ qint8, //
/*batch*/ 32, //
/*image*/ 64, 64, //
Expand All @@ -1842,6 +1843,7 @@ BM_PackRhs(/*type*/ qint8, //
/*filter*/ 5, 5, //
/*stride*/ 1, 1, //
/*block*/ 256, 56);
#endif // defined(TENSORFLOW_USE_CUSTOM_CONTRACTION_KERNEL)

// -------------------------------------------------------------------------- //
// Pack LHS
Expand Down

0 comments on commit c0b3253

Please sign in to comment.