Skip to content

Commit a2c6d91

Browse files
Fix documentation for setting __ANDROID_TYPES_FULL__
The previous command using --define does not cause the c++ macro __ANDROID_TYPES_FULL__ to get defined. PiperOrigin-RevId: 166502743
1 parent 7bf3de4 commit a2c6d91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tensorflow/core/kernels/cwise_ops_common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ struct ApproximateEqual<CPUDevice, T> {
473473
#if defined(__ANDROID_TYPES_SLIM__)
474474
// Note that __ANDROID_TYPES_SLIM__ is also checked in the cwise_ops*.cc files.
475475
// Normally Android TensorFlow is built with a reduced number of types (float).
476-
// Override on the command-line "--define ANDROID_TYPES=__ANDROID_TYPES_FULL__"
476+
// Override on the command-line using "--copt=-D__ANDROID_TYPES_FULL__"
477477
// to generate a library with full type support with a consequent increase in
478478
// code size.
479479
#define REGISTER2(OP, D, N, F, T0, T1) REGISTER(OP, D, N, F, T0)

0 commit comments

Comments
 (0)