Home
last modified time | relevance | path

Searched refs:sgsdd_temp (Results 1 – 1 of 1) sorted by relevance

/honee/problems/
H A Dsgs_dd_model.c602 SgsDDContext sgsdd_temp; in SgsDDContextFill() local
603 PetscCall(PetscNew(&sgsdd_temp)); in SgsDDContextFill()
604 *sgsdd_temp = **psgsdd_ctx; in SgsDDContextFill()
605 sgsdd_temp->offsets.bias1 = 0; in SgsDDContextFill()
606 sgsdd_temp->offsets.bias2 = sgsdd_temp->offsets.bias1 + num_neurons; in SgsDDContextFill()
607 sgsdd_temp->offsets.weight1 = sgsdd_temp->offsets.bias2 + num_neurons; in SgsDDContextFill()
608 sgsdd_temp->offsets.weight2 = sgsdd_temp->offsets.weight1 + num_neurons * num_inputs; in SgsDDContextFill()
609 sgsdd_temp->offsets.out_scaling = sgsdd_temp->offsets.weight2 + num_inputs * num_neurons; in SgsDDContextFill()
610 PetscInt total_num_scalars = sgsdd_temp->offsets.out_scaling + 2 * num_outputs; in SgsDDContextFill()
611sgsdd_temp->total_bytes = sizeof(*sgsdd_ctx) + total_num_scalars * sizeof(sgsdd_ctx->data[… in SgsDDContextFill()
[all …]