Skip to content

Commit

Permalink
Merge "List of included changes: - Removes TensorFlowLiteObjC from …
Browse files Browse the repository at this point in the history
…the project. - Another float constant format enhancement. - Float constant format enhancement. - Revert the last float constant change. - Enhance a float constant format."
  • Loading branch information
miworking authored and Gerrit Code Review committed Feb 17, 2021
2 parents 35d0c17 + 896fb09 commit 59bc1bb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,6 @@
"\"${PODS_CONFIGURATION_BUILD_DIR}/GoogleUtilities\"",
"\"${PODS_CONFIGURATION_BUILD_DIR}/GoogleUtilitiesComponents\"",
"\"${PODS_CONFIGURATION_BUILD_DIR}/Protobuf\"",
"\"${PODS_CONFIGURATION_BUILD_DIR}/TensorFlowLiteObjC\"",
"\"${PODS_CONFIGURATION_BUILD_DIR}/nanopb\"",
"\"${PODS_ROOT}/MLKitCommon/Frameworks\"",
"\"${PODS_ROOT}/MLKitImageClassificationAutoML/Frameworks\"",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
/** File type of AutoML local model manifest in the main resource bundle. */
static NSString *const MLKAutoMLManifestFileType = @"json";

static const float kLabelConfidenceThreshold = 0.75;
static const float kLabelConfidenceThreshold = 0.75f;
static const CGFloat kImageScale = 1.0;
static const CGFloat kLayoutPadding = 10.0;
static const CGFloat kResultsLabelHeight = 200.0;
Expand Down
2 changes: 1 addition & 1 deletion ios/quickstarts/automl/AutoMLExampleObjc/ViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
/** File type of AutoML local model manifest in the main resource bundle. */
static NSString *const MLKAutoMLManifestFileType = @"json";

static float const labelConfidenceThreshold = 0.75;
static float const labelConfidenceThreshold = 0.75f;
static CGColorRef lineColor;
static CGColorRef fillColor;

Expand Down

0 comments on commit 59bc1bb

Please sign in to comment.