Remove designated initializers
PiperOrigin-RevId: 540471772
This commit is contained in:
parent
e02d70f8e5
commit
2e48a0bce0
|
@ -58,7 +58,8 @@ TfLiteRegistration* RegisterMaxPoolingWithArgmax2D() {
|
|||
});
|
||||
return r;
|
||||
}();
|
||||
static TfLiteRegistration reg = {.registration_external = reg_external};
|
||||
static TfLiteRegistration reg{};
|
||||
reg.registration_external = reg_external;
|
||||
return ®
|
||||
}
|
||||
|
||||
|
@ -68,7 +69,8 @@ TfLiteRegistration* RegisterMaxUnpooling2D() {
|
|||
TfLiteRegistrationExternalCreate(kTfLiteBuiltinCustom,
|
||||
kMaxUnpooling2DOpName,
|
||||
kMaxUnpooling2DOpVersion);
|
||||
static TfLiteRegistration reg = {.registration_external = reg_external};
|
||||
static TfLiteRegistration reg{};
|
||||
reg.registration_external = reg_external;
|
||||
return ®
|
||||
}
|
||||
|
||||
|
@ -78,7 +80,8 @@ TfLiteRegistration* RegisterConvolution2DTransposeBias() {
|
|||
TfLiteRegistrationExternalCreate(kTfLiteBuiltinCustom,
|
||||
kConvolution2DTransposeBiasOpName,
|
||||
kConvolution2DTransposeBiasOpVersion);
|
||||
static TfLiteRegistration reg = {.registration_external = reg_external};
|
||||
static TfLiteRegistration reg{};
|
||||
reg.registration_external = reg_external;
|
||||
return ®
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user