You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (l->type == CRNN)
{
layer tmp_input_layer, tmp_self_layer, tmp_output_layer;
copy_cudnn_descriptors(*net_map->layers[k].input_layer, &tmp_input_layer); // "net_map" should be "net_train"
copy_cudnn_descriptors(*net_map->layers[k].self_layer, &tmp_self_layer); // "net_map" should be "net_train"
copy_cudnn_descriptors(*net_map->layers[k].output_layer, &tmp_output_layer); // "net_map" should be "net_train"
net_map->layers[k].input_layer = net_train.layers[k].input_layer;
net_map->layers[k].self_layer = net_train.layers[k].self_layer;
net_map->layers[k].output_layer = net_train.layers[k].output_layer;
//net_map->layers[k].output_gpu = net_map->layers[k].output_layer->output_gpu; // already copied out of if()
copy_cudnn_descriptors(tmp_input_layer, net_map->layers[k].input_layer); // "net_map" should be "net_train"
copy_cudnn_descriptors(tmp_self_layer, net_map->layers[k].self_layer); // "net_map" should be "net_train"
copy_cudnn_descriptors(tmp_output_layer, net_map->layers[k].output_layer); // "net_map" should be "net_train"
}
else if (l->input_layer) // for AntiAliasing
{
layer tmp_input_layer;
copy_cudnn_descriptors(*net_map->layers[k].input_layer, &tmp_input_layer); // "net_map" should be "net_train"
net_map->layers[k].input_layer = net_train.layers[k].input_layer;
copy_cudnn_descriptors(tmp_input_layer, net_map->layers[k].input_layer); // "net_map" should be "net_train"
}
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: