From 7817237d5852c7778d3ba03c40f139e6f2c37a76 Mon Sep 17 00:00:00 2001 From: "A. Unique TensorFlower" Date: Tue, 21 Aug 2018 16:19:02 -0700 Subject: fix C++ header guards. PiperOrigin-RevId: 209679086 --- tensorflow/java/src/main/native/exception_jni.h | 6 +++--- tensorflow/java/src/main/native/graph_jni.h | 6 +++--- tensorflow/java/src/main/native/operation_builder_jni.h | 6 +++--- tensorflow/java/src/main/native/operation_jni.h | 6 +++--- tensorflow/java/src/main/native/saved_model_bundle_jni.h | 6 +++--- tensorflow/java/src/main/native/session_jni.h | 6 +++--- tensorflow/java/src/main/native/tensor_jni.h | 6 +++--- tensorflow/java/src/main/native/tensorflow_jni.h | 6 +++--- tensorflow/java/src/main/native/utils_jni.h | 6 +++--- 9 files changed, 27 insertions(+), 27 deletions(-) (limited to 'tensorflow/java') diff --git a/tensorflow/java/src/main/native/exception_jni.h b/tensorflow/java/src/main/native/exception_jni.h index 28f26d7ebf..465281f804 100644 --- a/tensorflow/java/src/main/native/exception_jni.h +++ b/tensorflow/java/src/main/native/exception_jni.h @@ -13,8 +13,8 @@ See the License for the specific language governing permissions and limitations under the License. ==============================================================================*/ -#ifndef TENSORFLOW_JAVA_EXCEPTION_JNI_H_ -#define TENSORFLOW_JAVA_EXCEPTION_JNI_H_ +#ifndef TENSORFLOW_JAVA_SRC_MAIN_NATIVE_EXCEPTION_JNI_H_ +#define TENSORFLOW_JAVA_SRC_MAIN_NATIVE_EXCEPTION_JNI_H_ #include @@ -39,4 +39,4 @@ bool throwExceptionIfNotOK(JNIEnv* env, const TF_Status* status); #ifdef __cplusplus } // extern "C" #endif // __cplusplus -#endif // TENSORFLOW_JAVA_EXCEPTION_JNI_H_ +#endif // TENSORFLOW_JAVA_SRC_MAIN_NATIVE_EXCEPTION_JNI_H_ diff --git a/tensorflow/java/src/main/native/graph_jni.h b/tensorflow/java/src/main/native/graph_jni.h index 215695cdfd..efed23f83b 100644 --- a/tensorflow/java/src/main/native/graph_jni.h +++ b/tensorflow/java/src/main/native/graph_jni.h @@ -13,8 +13,8 @@ See the License for the specific language governing permissions and limitations under the License. ==============================================================================*/ -#ifndef TENSORFLOW_JAVA_GRAPH_JNI_H_ -#define TENSORFLOW_JAVA_GRAPH_JNI_H_ +#ifndef TENSORFLOW_JAVA_SRC_MAIN_NATIVE_GRAPH_JNI_H_ +#define TENSORFLOW_JAVA_SRC_MAIN_NATIVE_GRAPH_JNI_H_ #include @@ -85,4 +85,4 @@ JNIEXPORT jlongArray JNICALL Java_org_tensorflow_Graph_addGradients( #ifdef __cplusplus } // extern "C" #endif // __cplusplus -#endif // TENSORFLOW_JAVA_GRAPH_JNI_H_ +#endif // TENSORFLOW_JAVA_SRC_MAIN_NATIVE_GRAPH_JNI_H_ diff --git a/tensorflow/java/src/main/native/operation_builder_jni.h b/tensorflow/java/src/main/native/operation_builder_jni.h index cf0abe4829..1cda7acea8 100644 --- a/tensorflow/java/src/main/native/operation_builder_jni.h +++ b/tensorflow/java/src/main/native/operation_builder_jni.h @@ -13,8 +13,8 @@ See the License for the specific language governing permissions and limitations under the License. ==============================================================================*/ -#ifndef TENSORFLOW_JAVA_OPERATION_BUILDER_JNI_H_ -#define TENSORFLOW_JAVA_OPERATION_BUILDER_JNI_H_ +#ifndef TENSORFLOW_JAVA_SRC_MAIN_NATIVE_OPERATION_BUILDER_JNI_H_ +#define TENSORFLOW_JAVA_SRC_MAIN_NATIVE_OPERATION_BUILDER_JNI_H_ #include @@ -188,4 +188,4 @@ JNIEXPORT void JNICALL Java_org_tensorflow_OperationBuilder_setAttrStringList( #ifdef __cplusplus } // extern "C" #endif // __cplusplus -#endif // TENSORFLOW_JAVA_OPERATION_BUILDER_JNI_H_ +#endif // TENSORFLOW_JAVA_SRC_MAIN_NATIVE_OPERATION_BUILDER_JNI_H_ diff --git a/tensorflow/java/src/main/native/operation_jni.h b/tensorflow/java/src/main/native/operation_jni.h index 6f379256d2..56da2ebaee 100644 --- a/tensorflow/java/src/main/native/operation_jni.h +++ b/tensorflow/java/src/main/native/operation_jni.h @@ -13,8 +13,8 @@ See the License for the specific language governing permissions and limitations under the License. ==============================================================================*/ -#ifndef TENSORFLOW_JAVA_OPERATION_JNI_H_ -#define TENSORFLOW_JAVA_OPERATION_JNI_H_ +#ifndef TENSORFLOW_JAVA_SRC_MAIN_NATIVE_OPERATION_JNI_H_ +#define TENSORFLOW_JAVA_SRC_MAIN_NATIVE_OPERATION_JNI_H_ #include @@ -87,4 +87,4 @@ JNIEXPORT jint JNICALL Java_org_tensorflow_Operation_inputListLength(JNIEnv *, #ifdef __cplusplus } // extern "C" #endif // __cplusplus -#endif // TENSORFLOW_JAVA_OPERATION_JNI_H_ +#endif // TENSORFLOW_JAVA_SRC_MAIN_NATIVE_OPERATION_JNI_H_ diff --git a/tensorflow/java/src/main/native/saved_model_bundle_jni.h b/tensorflow/java/src/main/native/saved_model_bundle_jni.h index a4b05d0409..e8f28dd670 100644 --- a/tensorflow/java/src/main/native/saved_model_bundle_jni.h +++ b/tensorflow/java/src/main/native/saved_model_bundle_jni.h @@ -13,8 +13,8 @@ See the License for the specific language governing permissions and limitations under the License. ==============================================================================*/ -#ifndef TENSORFLOW_JAVA_SAVEDMODELBUNDLE_JNI_H_ -#define TENSORFLOW_JAVA_SAVEDMODELBUNDLE_JNI_H_ +#ifndef TENSORFLOW_JAVA_SRC_MAIN_NATIVE_SAVED_MODEL_BUNDLE_JNI_H_ +#define TENSORFLOW_JAVA_SRC_MAIN_NATIVE_SAVED_MODEL_BUNDLE_JNI_H_ #include @@ -34,4 +34,4 @@ JNIEXPORT jobject JNICALL Java_org_tensorflow_SavedModelBundle_load( #ifdef __cplusplus } // extern "C" #endif // __cplusplus -#endif // TENSORFLOW_JAVA_SAVEDMODELBUNDLE_JNI_H_ +#endif // TENSORFLOW_JAVA_SRC_MAIN_NATIVE_SAVED_MODEL_BUNDLE_JNI_H_ diff --git a/tensorflow/java/src/main/native/session_jni.h b/tensorflow/java/src/main/native/session_jni.h index 54c9c0aa4d..1cc196bdc8 100644 --- a/tensorflow/java/src/main/native/session_jni.h +++ b/tensorflow/java/src/main/native/session_jni.h @@ -13,8 +13,8 @@ See the License for the specific language governing permissions and limitations under the License. ==============================================================================*/ -#ifndef TENSORFLOW_JAVA_SESSION_JNI_H_ -#define TENSORFLOW_JAVA_SESSION_JNI_H_ +#ifndef TENSORFLOW_JAVA_SRC_MAIN_NATIVE_SESSION_JNI_H_ +#define TENSORFLOW_JAVA_SRC_MAIN_NATIVE_SESSION_JNI_H_ #include @@ -59,4 +59,4 @@ JNIEXPORT jbyteArray JNICALL Java_org_tensorflow_Session_run( #ifdef __cplusplus } // extern "C" #endif // __cplusplus -#endif // TENSORFLOW_JAVA_SESSION_JNI_H_ +#endif // TENSORFLOW_JAVA_SRC_MAIN_NATIVE_SESSION_JNI_H_ diff --git a/tensorflow/java/src/main/native/tensor_jni.h b/tensorflow/java/src/main/native/tensor_jni.h index a300936884..4cf682548e 100644 --- a/tensorflow/java/src/main/native/tensor_jni.h +++ b/tensorflow/java/src/main/native/tensor_jni.h @@ -13,8 +13,8 @@ See the License for the specific language governing permissions and limitations under the License. ==============================================================================*/ -#ifndef TENSORFLOW_JAVA_TENSOR_JNI_H_ -#define TENSORFLOW_JAVA_TENSOR_JNI_H_ +#ifndef TENSORFLOW_JAVA_SRC_MAIN_NATIVE_TENSOR_JNI_H_ +#define TENSORFLOW_JAVA_SRC_MAIN_NATIVE_TENSOR_JNI_H_ #include @@ -153,4 +153,4 @@ JNIEXPORT void JNICALL Java_org_tensorflow_Tensor_readNDArray(JNIEnv *, jclass, #ifdef __cplusplus } // extern "C" #endif // __cplusplus -#endif // TENSORFLOW_JAVA_TENSOR_JNI_H_ +#endif // TENSORFLOW_JAVA_SRC_MAIN_NATIVE_TENSOR_JNI_H_ diff --git a/tensorflow/java/src/main/native/tensorflow_jni.h b/tensorflow/java/src/main/native/tensorflow_jni.h index c0c9322020..d7c44fb0e2 100644 --- a/tensorflow/java/src/main/native/tensorflow_jni.h +++ b/tensorflow/java/src/main/native/tensorflow_jni.h @@ -13,8 +13,8 @@ See the License for the specific language governing permissions and limitations under the License. ==============================================================================*/ -#ifndef TENSORFLOW_JAVA_TENSORFLOW_JNI_H_ -#define TENSORFLOW_JAVA_TENSORFLOW_JNI_H_ +#ifndef TENSORFLOW_JAVA_SRC_MAIN_NATIVE_TENSORFLOW_JNI_H_ +#define TENSORFLOW_JAVA_SRC_MAIN_NATIVE_TENSORFLOW_JNI_H_ #include @@ -67,4 +67,4 @@ Java_org_tensorflow_TensorFlow_libraryOpList(JNIEnv *, jclass, jlong); #ifdef __cplusplus } // extern "C" #endif // __cplusplus -#endif // TENSORFLOW_JAVA_TENSORFLOW_JNI_H_ +#endif // TENSORFLOW_JAVA_SRC_MAIN_NATIVE_TENSORFLOW_JNI_H_ diff --git a/tensorflow/java/src/main/native/utils_jni.h b/tensorflow/java/src/main/native/utils_jni.h index 352298e7de..d1e1b93878 100644 --- a/tensorflow/java/src/main/native/utils_jni.h +++ b/tensorflow/java/src/main/native/utils_jni.h @@ -13,8 +13,8 @@ See the License for the specific language governing permissions and limitations under the License. ==============================================================================*/ -#ifndef TENSORFLOW_JAVA_UTILS_JNI_H_ -#define TENSORFLOW_JAVA_UTILS_JNI_H_ +#ifndef TENSORFLOW_JAVA_SRC_MAIN_NATIVE_UTILS_JNI_H_ +#define TENSORFLOW_JAVA_SRC_MAIN_NATIVE_UTILS_JNI_H_ #include @@ -30,4 +30,4 @@ void resolveOutputs(JNIEnv* env, const char* type, jlongArray src_op, #ifdef __cplusplus } // extern "C" #endif // __cplusplus -#endif /* TENSORFLOW_JAVA_UTILS_JNI_H_ */ +#endif // TENSORFLOW_JAVA_SRC_MAIN_NATIVE_UTILS_JNI_H_ -- cgit v1.2.3