Apply clang-format.
This commit is contained in:
parent
f6c0221749
commit
f33883c77a
tensorflow/lite
@ -127,8 +127,8 @@ TfLiteStatus Eval(TfLiteContext* context, TfLiteNode* node) {
|
||||
GetTensorShape(size), GetTensorData<int32>(size),
|
||||
GetTensorShape(output), GetTensorData<int16_t>(output));
|
||||
} else {
|
||||
TF_LITE_KERNEL_LOG(context,
|
||||
"Output type is %s, requires float, uint8, int8 or int16.",
|
||||
TF_LITE_KERNEL_LOG(
|
||||
context, "Output type is %s, requires float, uint8, int8 or int16.",
|
||||
TfLiteTypeGetName(output->type));
|
||||
return kTfLiteError;
|
||||
}
|
||||
|
@ -701,7 +701,8 @@ TEST(OpVersionTest, VersioningResizeNearestNeighborTest) {
|
||||
// int16 input is version 4.
|
||||
fake_op_sig = {
|
||||
.op = BuiltinOperator_RESIZE_NEAREST_NEIGHBOR,
|
||||
.input_types = std::vector<TensorType>{TensorType_INT16, TensorType_INT32},
|
||||
.input_types =
|
||||
std::vector<TensorType>{TensorType_INT16, TensorType_INT32},
|
||||
.output_types = std::vector<TensorType>{TensorType_INT16},
|
||||
};
|
||||
EXPECT_EQ(GetBuiltinOperatorVersion(fake_op_sig), 4);
|
||||
|
@ -186,7 +186,8 @@ std::string FindMinimumRuntimeVersionForOp(tflite::BuiltinOperator op_code,
|
||||
{{BuiltinOperator_RESIZE_NEAREST_NEIGHBOR, 1}, "1.13.1"},
|
||||
{{BuiltinOperator_RESIZE_NEAREST_NEIGHBOR, 2}, "1.14.0"},
|
||||
{{BuiltinOperator_RESIZE_NEAREST_NEIGHBOR, 3}, "2.3.0"},
|
||||
{{BuiltinOperator_RESIZE_NEAREST_NEIGHBOR, 4}, kPendingReleaseVersion},
|
||||
{{BuiltinOperator_RESIZE_NEAREST_NEIGHBOR, 4},
|
||||
kPendingReleaseVersion},
|
||||
{{BuiltinOperator_RNN, 1}, "1.5.0"},
|
||||
{{BuiltinOperator_RNN, 2}, "1.14.0"},
|
||||
{{BuiltinOperator_RNN, 3}, "2.3.0"},
|
||||
|
Loading…
Reference in New Issue
Block a user