LBANN
0.103.0
LivermoreBigArtificialNeuralNetworkToolkit
lbann.hpp
Go to the documentation of this file.
1
// Copyright (c) 2014-2023, Lawrence Livermore National Security, LLC.
3
// Produced at the Lawrence Livermore National Laboratory.
4
// Written by the LBANN Research Team (B. Van Essen, et al.) listed in
5
// the CONTRIBUTORS file. <lbann-dev@llnl.gov>
6
//
7
// LLNL-CODE-697807.
8
// All rights reserved.
9
//
10
// This file is part of LBANN: Livermore Big Artificial Neural Network
11
// Toolkit. For details, see http://software.llnl.gov/LBANN or
12
// https://github.com/LLNL/LBANN.
13
//
14
// Licensed under the Apache License, Version 2.0 (the "Licensee"); you
15
// may not use this file except in compliance with the License. You may
16
// obtain a copy of the License at:
17
//
18
// http://www.apache.org/licenses/LICENSE-2.0
19
//
20
// Unless required by applicable law or agreed to in writing, software
21
// distributed under the License is distributed on an "AS IS" BASIS,
22
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
23
// implied. See the License for the specific language governing
24
// permissions and limitations under the license.
26
27
#ifndef LBANN_LBANN_HPP_INCLUDED
28
#define LBANN_LBANN_HPP_INCLUDED
29
31
#include "
lbann/comm_impl.hpp
"
32
34
#include "
lbann/trainers/trainer.hpp
"
35
37
#include "
lbann/execution_algorithms/batch_functional_inference_algorithm.hpp
"
38
#include "
lbann/execution_algorithms/training_algorithm.hpp
"
39
41
#include "
lbann/models/model.hpp
"
42
44
#include "
lbann/layers/activations/elu.hpp
"
45
#include "
lbann/layers/activations/identity.hpp
"
46
#include "
lbann/layers/activations/leaky_relu.hpp
"
47
#include "
lbann/layers/activations/log_softmax.hpp
"
48
#include "
lbann/layers/activations/softmax.hpp
"
49
51
#include "
lbann/layers/image/bilinear_resize.hpp
"
52
54
#include "
lbann/layers/learning/channelwise_scale_bias.hpp
"
55
#include "
lbann/layers/learning/convolution.hpp
"
56
#include "
lbann/layers/learning/deconvolution.hpp
"
57
#include "
lbann/layers/learning/embedding.hpp
"
58
#include "
lbann/layers/learning/entrywise_scale_bias.hpp
"
59
#include "
lbann/layers/learning/fully_connected.hpp
"
60
#include "
lbann/layers/learning/gru.hpp
"
61
63
#include "
lbann/layers/loss/categorical_accuracy.hpp
"
64
#include "
lbann/layers/loss/cross_entropy.hpp
"
65
#include "
lbann/layers/loss/l1_norm.hpp
"
66
#include "
lbann/layers/loss/l2_norm2.hpp
"
67
#include "
lbann/layers/loss/mean_absolute_error.hpp
"
68
#include "
lbann/layers/loss/mean_squared_error.hpp
"
69
#include "
lbann/layers/loss/top_k_categorical_accuracy.hpp
"
70
72
#include "
lbann/layers/math/matmul.hpp
"
73
75
#include "
lbann/layers/transform/bernoulli.hpp
"
76
#include "
lbann/layers/transform/categorical_random.hpp
"
77
#include "
lbann/layers/transform/concatenate.hpp
"
78
#include "
lbann/layers/transform/constant.hpp
"
79
#include "
lbann/layers/transform/crop.hpp
"
80
#include "
lbann/layers/transform/discrete_random.hpp
"
81
#include "
lbann/layers/transform/dummy.hpp
"
82
#include "
lbann/layers/transform/evaluation.hpp
"
83
#include "
lbann/layers/transform/gaussian.hpp
"
84
#include "
lbann/layers/transform/hadamard.hpp
"
85
#include "
lbann/layers/transform/identity_zero.hpp
"
86
#include "
lbann/layers/transform/in_top_k.hpp
"
87
#include "
lbann/layers/transform/pooling.hpp
"
88
#include "
lbann/layers/transform/reduction.hpp
"
89
#include "
lbann/layers/transform/reshape.hpp
"
90
#include "
lbann/layers/transform/slice.hpp
"
91
#include "
lbann/layers/transform/sort.hpp
"
92
#include "
lbann/layers/transform/split.hpp
"
93
#include "
lbann/layers/transform/stop_gradient.hpp
"
94
#include "
lbann/layers/transform/sum.hpp
"
95
#include "
lbann/layers/transform/tessellate.hpp
"
96
#include "
lbann/layers/transform/uniform.hpp
"
97
#include "
lbann/layers/transform/unpooling.hpp
"
98
#include "
lbann/layers/transform/weighted_sum.hpp
"
99
#include "
lbann/layers/transform/weights.hpp
"
100
102
#include "
lbann/layers/regularizers/batch_normalization.hpp
"
103
#include "
lbann/layers/regularizers/dropout.hpp
"
104
#include "
lbann/layers/regularizers/entrywise_batch_normalization.hpp
"
105
#include "
lbann/layers/regularizers/instance_norm.hpp
"
106
#include "
lbann/layers/regularizers/layer_norm.hpp
"
107
#include "
lbann/layers/regularizers/local_response_normalization.hpp
"
108
#include "
lbann/layers/regularizers/selu_dropout.hpp
"
109
111
#include "
lbann/layers/io/input_layer.hpp
"
112
114
#include "
lbann/layers/misc/argmax.hpp
"
115
#include "
lbann/layers/misc/argmin.hpp
"
116
#include "
lbann/layers/misc/channelwise_mean.hpp
"
117
#include "
lbann/layers/misc/channelwise_softmax.hpp
"
118
#include "
lbann/layers/misc/covariance.hpp
"
119
#include "
lbann/layers/misc/mini_batch_index.hpp
"
120
#include "
lbann/layers/misc/mini_batch_size.hpp
"
121
#include "
lbann/layers/misc/one_hot.hpp
"
122
#include "
lbann/layers/misc/variance.hpp
"
123
125
#include "
lbann/operators/math/clamp.hpp
"
126
128
#include "
lbann/data_readers/data_reader_cifar10.hpp
"
129
#include "
lbann/data_readers/data_reader_csv.hpp
"
130
#include "
lbann/data_readers/data_reader_jag_conduit.hpp
"
131
#include "
lbann/data_readers/data_reader_merge_features.hpp
"
132
#include "
lbann/data_readers/data_reader_merge_samples.hpp
"
133
#include "
lbann/data_readers/data_reader_mesh.hpp
"
134
#include "
lbann/data_readers/data_reader_mnist.hpp
"
135
#include "
lbann/data_readers/data_reader_nci.hpp
"
136
#include "
lbann/data_readers/data_reader_python.hpp
"
137
#include "
lbann/data_readers/data_reader_synthetic.hpp
"
138
#ifdef LBANN_HAS_OPENCV
139
#include "
lbann/data_readers/data_reader_imagenet.hpp
"
140
#endif // LBANN_HAS_OPENCV
141
#ifdef LBANN_HAS_CNPY
142
#include "
lbann/data_readers/data_reader_npz_ras_lipid.hpp
"
143
#include "
lbann/data_readers/data_reader_numpy.hpp
"
144
#include "
lbann/data_readers/data_reader_numpy_npz.hpp
"
145
#include "
lbann/data_readers/data_reader_numpy_npz_conduit.hpp
"
146
#include "
lbann/data_readers/data_reader_pilot2_molecular.hpp
"
147
#endif // LBANN_HAS_CNPY
148
#ifdef LBANN_HAS_DISTCONV
149
#include "
lbann/data_readers/data_reader_hdf5_legacy.hpp
"
150
#include "
lbann/layers/learning/distconv/distconv_layers.hpp
"
151
#endif // LBANN_HAS_DISTCONV
152
#include "
lbann/data_readers/data_reader_HDF5.hpp
"
153
#include "
lbann/data_readers/data_reader_node2vec.hpp
"
154
#include "
lbann/data_readers/data_reader_smiles.hpp
"
155
157
#include "
lbann/data_store/data_store_conduit.hpp
"
158
160
#include "
lbann/callbacks/alternate_updates.hpp
"
161
#include "
lbann/callbacks/check_dataset.hpp
"
162
#include "
lbann/callbacks/check_gradients.hpp
"
163
#include "
lbann/callbacks/check_init.hpp
"
164
#include "
lbann/callbacks/check_metric.hpp
"
165
#include "
lbann/callbacks/check_nan.hpp
"
166
#include "
lbann/callbacks/check_small.hpp
"
167
#include "
lbann/callbacks/checkpoint.hpp
"
168
#include "
lbann/callbacks/compute_model_size.hpp
"
169
#include "
lbann/callbacks/confusion_matrix.hpp
"
170
#include "
lbann/callbacks/debug.hpp
"
171
#include "
lbann/callbacks/debug_io.hpp
"
172
#include "
lbann/callbacks/dump_error_signals.hpp
"
173
#include "
lbann/callbacks/dump_gradients.hpp
"
174
#include "
lbann/callbacks/dump_minibatch_sample_indices.hpp
"
175
#include "
lbann/callbacks/dump_outputs.hpp
"
176
#include "
lbann/callbacks/dump_weights.hpp
"
177
#include "
lbann/callbacks/early_stopping.hpp
"
178
#include "
lbann/callbacks/gpu_memory_usage.hpp
"
179
#include "
lbann/callbacks/hang.hpp
"
180
#include "
lbann/callbacks/learning_rate.hpp
"
181
#include "
lbann/callbacks/load_model.hpp
"
182
#include "
lbann/callbacks/ltfb.hpp
"
183
#include "
lbann/callbacks/mixup.hpp
"
184
#include "
lbann/callbacks/monitor_io.hpp
"
185
#include "
lbann/callbacks/perturb_adam.hpp
"
186
#include "
lbann/callbacks/perturb_dropout.hpp
"
187
#include "
lbann/callbacks/print_model_description.hpp
"
188
#include "
lbann/callbacks/print_statistics.hpp
"
189
#include "
lbann/callbacks/profiler.hpp
"
190
#include "
lbann/callbacks/replace_weights.hpp
"
191
#include "
lbann/callbacks/save_images.hpp
"
192
#include "
lbann/callbacks/save_model.hpp
"
193
#include "
lbann/callbacks/save_topk_models.hpp
"
194
#include "
lbann/callbacks/summary.hpp
"
195
#include "
lbann/callbacks/sync_layers.hpp
"
196
#include "
lbann/callbacks/timeline.hpp
"
197
#include "
lbann/callbacks/timer.hpp
"
198
#include "
lbann/callbacks/variable_minibatch.hpp
"
199
201
#include "
lbann/weights/initializer.hpp
"
202
#include "
lbann/weights/variance_scaling_initializers.hpp
"
203
#include "
lbann/weights/weights.hpp
"
204
206
#include "
lbann/optimizers/adagrad.hpp
"
207
#include "
lbann/optimizers/adam.hpp
"
208
#include "
lbann/optimizers/hypergradient_adam.hpp
"
209
#include "
lbann/optimizers/rmsprop.hpp
"
210
#include "
lbann/optimizers/sgd.hpp
"
211
213
#include "
lbann/objective_functions/layer_term.hpp
"
214
#include "
lbann/objective_functions/objective_function.hpp
"
215
#include "
lbann/objective_functions/weight_regularization/l2.hpp
"
216
218
#include "
lbann/metrics/layer_metric.hpp
"
219
221
#include "
lbann/io/file_io.hpp
"
222
#include "
lbann/io/persist.hpp
"
223
#include "
lbann/utils/compiler_control.hpp
"
224
#include "
lbann/utils/exception.hpp
"
225
#include "
lbann/utils/glob.hpp
"
226
#include "
lbann/utils/lbann_library.hpp
"
227
#include "
lbann/utils/omp_diagnostics.hpp
"
228
#include "
lbann/utils/options.hpp
"
229
#include "
lbann/utils/peek_map.hpp
"
230
#include "
lbann/utils/stack_trace.hpp
"
231
#include "
lbann/utils/summary.hpp
"
232
233
#endif // LBANN_LBANN_HPP_INCLUDED
evaluation.hpp
mixup.hpp
comm_impl.hpp
cross_entropy.hpp
categorical_random.hpp
hypergradient_adam.hpp
objective_function.hpp
l2_norm2.hpp
data_reader_cifar10.hpp
rmsprop.hpp
weights.hpp
log_softmax.hpp
softmax.hpp
data_reader_npz_ras_lipid.hpp
unpooling.hpp
data_store_conduit.hpp
ltfb.hpp
layer_norm.hpp
data_reader_pilot2_molecular.hpp
gaussian.hpp
uniform.hpp
data_reader_numpy_npz_conduit.hpp
trainer.hpp
dump_gradients.hpp
reshape.hpp
covariance.hpp
file_io.hpp
local_response_normalization.hpp
top_k_categorical_accuracy.hpp
lbann_library.hpp
reduction.hpp
gru.hpp
check_metric.hpp
data_reader_jag_conduit.hpp
pooling.hpp
constant.hpp
entrywise_batch_normalization.hpp
mean_absolute_error.hpp
compute_model_size.hpp
data_reader_python.hpp
data_reader_HDF5.hpp
clamp.hpp
variable_minibatch.hpp
distconv_layers.hpp
data_reader_numpy_npz.hpp
argmin.hpp
one_hot.hpp
tessellate.hpp
layer_term.hpp
compiler_control.hpp
sort.hpp
convolution.hpp
check_gradients.hpp
weighted_sum.hpp
concatenate.hpp
gpu_memory_usage.hpp
sgd.hpp
data_reader_merge_features.hpp
layer_metric.hpp
mini_batch_index.hpp
bernoulli.hpp
input_layer.hpp
dropout.hpp
alternate_updates.hpp
argmax.hpp
data_reader_smiles.hpp
print_model_description.hpp
channelwise_softmax.hpp
glob.hpp
stack_trace.hpp
entrywise_scale_bias.hpp
fully_connected.hpp
check_nan.hpp
dump_error_signals.hpp
early_stopping.hpp
data_reader_nci.hpp
data_reader_node2vec.hpp
dump_minibatch_sample_indices.hpp
mean_squared_error.hpp
data_reader_merge_samples.hpp
mini_batch_size.hpp
hang.hpp
instance_norm.hpp
identity.hpp
dump_outputs.hpp
adagrad.hpp
save_model.hpp
dummy.hpp
bilinear_resize.hpp
batch_normalization.hpp
split.hpp
variance.hpp
channelwise_scale_bias.hpp
categorical_accuracy.hpp
load_model.hpp
save_topk_models.hpp
matmul.hpp
confusion_matrix.hpp
elu.hpp
exception.hpp
variance_scaling_initializers.hpp
discrete_random.hpp
summary.hpp
initializer.hpp
identity_zero.hpp
omp_diagnostics.hpp
debug.hpp
sum.hpp
learning_rate.hpp
training_algorithm.hpp
check_dataset.hpp
weights.hpp
slice.hpp
persist.hpp
l2.hpp
hadamard.hpp
data_reader_imagenet.hpp
print_statistics.hpp
data_reader_numpy.hpp
deconvolution.hpp
replace_weights.hpp
perturb_adam.hpp
peek_map.hpp
data_reader_csv.hpp
adam.hpp
l1_norm.hpp
data_reader_synthetic.hpp
options.hpp
embedding.hpp
data_reader_mesh.hpp
timer.hpp
data_reader_mnist.hpp
summary.hpp
sync_layers.hpp
crop.hpp
batch_functional_inference_algorithm.hpp
selu_dropout.hpp
stop_gradient.hpp
data_reader_hdf5_legacy.hpp
dump_weights.hpp
profiler.hpp
monitor_io.hpp
in_top_k.hpp
model.hpp
save_images.hpp
debug_io.hpp
leaky_relu.hpp
check_small.hpp
check_init.hpp
timeline.hpp
perturb_dropout.hpp
channelwise_mean.hpp
checkpoint.hpp
include
lbann
lbann.hpp
Generated on Wed Oct 11 2023 20:49:37 for LBANN by
1.8.13