Proposed Model

Created on Wed Apr 28 17:23:32 2021

1D-CNN Model

Abdullah BAS abdullah.bas@boun.edu.tr BME Bogazici University Istanbul / Uskudar @author: abas

class model1DCNN.Net(activation)

Bases: torch.nn.modules.module.Module

forward(x, age)

Forward blocks of the model. Input data moves through from this function.

Parameters
  • x (float) – input MRS spectrum

  • age (float) – Age of patient

Returns

output of the model

Return type

[float]

training