|
|
@ -14,8 +14,6 @@ limitations under the License. */
|
|
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
|
|
namespace paddle {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Disable copy macro.
|
|
|
|
* Disable copy macro.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
@ -24,6 +22,8 @@ namespace paddle {
|
|
|
|
class_name(const class_name &other) = delete; \
|
|
|
|
class_name(const class_name &other) = delete; \
|
|
|
|
class_name &operator=(const class_name &other) = delete
|
|
|
|
class_name &operator=(const class_name &other) = delete
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace paddle {
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef PADDLE_TYPE_DOUBLE
|
|
|
|
#ifdef PADDLE_TYPE_DOUBLE
|
|
|
|
using real = double;
|
|
|
|
using real = double;
|
|
|
|
#else
|
|
|
|
#else
|
|
|
|