Lines Matching refs:offsets
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()
618 …PetscCall(PhastaDatFileReadToArrayReal(comm, file_path, &sgsdd_ctx->data[sgsdd_ctx->offsets.bias1]… in SgsDDContextFill()
620 …PetscCall(PhastaDatFileReadToArrayReal(comm, file_path, &sgsdd_ctx->data[sgsdd_ctx->offsets.bias2]… in SgsDDContextFill()
622 …PetscCall(PhastaDatFileReadToArrayReal(comm, file_path, &sgsdd_ctx->data[sgsdd_ctx->offsets.out_sc… in SgsDDContextFill()
628 …PetscCall(TransposeMatrix(temp, &sgsdd_ctx->data[sgsdd_ctx->offsets.weight1], num_inputs, num_neur… in SgsDDContextFill()
635 …PetscCall(TransposeMatrix(temp, &sgsdd_ctx->data[sgsdd_ctx->offsets.weight2], num_neurons, num_out… in SgsDDContextFill()