|
LBANN
0.103.0
LivermoreBigArtificialNeuralNetworkToolkit
|
#include "lbann_config.hpp"#include "lbann/operators/elementwise_operator.hpp"#include "lbann/utils/cloneable.hpp"#include "lbann/proto/operators.pb.h"#include "lbann/operators/operator.hpp"Go to the source code of this file.
Namespaces | |
| lbann | |
Macros | |
| #define | LBANN_DECLARE_BINARY_WITH_CONSTANT_OPERATOR(OP_NAME, OP_STRING, NEEDS_PREVACTS) |
These operators are idiomatic replacements for patterns like:
Op(layer, ConstantLayer(1))
where it's a pessimization to actually allocate a persistent array for such an ephemeral operation.
Definition in file binary_with_constant.hpp.
| #define LBANN_DECLARE_BINARY_WITH_CONSTANT_OPERATOR | ( | OP_NAME, | |
| OP_STRING, | |||
| NEEDS_PREVACTS | |||
| ) |
Definition at line 55 of file binary_with_constant.hpp.