blob: 40243bb111d648b6252f6e44ed1af1c8c9138d14 [file] [log] [blame]
Georgios Pinitas236bfe72017-11-23 15:59:55 +00001/*
Georgios Pinitas7f530b32018-01-22 11:20:44 +00002 * Copyright (c) 2017-2018 ARM Limited.
Georgios Pinitas236bfe72017-11-23 15:59:55 +00003 *
4 * SPDX-License-Identifier: MIT
5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a copy
7 * of this software and associated documentation files (the "Software"), to
8 * deal in the Software without restriction, including without limitation the
9 * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
10 * sell copies of the Software, and to permit persons to whom the Software is
11 * furnished to do so, subject to the following conditions:
12 *
13 * The above copyright notice and this permission notice shall be included in all
14 * copies or substantial portions of the Software.
15 *
16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22 * SOFTWARE.
23 */
Georgios Pinitasd9eb2752018-04-03 13:44:29 +010024#include "arm_compute/graph.h"
Georgios Pinitas236bfe72017-11-23 15:59:55 +000025#include "support/ToolchainSupport.h"
26#include "utils/GraphUtils.h"
27#include "utils/Utils.h"
28
29#include <cstdlib>
30
Michalis Spyrou2b5f0f22018-01-10 14:08:50 +000031using namespace arm_compute::utils;
Georgios Pinitasd9eb2752018-04-03 13:44:29 +010032using namespace arm_compute::graph::frontend;
Georgios Pinitas236bfe72017-11-23 15:59:55 +000033using namespace arm_compute::graph_utils;
34
Georgios Pinitas236bfe72017-11-23 15:59:55 +000035/** Example demonstrating how to implement MobileNet's network using the Compute Library's graph API
36 *
37 * @param[in] argc Number of arguments
Giorgio Arenae0837712018-06-12 11:30:50 +010038 * @param[in] argv Arguments ( [optional] Target (0 = NEON, 1 = OpenCL, 2 = OpenCL with Tuner), [optional] Model ID (0 = MobileNetV1_1.0_224, 1 = MobileNetV1_0.75_160), [optional] Path to the weights folder, [optional] image, [optional] labels, [optional] data layout, [optional] Fast math for convolution layer (0 = DISABLED, 1 = ENABLED) )
Georgios Pinitas236bfe72017-11-23 15:59:55 +000039 */
Michalis Spyrou2b5f0f22018-01-10 14:08:50 +000040class GraphMobilenetExample : public Example
Georgios Pinitas236bfe72017-11-23 15:59:55 +000041{
Michalis Spyrou2b5f0f22018-01-10 14:08:50 +000042public:
43 void do_setup(int argc, char **argv) override
44 {
45 std::string data_path; /* Path to the trainable data */
46 std::string image; /* Image data */
47 std::string label; /* Label data */
Georgios Pinitas236bfe72017-11-23 15:59:55 +000048
Georgios Pinitas140fdc72018-02-16 11:42:38 +000049 // Create a preprocessor object
50 std::unique_ptr<IPreprocessor> preprocessor = arm_compute::support::cpp14::make_unique<TFPreproccessor>();
Georgios Pinitas236bfe72017-11-23 15:59:55 +000051
Michele Di Giorgioe3fba0a2018-02-14 14:18:01 +000052 // Set target. 0 (NEON), 1 (OpenCL), 2 (OpenCL with Tuner). By default it is NEON
Georgios Pinitasd8734b52017-12-22 15:27:52 +000053 const int target = argc > 1 ? std::strtol(argv[1], nullptr, 10) : 0;
Georgios Pinitasd9eb2752018-04-03 13:44:29 +010054 Target target_hint = set_target_hint(target);
Georgios Pinitasd8734b52017-12-22 15:27:52 +000055 DepthwiseConvolutionMethod depthwise_convolution_hint = DepthwiseConvolutionMethod::OPTIMIZED_3x3;
Giorgio Arena59631a12018-05-02 13:59:04 +010056 FastMathHint fast_math_hint = FastMathHint::DISABLED;
Gian Marcobfa3b522017-12-12 10:08:38 +000057
Georgios Pinitas7f530b32018-01-22 11:20:44 +000058 // Set model to execute. 0 (MobileNetV1_1.0_224), 1 (MobileNetV1_0.75_160)
59 int model_id = (argc > 2) ? std::strtol(argv[2], nullptr, 10) : 0;
60 ARM_COMPUTE_ERROR_ON_MSG(model_id > 1, "Invalid model ID. Model must be 0 (MobileNetV1_1.0_224) or 1 (MobileNetV1_0.75_160)");
Georgios Pinitascac13b12018-04-27 19:07:19 +010061 int layout_id = (argc > 3) ? std::strtol(argv[3], nullptr, 10) : 0;
62 ARM_COMPUTE_ERROR_ON_MSG(layout_id > 1, "Invalid layout ID. Layout must be 0 (NCHW) or 1 (NHWC)");
63
64 float depth_scale = (model_id == 0) ? 1.f : 0.75;
65 unsigned int spatial_size = (model_id == 0) ? 224 : 160;
66 std::string model_path = (model_id == 0) ? "/cnn_data/mobilenet_v1_1_224_model/" : "/cnn_data/mobilenet_v1_075_160_model/";
67 TensorDescriptor input_descriptor_nchw = TensorDescriptor(TensorShape(spatial_size, spatial_size, 3U, 1U), DataType::F32);
68 TensorDescriptor input_descriptor_nhwc = TensorDescriptor(TensorShape(3U, spatial_size, spatial_size, 1U), DataType::F32).set_layout(DataLayout::NHWC);
69 TensorDescriptor input_descriptor = (layout_id == 0) ? input_descriptor_nchw : input_descriptor_nhwc;
Georgios Pinitas7f530b32018-01-22 11:20:44 +000070
Michalis Spyrou2b5f0f22018-01-10 14:08:50 +000071 // Parse arguments
72 if(argc < 2)
73 {
74 // Print help
Giorgio Arena59631a12018-05-02 13:59:04 +010075 std::cout << "Usage: " << argv[0] << " [target] [model] [layout] [path_to_data] [image] [labels] [fast_math_hint]\n\n";
Georgios Pinitas7f530b32018-01-22 11:20:44 +000076 std::cout << "No model ID provided: using MobileNetV1_1.0_224\n\n";
Georgios Pinitascac13b12018-04-27 19:07:19 +010077 std::cout << "No data layout provided: using NCHW\n\n";
Michalis Spyrou2b5f0f22018-01-10 14:08:50 +000078 std::cout << "No data folder provided: using random values\n\n";
79 }
80 else if(argc == 2)
81 {
Giorgio Arena59631a12018-05-02 13:59:04 +010082 std::cout << "Usage: " << argv[0] << " " << argv[1] << " [model] [layout] [path_to_data] [image] [labels] [fast_math_hint]\n\n";
Georgios Pinitas7f530b32018-01-22 11:20:44 +000083 std::cout << "No model ID provided: using MobileNetV1_1.0_224\n\n";
Georgios Pinitascac13b12018-04-27 19:07:19 +010084 std::cout << "No data layout provided: using NCHW\n\n";
Michalis Spyrou2b5f0f22018-01-10 14:08:50 +000085 std::cout << "No data folder provided: using random values\n\n";
86 }
87 else if(argc == 3)
88 {
Giorgio Arena59631a12018-05-02 13:59:04 +010089 std::cout << "Usage: " << argv[0] << " " << argv[1] << " " << argv[2] << " [layout] [path_to_data] [image] [labels] [fast_math_hint]\n\n";
Georgios Pinitascac13b12018-04-27 19:07:19 +010090 std::cout << "No data layout provided: using NCHW\n\n";
Georgios Pinitas7f530b32018-01-22 11:20:44 +000091 std::cout << "No data folder provided: using random values\n\n";
Michalis Spyrou2b5f0f22018-01-10 14:08:50 +000092 }
93 else if(argc == 4)
94 {
Giorgio Arena59631a12018-05-02 13:59:04 +010095 std::cout << "Usage: " << argv[0] << " " << argv[1] << " " << argv[2] << " " << argv[3] << " [path_to_data] [image] [labels] [fast_math_hint]\n\n";
Georgios Pinitascac13b12018-04-27 19:07:19 +010096 std::cout << "No data folder provided: using random values\n\n";
Georgios Pinitas7f530b32018-01-22 11:20:44 +000097 }
98 else if(argc == 5)
99 {
Georgios Pinitascac13b12018-04-27 19:07:19 +0100100 data_path = argv[4];
Giorgio Arena59631a12018-05-02 13:59:04 +0100101 std::cout << "Usage: " << argv[0] << " " << argv[1] << " " << argv[2] << " " << argv[3] << " " << argv[4] << " [image] [labels] [fast_math_hint]\n\n";
Georgios Pinitascac13b12018-04-27 19:07:19 +0100102 std::cout << "No image provided: using random values\n\n";
103 std::cout << "No text file with labels provided: skipping output accessor\n\n";
104 }
105 else if(argc == 6)
106 {
107 data_path = argv[4];
108 image = argv[5];
Giorgio Arena59631a12018-05-02 13:59:04 +0100109 std::cout << "Usage: " << argv[0] << " " << argv[1] << " " << argv[2] << " " << argv[3] << " [labels] [fast_math_hint]\n\n";
Michalis Spyrou2b5f0f22018-01-10 14:08:50 +0000110 std::cout << "No text file with labels provided: skipping output accessor\n\n";
111 }
Giorgio Arena59631a12018-05-02 13:59:04 +0100112 else if(argc == 7)
Michalis Spyrou2b5f0f22018-01-10 14:08:50 +0000113 {
Georgios Pinitascac13b12018-04-27 19:07:19 +0100114 data_path = argv[4];
115 image = argv[5];
116 label = argv[6];
Giorgio Arena59631a12018-05-02 13:59:04 +0100117 std::cout << "Usage: " << argv[0] << " " << argv[1] << " " << argv[2] << " " << argv[3] << " " << argv[4] << " [fast_math_hint]\n\n";
118 std::cout << "No fast math info provided: disabling fast math\n\n";
119 }
120 else
121 {
122 data_path = argv[4];
123 image = argv[5];
124 label = argv[6];
125 fast_math_hint = (std::strtol(argv[7], nullptr, 1) == 0) ? FastMathHint::DISABLED : FastMathHint::ENABLED;
Georgios Pinitas7f530b32018-01-22 11:20:44 +0000126 }
127
128 // Add model path to data path
129 if(!data_path.empty())
130 {
131 data_path += model_path;
Michalis Spyrou2b5f0f22018-01-10 14:08:50 +0000132 }
133
134 graph << target_hint
Georgios Pinitasd8734b52017-12-22 15:27:52 +0000135 << depthwise_convolution_hint
Giorgio Arena59631a12018-05-02 13:59:04 +0100136 << fast_math_hint
Georgios Pinitascac13b12018-04-27 19:07:19 +0100137 << InputLayer(input_descriptor,
Georgios Pinitasd8734b52017-12-22 15:27:52 +0000138 get_input_accessor(image, std::move(preprocessor), false))
Michalis Spyrou2b5f0f22018-01-10 14:08:50 +0000139 << ConvolutionLayer(
Georgios Pinitas7f530b32018-01-22 11:20:44 +0000140 3U, 3U, 32U * depth_scale,
Georgios Pinitascac13b12018-04-27 19:07:19 +0100141 get_weights_accessor(data_path, "Conv2d_0_weights.npy", DataLayout::NCHW),
Michalis Spyrou2b5f0f22018-01-10 14:08:50 +0000142 std::unique_ptr<arm_compute::graph::ITensorAccessor>(nullptr),
143 PadStrideInfo(2, 2, 0, 1, 0, 1, DimensionRoundingType::FLOOR))
Georgios Pinitas5c2fb3f2018-05-01 15:26:20 +0100144 .set_name("Conv2d_0")
Michalis Spyrou2b5f0f22018-01-10 14:08:50 +0000145 << BatchNormalizationLayer(
Georgios Pinitas7f530b32018-01-22 11:20:44 +0000146 get_weights_accessor(data_path, "Conv2d_0_BatchNorm_moving_mean.npy"),
147 get_weights_accessor(data_path, "Conv2d_0_BatchNorm_moving_variance.npy"),
148 get_weights_accessor(data_path, "Conv2d_0_BatchNorm_gamma.npy"),
149 get_weights_accessor(data_path, "Conv2d_0_BatchNorm_beta.npy"),
Georgios Pinitasd8734b52017-12-22 15:27:52 +0000150 0.001f)
Georgios Pinitas5c2fb3f2018-05-01 15:26:20 +0100151 .set_name("Conv2d_0/BatchNorm")
152 << ActivationLayer(ActivationLayerInfo(ActivationLayerInfo::ActivationFunction::BOUNDED_RELU, 6.f)).set_name("Conv2d_0/Relu6");
Georgios Pinitas41c482d2018-04-17 13:23:26 +0100153 graph << get_dwsc_node(data_path, "Conv2d_1", 64 * depth_scale, PadStrideInfo(1, 1, 1, 1), PadStrideInfo(1, 1, 0, 0));
154 graph << get_dwsc_node(data_path, "Conv2d_2", 128 * depth_scale, PadStrideInfo(2, 2, 0, 1, 0, 1, DimensionRoundingType::CEIL), PadStrideInfo(1, 1, 0, 0));
155 graph << get_dwsc_node(data_path, "Conv2d_3", 128 * depth_scale, PadStrideInfo(1, 1, 1, 1, 1, 1, DimensionRoundingType::CEIL), PadStrideInfo(1, 1, 0, 0));
156 graph << get_dwsc_node(data_path, "Conv2d_4", 256 * depth_scale, PadStrideInfo(2, 2, 0, 1, 0, 1, DimensionRoundingType::CEIL), PadStrideInfo(1, 1, 0, 0));
157 graph << get_dwsc_node(data_path, "Conv2d_5", 256 * depth_scale, PadStrideInfo(1, 1, 1, 1, 1, 1, DimensionRoundingType::CEIL), PadStrideInfo(1, 1, 0, 0));
158 graph << get_dwsc_node(data_path, "Conv2d_6", 512 * depth_scale, PadStrideInfo(2, 2, 0, 1, 0, 1, DimensionRoundingType::CEIL), PadStrideInfo(1, 1, 0, 0));
159 graph << get_dwsc_node(data_path, "Conv2d_7", 512 * depth_scale, PadStrideInfo(1, 1, 1, 1, 1, 1, DimensionRoundingType::CEIL), PadStrideInfo(1, 1, 0, 0));
160 graph << get_dwsc_node(data_path, "Conv2d_8", 512 * depth_scale, PadStrideInfo(1, 1, 1, 1, 1, 1, DimensionRoundingType::CEIL), PadStrideInfo(1, 1, 0, 0));
161 graph << get_dwsc_node(data_path, "Conv2d_9", 512 * depth_scale, PadStrideInfo(1, 1, 1, 1, 1, 1, DimensionRoundingType::CEIL), PadStrideInfo(1, 1, 0, 0));
162 graph << get_dwsc_node(data_path, "Conv2d_10", 512 * depth_scale, PadStrideInfo(1, 1, 1, 1, 1, 1, DimensionRoundingType::CEIL), PadStrideInfo(1, 1, 0, 0));
163 graph << get_dwsc_node(data_path, "Conv2d_11", 512 * depth_scale, PadStrideInfo(1, 1, 1, 1, 1, 1, DimensionRoundingType::CEIL), PadStrideInfo(1, 1, 0, 0));
164 graph << get_dwsc_node(data_path, "Conv2d_12", 1024 * depth_scale, PadStrideInfo(2, 2, 0, 1, 0, 1, DimensionRoundingType::CEIL), PadStrideInfo(1, 1, 0, 0));
165 graph << get_dwsc_node(data_path, "Conv2d_13", 1024 * depth_scale, PadStrideInfo(1, 1, 1, 1, 1, 1, DimensionRoundingType::CEIL), PadStrideInfo(1, 1, 0, 0));
Georgios Pinitas5c2fb3f2018-05-01 15:26:20 +0100166 graph << PoolingLayer(PoolingLayerInfo(PoolingType::AVG)).set_name("Logits/AvgPool_1a")
Michalis Spyrou2b5f0f22018-01-10 14:08:50 +0000167 << ConvolutionLayer(
168 1U, 1U, 1001U,
Georgios Pinitascac13b12018-04-27 19:07:19 +0100169 get_weights_accessor(data_path, "Logits_Conv2d_1c_1x1_weights.npy", DataLayout::NCHW),
Georgios Pinitas7f530b32018-01-22 11:20:44 +0000170 get_weights_accessor(data_path, "Logits_Conv2d_1c_1x1_biases.npy"),
Michalis Spyrou2b5f0f22018-01-10 14:08:50 +0000171 PadStrideInfo(1, 1, 0, 0))
Georgios Pinitas5c2fb3f2018-05-01 15:26:20 +0100172 .set_name("Logits/Conv2d_1c_1x1")
173 << ReshapeLayer(TensorShape(1001U)).set_name("Reshape")
174 << SoftmaxLayer().set_name("Softmax")
Georgios Pinitasd8734b52017-12-22 15:27:52 +0000175 << OutputLayer(get_output_accessor(label, 5));
Gian Marcoc1b6e372018-02-21 18:03:26 +0000176
Georgios Pinitasd8734b52017-12-22 15:27:52 +0000177 // Finalize graph
Georgios Pinitas9a8c6722018-03-21 17:52:35 +0000178 GraphConfig config;
Georgios Pinitas3d1489d2018-05-03 20:47:16 +0100179 config.use_tuner = (target == 2);
Georgios Pinitas9a8c6722018-03-21 17:52:35 +0000180 graph.finalize(target_hint, config);
Georgios Pinitas236bfe72017-11-23 15:59:55 +0000181 }
Michalis Spyrou2b5f0f22018-01-10 14:08:50 +0000182 void do_run() override
Georgios Pinitas236bfe72017-11-23 15:59:55 +0000183 {
Michalis Spyrou2b5f0f22018-01-10 14:08:50 +0000184 // Run graph
185 graph.run();
Georgios Pinitas236bfe72017-11-23 15:59:55 +0000186 }
187
Michalis Spyrou2b5f0f22018-01-10 14:08:50 +0000188private:
Georgios Pinitasd8734b52017-12-22 15:27:52 +0000189 Stream graph{ 0, "MobileNetV1" };
Gian Marcobfa3b522017-12-12 10:08:38 +0000190
Michalis Spyrou2b5f0f22018-01-10 14:08:50 +0000191 BranchLayer get_dwsc_node(const std::string &data_path, std::string &&param_path,
192 unsigned int conv_filt,
193 PadStrideInfo dwc_pad_stride_info, PadStrideInfo conv_pad_stride_info)
194 {
Georgios Pinitas7f530b32018-01-22 11:20:44 +0000195 std::string total_path = param_path + "_";
Georgios Pinitasd8734b52017-12-22 15:27:52 +0000196 SubStream sg(graph);
Michalis Spyrou2b5f0f22018-01-10 14:08:50 +0000197 sg << DepthwiseConvolutionLayer(
198 3U, 3U,
Georgios Pinitascac13b12018-04-27 19:07:19 +0100199 get_weights_accessor(data_path, total_path + "depthwise_depthwise_weights.npy", DataLayout::NCHW),
Michalis Spyrou2b5f0f22018-01-10 14:08:50 +0000200 std::unique_ptr<arm_compute::graph::ITensorAccessor>(nullptr),
Georgios Pinitasd8734b52017-12-22 15:27:52 +0000201 dwc_pad_stride_info)
Georgios Pinitas5c2fb3f2018-05-01 15:26:20 +0100202 .set_name(total_path + "depthwise/depthwise")
Michalis Spyrou2b5f0f22018-01-10 14:08:50 +0000203 << BatchNormalizationLayer(
204 get_weights_accessor(data_path, total_path + "depthwise_BatchNorm_moving_mean.npy"),
205 get_weights_accessor(data_path, total_path + "depthwise_BatchNorm_moving_variance.npy"),
Michalis Spyrou2b5f0f22018-01-10 14:08:50 +0000206 get_weights_accessor(data_path, total_path + "depthwise_BatchNorm_gamma.npy"),
Georgios Pinitas7f530b32018-01-22 11:20:44 +0000207 get_weights_accessor(data_path, total_path + "depthwise_BatchNorm_beta.npy"),
Georgios Pinitasd8734b52017-12-22 15:27:52 +0000208 0.001f)
Georgios Pinitas5c2fb3f2018-05-01 15:26:20 +0100209 .set_name(total_path + "depthwise/BatchNorm")
210 << ActivationLayer(ActivationLayerInfo(ActivationLayerInfo::ActivationFunction::BOUNDED_RELU, 6.f)).set_name(total_path + "depthwise/Relu6")
Michalis Spyrou2b5f0f22018-01-10 14:08:50 +0000211 << ConvolutionLayer(
212 1U, 1U, conv_filt,
Georgios Pinitascac13b12018-04-27 19:07:19 +0100213 get_weights_accessor(data_path, total_path + "pointwise_weights.npy", DataLayout::NCHW),
Michalis Spyrou2b5f0f22018-01-10 14:08:50 +0000214 std::unique_ptr<arm_compute::graph::ITensorAccessor>(nullptr),
215 conv_pad_stride_info)
Georgios Pinitas5c2fb3f2018-05-01 15:26:20 +0100216 .set_name(total_path + "pointwise/Conv2D")
Michalis Spyrou2b5f0f22018-01-10 14:08:50 +0000217 << BatchNormalizationLayer(
218 get_weights_accessor(data_path, total_path + "pointwise_BatchNorm_moving_mean.npy"),
219 get_weights_accessor(data_path, total_path + "pointwise_BatchNorm_moving_variance.npy"),
Michalis Spyrou2b5f0f22018-01-10 14:08:50 +0000220 get_weights_accessor(data_path, total_path + "pointwise_BatchNorm_gamma.npy"),
Georgios Pinitas7f530b32018-01-22 11:20:44 +0000221 get_weights_accessor(data_path, total_path + "pointwise_BatchNorm_beta.npy"),
Georgios Pinitasd8734b52017-12-22 15:27:52 +0000222 0.001f)
Georgios Pinitas5c2fb3f2018-05-01 15:26:20 +0100223 .set_name(total_path + "pointwise/BatchNorm")
224 << ActivationLayer(ActivationLayerInfo(ActivationLayerInfo::ActivationFunction::BOUNDED_RELU, 6.f)).set_name(total_path + "pointwise/Relu6");
Gian Marcobfa3b522017-12-12 10:08:38 +0000225
Michalis Spyrou2b5f0f22018-01-10 14:08:50 +0000226 return BranchLayer(std::move(sg));
227 }
228};
Georgios Pinitas236bfe72017-11-23 15:59:55 +0000229
230/** Main program for MobileNetV1
231 *
232 * @param[in] argc Number of arguments
Isabella Gottardi88d5b222018-04-06 12:24:55 +0100233 * @param[in] argv Arguments ( [optional] Target (0 = NEON, 1 = OpenCL, 2 = OpenCL with Tuner),
Georgios Pinitas7f530b32018-01-22 11:20:44 +0000234 * [optional] Model ID (0 = MobileNetV1_1.0_224, 1 = MobileNetV1_0.75_160),
235 * [optional] Path to the weights folder,
236 * [optional] image,
Giorgio Arena59631a12018-05-02 13:59:04 +0100237 * [optional] labels,
238 * [optional] data layout,
239 * [optional] Fast math for convolution layer (0 = DISABLED, 1 = ENABLED) )
Georgios Pinitas236bfe72017-11-23 15:59:55 +0000240 */
Anthony Barbier6db0ff52018-01-05 10:59:12 +0000241int main(int argc, char **argv)
Georgios Pinitas236bfe72017-11-23 15:59:55 +0000242{
Michalis Spyrou2b5f0f22018-01-10 14:08:50 +0000243 return arm_compute::utils::run_example<GraphMobilenetExample>(argc, argv);
Georgios Pinitas236bfe72017-11-23 15:59:55 +0000244}