(out_str)
| 84 | TEST_DATASET = modelnet_h5_dataset.ModelNetH5Dataset(os.path.join(BASE_DIR, 'data/modelnet40_ply_hdf5_2048/test_files.txt'), batch_size=BATCH_SIZE, npoints=NUM_POINT, shuffle=False) |
| 85 | |
| 86 | def log_string(out_str): |
| 87 | LOG_FOUT.write(out_str+'\n') |
| 88 | LOG_FOUT.flush() |
| 89 | print(out_str) |
| 90 | |
| 91 | def average_gradients(tower_grads): |
| 92 | """Calculate the average gradient for each shared variable across all towers. |
no outgoing calls
no test coverage detected