| 1 |
// Copyright(C) 1999-2024 National Technology & Engineering Solutions |
| 2 |
// of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with |
| 3 |
// NTESS, the U.S. Government retains certain rights in this software. |
| 4 |
// |
| 5 |
// See packages/seacas/LICENSE for details |
| 6 |
|
| 7 |
#include "Ionit_Initializer.h" |
| 8 |
#include "Ioss_DBUsage.h" |
| 9 |
#include "Ioss_ElementBlock.h" |
| 10 |
#include "Ioss_ElementTopology.h" |
| 11 |
#include "Ioss_Hex8.h" |
| 12 |
#include "Ioss_NodeBlock.h" |
| 13 |
#include "Ioss_NodeSet.h" |
| 14 |
#include "Ioss_PropertyManager.h" |
| 15 |
#include "Ioss_Region.h" |
| 16 |
#include "Ioss_Shell4.h" |
| 17 |
#include "Ioss_SideBlock.h" |
| 18 |
#include "Ioss_SideSet.h" |
| 19 |
#include "exodus/Ioex_DatabaseIO.h" |
| 20 |
|
| 21 |
#include <catch2/catch_session.hpp> |
| 22 |
#include <catch2/catch_test_macros.hpp> |
| 23 |
#include <fmt/core.h> |
| 24 |
#include <stdint.h> |
| 25 |
#include <stdio.h> |
| 26 |
#include <string> |
| 27 |
#include <vector> |
| 28 |
|
| 29 |
#include "Ioss_CodeTypes.h" |
| 30 |
#include "Ioss_Field.h" |
| 31 |
#include "Ioss_ParallelUtils.h" |
| 32 |
#include "Ioss_Property.h" |
| 33 |
#include "Ioss_ScopeGuard.h" |
| 34 |
#include "Ioss_State.h" |
| 35 |
#include "Ioss_SurfaceSplit.h" |
| 36 |
|
| 37 |
namespace { |
| 38 |
std::string input_filename = "ADeDA.e"; |
| 39 |
|
| 40 |
void test_topology(const Ioss::ElementTopology *topology, const std::string &gold_top, |
| 41 |
const int parameteric_dim, const int num_vertices, const int num_nodes, |
| 42 |
const int num_edges, const int num_faces, const int num_boundaries); |
| 43 |
|
| 44 |
Ioex::DatabaseIO *create_input_db_io(const std::string &filename) |
| 45 |
{ |
| 46 |
Ioss::Init::Initializer init_db; |
| 47 |
|
| 48 |
Ioss::DatabaseUsage db_usage = Ioss::READ_MODEL; |
| 49 |
Ioss::PropertyManager properties; |
| 50 |
|
| 51 |
properties.add(Ioss::Property("INTEGER_SIZE_DB", 8)); |
| 52 |
properties.add(Ioss::Property("INTEGER_SIZE_API", 8)); |
| 53 |
|
| 54 |
auto *db_io = new Ioex::DatabaseIO(nullptr, filename, db_usage, |
| 55 |
Ioss::ParallelUtils::comm_world(), properties); |
| 56 |
return db_io; |
| 57 |
} |
| 58 |
|
| 59 |
// BeginDocTest1 |
| 60 |
Ioex::DatabaseIO *create_output_db_io(const std::string &filename) |
| 61 |
{ |
| 62 |
Ioss::Init::Initializer init_db; |
| 63 |
Ioss::DatabaseUsage db_usage = Ioss::WRITE_RESULTS; |
| 64 |
Ioss::PropertyManager properties; |
| 65 |
|
| 66 |
properties.add(Ioss::Property("INTEGER_SIZE_DB", 8)); |
| 67 |
properties.add(Ioss::Property("INTEGER_SIZE_API", 8)); |
| 68 |
|
| 69 |
auto *db_io = new Ioex::DatabaseIO(nullptr, filename, db_usage, |
| 70 |
Ioss::ParallelUtils::comm_world(), properties); |
| 71 |
return db_io; |
| 72 |
} |
| 73 |
|
| 74 |
TEST_CASE("Ioex::constructor") |
| 75 |
{ |
| 76 |
Ioex::DatabaseIO *db_io = create_input_db_io(input_filename); |
| 77 |
db_io->set_surface_split_type(Ioss::SPLIT_BY_ELEMENT_BLOCK); |
| 78 |
|
| 79 |
Ioss::Region region(db_io); |
| 80 |
|
| 81 |
CHECK(db_io->ok()); |
| 82 |
|
| 83 |
const std::vector<Ioss::ElementBlock *> &element_blocks = region.get_element_blocks(); |
| 84 |
CHECK(2u == element_blocks.size()); |
| 85 |
|
| 86 |
std::vector<std::string> gold_strings{"block_2", "block_1"}; |
| 87 |
std::vector<std::string> gold_top_names{Ioss::Hex8::name, Ioss::Shell4::name}; |
| 88 |
std::vector<int> parametric_dim{3, 2}; |
| 89 |
std::vector<int> num_vertices{8, 4}; |
| 90 |
std::vector<int> number_nodes{8, 4}; |
| 91 |
std::vector<int> num_edges{12, 4}; |
| 92 |
std::vector<int> num_faces{6, 2}; |
| 93 |
std::vector<int> num_boundaries{6, 6}; |
| 94 |
std::vector<size_t> gold_conn_size{16, 4}; |
| 95 |
std::vector<std::vector<int>> gold_connectivity{ |
| 96 |
{1, 2, 3, 4, 5, 6, 7, 8, 5, 6, 7, 8, 9, 10, 11, 12}, {5, 6, 7, 8}}; |
| 97 |
|
| 98 |
std::vector<size_t> gold_num_elements_per_block{2, 1}; |
| 99 |
std::vector<std::vector<int64_t>> gold_ids{{1, 2}, {3}}; |
| 100 |
|
| 101 |
std::vector<bool> attributes_exist{false, true}; |
| 102 |
std::vector<size_t> num_attributes{0, 1}; |
| 103 |
|
| 104 |
// element block testing |
| 105 |
|
| 106 |
for (size_t i = 0; i < element_blocks.size(); ++i) { |
| 107 |
std::vector<std::string> empty = element_blocks[i]->get_block_adjacencies(); |
| 108 |
CHECK(!empty.empty()); |
| 109 |
CHECK(gold_strings[i] == empty[0]); |
| 110 |
|
| 111 |
const Ioss::ElementTopology *topology = element_blocks[i]->topology(); |
| 112 |
test_topology(topology, gold_top_names[i], parametric_dim[i], num_vertices[i], |
| 113 |
number_nodes[i], num_edges[i], num_faces[i], num_boundaries[i]); |
| 114 |
|
| 115 |
std::vector<int64_t> connectivity; |
| 116 |
element_blocks[i]->get_field_data("connectivity_raw", connectivity); |
| 117 |
|
| 118 |
CHECK(gold_conn_size[i] == connectivity.size()); |
| 119 |
for (size_t j = 0; j < gold_conn_size[i]; ++j) { |
| 120 |
CHECK(gold_connectivity[i][j] == connectivity[j]); |
| 121 |
} |
| 122 |
|
| 123 |
std::vector<int64_t> ids; |
| 124 |
element_blocks[i]->get_field_data("ids", ids); |
| 125 |
|
| 126 |
CHECK(gold_num_elements_per_block[i] == ids.size()); |
| 127 |
for (size_t j = 0; j < ids.size(); ++j) { |
| 128 |
CHECK(gold_ids[i][j] == ids[j]); |
| 129 |
} |
| 130 |
|
| 131 |
std::vector<double> attributeValues; |
| 132 |
CHECK(attributes_exist[i] == element_blocks[i]->field_exists("attribute")); |
| 133 |
if (attributes_exist[i]) { |
| 134 |
int num_attr = element_blocks[i]->get_property("attribute_count").get_int(); |
| 135 |
CHECK(1 == num_attr); |
| 136 |
element_blocks[i]->get_field_data("attribute", attributeValues); |
| 137 |
CHECK(num_attributes[i] == attributeValues.size()); |
| 138 |
} |
| 139 |
} |
| 140 |
|
| 141 |
// node block testing |
| 142 |
|
| 143 |
std::vector<double> gold_coordinates{-0.5, -0.5, -0.5, -0.5, 0.5, 0.5, 0.5, 0.5, 1.5, |
| 144 |
1.5, 1.5, 1.5, -0.5, -0.5, 0.5, 0.5, -0.5, -0.5, |
| 145 |
0.5, 0.5, -0.5, -0.5, 0.5, 0.5, 0.5, -0.5, -0.5, |
| 146 |
0.5, 0.5, -0.5, -0.5, 0.5, 0.5, -0.5, -0.5, 0.5}; |
| 147 |
|
| 148 |
Ioss::NodeBlock *nb = region.get_node_blocks()[0]; |
| 149 |
std::vector<double> coordinates; |
| 150 |
nb->get_field_data("mesh_model_coordinates", coordinates); |
| 151 |
int64_t num_nodes = nb->entity_count(); |
| 152 |
int64_t spatial_dim = nb->get_property("component_degree").get_int(); |
| 153 |
|
| 154 |
size_t num_coordinates = num_nodes * spatial_dim; |
| 155 |
|
| 156 |
CHECK(coordinates.size() == num_coordinates); |
| 157 |
for (int i = 0; i < num_nodes; ++i) { |
| 158 |
for (int j = 0; j < spatial_dim; ++j) { |
| 159 |
int index_coordinate = spatial_dim * i + j; |
| 160 |
int index_gold_coordinate = num_nodes * j + i; |
| 161 |
// gold_coordinates = { all_x, all_y, all_z }; |
| 162 |
// coordinates = { x1, y1, z1, x2, y2, z2, ..., }; |
| 163 |
CHECK(gold_coordinates[index_gold_coordinate] == coordinates[index_coordinate]); |
| 164 |
} |
| 165 |
} |
| 166 |
|
| 167 |
// sidesets |
| 168 |
|
| 169 |
const std::vector<Ioss::SideSet *> &sidesets = region.get_sidesets(); |
| 170 |
CHECK(2u == sidesets.size()); |
| 171 |
|
| 172 |
// std::vector<bool> gold_df_exist{true, true}; |
| 173 |
|
| 174 |
// sidesets might be sorted by local element id |
| 175 |
|
| 176 |
// in exodus file: sideset 1 is elements 1 and 3, sideset 2 is 3 and 2 (however it is reversed |
| 177 |
// in results below) |
| 178 |
|
| 179 |
std::vector<std::vector<int64_t>> gold_element_ids = {{1, 3}, {2, 3}}; |
| 180 |
std::vector<std::vector<int64_t>> gold_side_ids = {{6, 2}, {5, 1}}; |
| 181 |
std::vector<std::vector<int64_t>> gold_sideset_conn = {{5, 6, 7, 8, 5, 8, 7, 6}, |
| 182 |
{5, 8, 7, 6, 5, 6, 7, 8}}; |
| 183 |
|
| 184 |
for (size_t i = 0; i < sidesets.size(); ++i) { |
| 185 |
std::vector<int64_t> element_ids; |
| 186 |
std::vector<int64_t> side_ids; |
| 187 |
std::vector<int64_t> connectivity; |
| 188 |
|
| 189 |
for (size_t j = 0; j < sidesets[i]->block_count(); ++j) { |
| 190 |
Ioss::SideBlock *block = sidesets[i]->get_block(j); |
| 191 |
std::vector<int64_t> side_ids_per_block; |
| 192 |
std::vector<int64_t> connectivity_per_block; |
| 193 |
|
| 194 |
CHECK(block->field_exists("element_side_raw")); |
| 195 |
block->get_field_data("element_side_raw", side_ids_per_block); |
| 196 |
for (size_t k = 0; k < side_ids_per_block.size(); k += 2) { |
| 197 |
element_ids.push_back(side_ids_per_block[k]); |
| 198 |
side_ids.push_back(side_ids_per_block[k + 1]); |
| 199 |
} |
| 200 |
|
| 201 |
CHECK(block->field_exists("connectivity_raw")); |
| 202 |
block->get_field_data("connectivity_raw", connectivity_per_block); |
| 203 |
CHECK(4u == connectivity_per_block.size()); |
| 204 |
connectivity.insert(connectivity.end(), connectivity_per_block.begin(), |
| 205 |
connectivity_per_block.end()); |
| 206 |
} |
| 207 |
|
| 208 |
CHECK(element_ids.size() == side_ids.size()); |
| 209 |
for (size_t j = 0; j < element_ids.size(); ++j) { |
| 210 |
INFO(fmt::format("Sideset Element and Side Ids check for sideset {}, element {}", i + 1, |
| 211 |
j + 1)); |
| 212 |
CHECK(gold_element_ids[i][j] == element_ids[j]); |
| 213 |
CHECK(gold_side_ids[i][j] == side_ids[j]); |
| 214 |
} |
| 215 |
|
| 216 |
CHECK(gold_sideset_conn[i].size() == connectivity.size()); |
| 217 |
for (size_t j = 0; j < connectivity.size(); ++j) { |
| 218 |
INFO(fmt::format("Sideset Connectivity for sideset {}, node {}", i + 1, j + 1)); |
| 219 |
CHECK(gold_sideset_conn[i][j] == connectivity[j]); |
| 220 |
} |
| 221 |
} |
| 222 |
} |
| 223 |
// EndDocTest1 |
| 224 |
|
| 225 |
void test_topology(const Ioss::ElementTopology *topology, const std::string &gold_top, |
| 226 |
const int parameteric_dim, const int num_vertices, const int num_nodes, |
| 227 |
const int num_edges, const int num_faces, const int num_boundaries) |
| 228 |
{ |
| 229 |
const std::string &name = topology->name(); |
| 230 |
CHECK(gold_top == name); |
| 231 |
|
| 232 |
CHECK(topology->is_element()); |
| 233 |
CHECK(3 == topology->spatial_dimension()); |
| 234 |
CHECK(parameteric_dim == topology->parametric_dimension()); |
| 235 |
CHECK(1 == topology->order()); |
| 236 |
|
| 237 |
CHECK(topology->edges_similar()); |
| 238 |
CHECK(topology->faces_similar()); |
| 239 |
|
| 240 |
CHECK(num_vertices == topology->number_corner_nodes()); |
| 241 |
CHECK(num_nodes == topology->number_nodes()); |
| 242 |
CHECK(num_edges == topology->number_edges()); |
| 243 |
CHECK(num_faces == topology->number_faces()); |
| 244 |
CHECK(num_boundaries == topology->number_boundaries()); |
| 245 |
|
| 246 |
for (int i = 0; i < num_edges; ++i) { |
| 247 |
CHECK(2 == topology->number_nodes_edge(i)); |
| 248 |
} |
| 249 |
|
| 250 |
for (int i = 0; i < num_faces; ++i) { |
| 251 |
CHECK(4 == topology->number_nodes_face(i)); |
| 252 |
CHECK(4 == topology->number_edges_face(i)); |
| 253 |
} |
| 254 |
|
| 255 |
std::vector<int> element_connectivity = topology->element_connectivity(); |
| 256 |
CHECK((size_t)num_nodes == element_connectivity.size()); |
| 257 |
} |
| 258 |
|
| 259 |
// BeginDocTest2 |
| 260 |
TEST_CASE("Ioex::write_file") |
| 261 |
{ |
| 262 |
Ioex::DatabaseIO *db_in = create_input_db_io(input_filename); |
| 263 |
|
| 264 |
Ioss::Region input_region(db_in); |
| 265 |
|
| 266 |
CHECK(db_in->ok()); |
| 267 |
|
| 268 |
const std::string output_filename = "ADeDA_out.e"; |
| 269 |
|
| 270 |
Ioex::DatabaseIO *db_out = create_output_db_io(output_filename); |
| 271 |
Ioss::Region output_region(db_out); |
| 272 |
CHECK(db_out->ok()); |
| 273 |
|
| 274 |
output_region.begin_mode(Ioss::STATE_DEFINE_MODEL); |
| 275 |
|
| 276 |
std::string NodeBlockName = "nodeblock_1"; |
| 277 |
|
| 278 |
auto nb = input_region.get_node_blocks()[0]; |
| 279 |
int64_t num_nodes = nb->entity_count(); |
| 280 |
int spatial_dim = nb->get_property("component_degree").get_int(); |
| 281 |
|
| 282 |
auto *output_node_block = new Ioss::NodeBlock(db_out, NodeBlockName, num_nodes, spatial_dim); |
| 283 |
output_region.add(output_node_block); |
| 284 |
|
| 285 |
const auto &input_element_blocks = input_region.get_element_blocks(); |
| 286 |
for (const auto &block : input_element_blocks) { |
| 287 |
const auto *topology = block->topology(); |
| 288 |
int block_id = block->get_property("id").get_int(); |
| 289 |
|
| 290 |
const std::string &name = block->name(); |
| 291 |
std::string exotype = topology->name(); |
| 292 |
int64_t num_elements = block->entity_count(); |
| 293 |
|
| 294 |
auto *output_element_block = new Ioss::ElementBlock(db_out, name, exotype, num_elements); |
| 295 |
output_element_block->property_add(Ioss::Property("original_topology_type", exotype)); |
| 296 |
output_element_block->property_add(Ioss::Property("id", block_id)); |
| 297 |
output_region.add(output_element_block); |
| 298 |
|
| 299 |
int num_attributes = block->get_property("attribute_count").get_int(); |
| 300 |
for (int j = 0; j < num_attributes; ++j) { |
| 301 |
output_element_block->field_add(Ioss::Field("attribute", Ioss::Field::REAL, "scalar", |
| 302 |
Ioss::Field::ATTRIBUTE, num_elements, j + 1)); |
| 303 |
} |
| 304 |
} |
| 305 |
|
| 306 |
const auto &nodesets_input = input_region.get_nodesets(); |
| 307 |
for (const auto &nset : nodesets_input) { |
| 308 |
const std::string &nodeset_name = nset->name(); |
| 309 |
int64_t number_nodes_in_nodeset = nset->entity_count(); |
| 310 |
|
| 311 |
auto *const nodeset = new Ioss::NodeSet(db_out, nodeset_name, number_nodes_in_nodeset); |
| 312 |
output_region.add(nodeset); |
| 313 |
int num_local_owned_nodes = number_nodes_in_nodeset; |
| 314 |
nodeset->property_add(Ioss::Property("locally_owned_count", num_local_owned_nodes)); |
| 315 |
} |
| 316 |
|
| 317 |
const auto &sidesets_input = input_region.get_sidesets(); |
| 318 |
for (const auto &sset : sidesets_input) { |
| 319 |
const std::string &sideset_name = sset->name(); |
| 320 |
|
| 321 |
auto *const sideset_output = new Ioss::SideSet(db_out, sideset_name); |
| 322 |
output_region.add(sideset_output); |
| 323 |
|
| 324 |
const auto &side_blocks = sset->get_side_blocks(); |
| 325 |
for (const auto &sblock : side_blocks) { |
| 326 |
const std::string &topo_name = sblock->topology()->name(); |
| 327 |
int64_t side_count = sblock->entity_count(); |
| 328 |
const std::string &parent_topo_name = sblock->parent_element_topology()->name(); |
| 329 |
const std::string &side_block_name = sblock->name(); |
| 330 |
auto *side_block = |
| 331 |
new Ioss::SideBlock(db_out, side_block_name, topo_name, parent_topo_name, side_count); |
| 332 |
|
| 333 |
sideset_output->add(side_block); |
| 334 |
|
| 335 |
int nodes_per_side = sblock->topology()->number_nodes(); |
| 336 |
std::string storage_type = "Real["; |
| 337 |
storage_type += std::to_string(nodes_per_side); |
| 338 |
storage_type += "]"; |
| 339 |
side_block->field_add(Ioss::Field("distribution_factors", Ioss::Field::REAL, storage_type, |
| 340 |
Ioss::Field::MESH, side_count)); |
| 341 |
} |
| 342 |
} |
| 343 |
|
| 344 |
output_region.end_mode(Ioss::STATE_DEFINE_MODEL); |
| 345 |
|
| 346 |
output_region.begin_mode(Ioss::STATE_MODEL); |
| 347 |
|
| 348 |
{ |
| 349 |
auto *input_node_block = input_region.get_node_blocks()[0]; |
| 350 |
|
| 351 |
std::vector<double> coordinates; |
| 352 |
input_node_block->get_field_data("mesh_model_coordinates", coordinates); |
| 353 |
output_node_block->put_field_data("mesh_model_coordinates", coordinates); |
| 354 |
|
| 355 |
std::vector<int64_t> node_ids; |
| 356 |
input_node_block->get_field_data("ids", node_ids); |
| 357 |
output_node_block->put_field_data("ids", node_ids); |
| 358 |
} |
| 359 |
|
| 360 |
auto output_element_blocks = output_region.get_element_blocks(); |
| 361 |
for (size_t blk = 0; blk < output_element_blocks.size(); blk++) { |
| 362 |
std::vector<int64_t> elem_ids; |
| 363 |
input_element_blocks[blk]->get_field_data("ids", elem_ids); |
| 364 |
output_element_blocks[blk]->put_field_data("ids", elem_ids); |
| 365 |
|
| 366 |
std::vector<int64_t> connectivity; |
| 367 |
input_element_blocks[blk]->get_field_data("connectivity_raw", connectivity); |
| 368 |
output_element_blocks[blk]->put_field_data("connectivity_raw", connectivity); |
| 369 |
|
| 370 |
if (input_element_blocks[blk]->field_exists("attribute")) { |
| 371 |
std::vector<double> attributeValues; |
| 372 |
input_element_blocks[blk]->get_field_data("attribute", attributeValues); |
| 373 |
output_element_blocks[blk]->put_field_data("attribute", attributeValues); |
| 374 |
} |
| 375 |
} |
| 376 |
|
| 377 |
const auto &nodesets_output = output_region.get_nodesets(); |
| 378 |
for (size_t i = 0; i < nodesets_output.size(); ++i) { |
| 379 |
std::vector<int64_t> node_ids; |
| 380 |
nodesets_input[i]->get_field_data("ids", node_ids); |
| 381 |
nodesets_output[i]->put_field_data("ids", node_ids); |
| 382 |
|
| 383 |
std::vector<double> dist_factors; |
| 384 |
nodesets_input[i]->get_field_data("distribution_factors", dist_factors); |
| 385 |
nodesets_output[i]->put_field_data("distribution_factors", dist_factors); |
| 386 |
} |
| 387 |
|
| 388 |
const auto &sidesets_output = output_region.get_sidesets(); |
| 389 |
for (size_t i = 0; i < sidesets_output.size(); ++i) { |
| 390 |
const auto &side_blocks_input = sidesets_input[i]->get_side_blocks(); |
| 391 |
const auto &side_blocks_output = sidesets_output[i]->get_side_blocks(); |
| 392 |
for (size_t k = 0; k < side_blocks_output.size(); ++k) { |
| 393 |
std::vector<int64_t> elem_side_ids; |
| 394 |
side_blocks_input[k]->get_field_data("element_side", elem_side_ids); |
| 395 |
side_blocks_output[k]->put_field_data("element_side", elem_side_ids); |
| 396 |
|
| 397 |
std::vector<double> dist_factors; |
| 398 |
side_blocks_input[k]->get_field_data("distribution_factors", dist_factors); |
| 399 |
side_blocks_output[k]->put_field_data("distribution_factors", dist_factors); |
| 400 |
} |
| 401 |
} |
| 402 |
|
| 403 |
output_region.end_mode(Ioss::STATE_MODEL); |
| 404 |
} |
| 405 |
// EndDocTest2 |
| 406 |
} // namespace |
| 407 |
int main(IOSS_MAYBE_UNUSED int argc, char **argv) |
| 408 |
{ |
| 409 |
#ifdef SEACAS_HAVE_MPI |
| 410 |
MPI_Init(&argc, &argv); |
| 411 |
ON_BLOCK_EXIT(MPI_Finalize); |
| 412 |
#endif |
| 413 |
|
| 414 |
Catch::Session session; // There must be exactly one instance |
| 415 |
|
| 416 |
// Build a new parser on top of Catch2's |
| 417 |
using namespace Catch::Clara; |
| 418 |
auto cli = session.cli() // Get Catch2's command line parser |
| 419 |
| Opt(input_filename, "filename") // bind variable to a new option, with a hint string |
| 420 |
["-f"]["--filename"] // the option names it will respond to |
| 421 |
("Filename to read mesh from."); // description string for the help output |
| 422 |
|
| 423 |
// Now pass the new composite back to Catch2 so it uses that |
| 424 |
session.cli(cli); |
| 425 |
|
| 426 |
// Let Catch2 (using Clara) parse the command line |
| 427 |
int returnCode = session.applyCommandLine(argc, argv); |
| 428 |
if (returnCode != 0) // Indicates a command line error |
| 429 |
return returnCode; |
| 430 |
|
| 431 |
fmt::print("'{}'\n", input_filename); |
| 432 |
return session.run(); |
| 433 |
} |