mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 00:21:07 +01:00
21 lines
378 B
C++
21 lines
378 B
C++
#ifndef BOOLEAN_UNMASK_OPS_H
|
|
#define BOOLEAN_UNMASK_OPS_H
|
|
|
|
#include "caffe2/core/context.h"
|
|
#include "caffe2/core/operator.h"
|
|
|
|
namespace caffe2 {
|
|
|
|
template <class Context>
|
|
class BooleanUnmaskOp final : public Operator<Context> {
|
|
public:
|
|
USE_SIMPLE_CTOR_DTOR(BooleanUnmaskOp)
|
|
USE_OPERATOR_CONTEXT_FUNCTIONS;
|
|
|
|
bool RunOnDevice() override;
|
|
};
|
|
|
|
} // namespace caffe2
|
|
|
|
#endif
|