Fix iOS build failure

Removed absl::StrCat() usage.

PiperOrigin-RevId: 296159687
Change-Id: I1f825cbda293c7e218921563c3602777b9e29810
This commit is contained in:
Terry Heo 2020-02-20 02:04:59 -08:00 committed by TensorFlower Gardener
parent 8c88f62d83
commit ec445c6d8b

View File

@ -57,8 +57,7 @@ std::string GetElementwiseWithTwoInputsCode(int src_count,
if (scalar == nullptr) {
code += " FLT4 src_1 = src_buffer1[linear_index];";
} else {
code +=
absl::StrCat(" FLT4 src_1 = FLT4(", std::to_string(*scalar), ");");
code += " FLT4 src_1 = FLT4(" + std::to_string(*scalar) + ");";
}
switch (op_type) {
case OperationType::DIV: {