Commit 0391d018 authored by PanZezhong's avatar PanZezhong
Browse files

issue/1031 fix trailing whitespace

parent d6af9c90
...@@ -100,4 +100,4 @@ public: ...@@ -100,4 +100,4 @@ public:
} }
}; };
#endif #endif
\ No newline at end of file
...@@ -5,4 +5,4 @@ ...@@ -5,4 +5,4 @@
DESCRIPTOR(cpu) DESCRIPTOR(cpu)
#endif #endif
\ No newline at end of file
...@@ -123,4 +123,4 @@ infiniStatus_t Descriptor::calculate( ...@@ -123,4 +123,4 @@ infiniStatus_t Descriptor::calculate(
#undef CALCULATE #undef CALCULATE
} // namespace op::avg_pool1d::nvidia } // namespace op::avg_pool1d::nvidia
\ No newline at end of file
...@@ -5,4 +5,4 @@ ...@@ -5,4 +5,4 @@
DESCRIPTOR(nvidia) DESCRIPTOR(nvidia)
#endif #endif
\ No newline at end of file
...@@ -96,4 +96,4 @@ infiniStatus_t Descriptor::calculate( ...@@ -96,4 +96,4 @@ infiniStatus_t Descriptor::calculate(
} }
} }
} // namespace op::cross_entropy::cpu } // namespace op::cross_entropy::cpu
\ No newline at end of file
...@@ -5,4 +5,4 @@ ...@@ -5,4 +5,4 @@
DESCRIPTOR(cpu) DESCRIPTOR(cpu)
#endif #endif
\ No newline at end of file
...@@ -39,4 +39,4 @@ ...@@ -39,4 +39,4 @@
}; \ }; \
} }
#endif #endif
\ No newline at end of file
...@@ -14,4 +14,4 @@ struct CrossEntropyInfo { ...@@ -14,4 +14,4 @@ struct CrossEntropyInfo {
ptrdiff_t x_stride; ptrdiff_t x_stride;
}; };
#endif #endif
\ No newline at end of file
...@@ -104,4 +104,4 @@ infiniStatus_t Descriptor::calculate(void *workspace, size_t workspace_size, ...@@ -104,4 +104,4 @@ infiniStatus_t Descriptor::calculate(void *workspace, size_t workspace_size,
return INFINI_STATUS_SUCCESS; return INFINI_STATUS_SUCCESS;
} }
} // namespace op::cross_entropy::nvidia } // namespace op::cross_entropy::nvidia
\ No newline at end of file
...@@ -5,4 +5,4 @@ ...@@ -5,4 +5,4 @@
DESCRIPTOR(nvidia) DESCRIPTOR(nvidia)
#endif #endif
\ No newline at end of file
...@@ -5,4 +5,4 @@ ...@@ -5,4 +5,4 @@
ELEMENTWISE_DESCRIPTOR(equal, nvidia) ELEMENTWISE_DESCRIPTOR(equal, nvidia)
#endif #endif
\ No newline at end of file
...@@ -16,4 +16,4 @@ public: ...@@ -16,4 +16,4 @@ public:
} FmodOp; } FmodOp;
} // namespace op::fmod::cpu } // namespace op::fmod::cpu
#endif // _FMOD_CPU_H__ #endif // _FMOD_CPU_H__
\ No newline at end of file
...@@ -45,4 +45,4 @@ typedef struct FmodOp { ...@@ -45,4 +45,4 @@ typedef struct FmodOp {
} // namespace op::fmod::cuda } // namespace op::fmod::cuda
#endif // __FMOD_CUDA_H__ #endif // __FMOD_CUDA_H__
\ No newline at end of file
...@@ -5,4 +5,4 @@ ...@@ -5,4 +5,4 @@
ELEMENTWISE_DESCRIPTOR(fmod, moore) ELEMENTWISE_DESCRIPTOR(fmod, moore)
#endif // __FMOD_MOORE_API_H__ #endif // __FMOD_MOORE_API_H__
\ No newline at end of file
...@@ -60,4 +60,4 @@ infiniStatus_t Descriptor::calculate( ...@@ -60,4 +60,4 @@ infiniStatus_t Descriptor::calculate(
return INFINI_STATUS_SUCCESS; return INFINI_STATUS_SUCCESS;
} }
} // namespace op::fmod::moore } // namespace op::fmod::moore
\ No newline at end of file
...@@ -56,4 +56,4 @@ infiniStatus_t Descriptor::calculate( ...@@ -56,4 +56,4 @@ infiniStatus_t Descriptor::calculate(
return INFINI_STATUS_SUCCESS; return INFINI_STATUS_SUCCESS;
} }
} // namespace op::fmod::nvidia } // namespace op::fmod::nvidia
\ No newline at end of file
...@@ -5,4 +5,4 @@ ...@@ -5,4 +5,4 @@
ELEMENTWISE_DESCRIPTOR(fmod, nvidia) ELEMENTWISE_DESCRIPTOR(fmod, nvidia)
#endif // __MUL_CUDA_API_H__ #endif // __MUL_CUDA_API_H__
\ No newline at end of file
...@@ -5,4 +5,4 @@ ...@@ -5,4 +5,4 @@
ELEMENTWISE_DESCRIPTOR(hardswish, nvidia) ELEMENTWISE_DESCRIPTOR(hardswish, nvidia)
#endif #endif
\ No newline at end of file
...@@ -168,4 +168,4 @@ if __name__ == "__main__": ...@@ -168,4 +168,4 @@ if __name__ == "__main__":
for device in get_test_devices(args): for device in get_test_devices(args):
test_operator(device, test, _TEST_CASES, _TENSOR_DTYPES) test_operator(device, test, _TEST_CASES, _TENSOR_DTYPES)
print("\033[92mTest passed!\033[0m") print("\033[92mTest passed!\033[0m")
\ No newline at end of file
...@@ -166,4 +166,4 @@ if __name__ == "__main__": ...@@ -166,4 +166,4 @@ if __name__ == "__main__":
for device in get_test_devices(args): for device in get_test_devices(args):
test_operator(device, test, _TEST_CASES, _TENSOR_DTYPES) test_operator(device, test, _TEST_CASES, _TENSOR_DTYPES)
print("\033[92mHardTanh Test passed!\033[0m") print("\033[92mHardTanh Test passed!\033[0m")
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment