Encapsulate the minimal information needed to perform inference
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
class(activation_strategy_t), | private, | allocatable | :: | activation_strategy_ | |||
real(kind=rkind), | private, | allocatable | :: | biases_(:,:) | |||
type(tensor_range_t), | private | :: | input_range_ | ||||
type(string_t), | private | :: | metadata_(size(key)) | ||||
integer, | private, | allocatable | :: | nodes_(:) | |||
type(tensor_range_t), | private | :: | output_range_ | ||||
real(kind=rkind), | private, | allocatable | :: | weights_(:,:,:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(file_t), | intent(in) | :: | file_ |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(string_t), | intent(in) | :: | metadata(:) | |||
real(kind=rkind), | intent(in) | :: | weights(:,:,:) | |||
real(kind=rkind), | intent(in) | :: | biases(:,:) | |||
integer, | intent(in) | :: | nodes(0:) | |||
type(tensor_range_t), | intent(in), | optional | :: | input_range | ||
type(tensor_range_t), | intent(in), | optional | :: | output_range |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(inference_engine_t), | intent(in) | :: | self |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(inference_engine_t), | intent(in) | :: | self | |||
type(inference_engine_t), | intent(in) | :: | inference_engine |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(inference_engine_t), | intent(in) | :: | self | |||
type(tensor_t), | intent(in) | :: | inputs |
The result contains the output tensor values unnormalized via the inverse of the mapping used in training
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(inference_engine_t), | intent(in) | :: | self | |||
type(tensor_t), | intent(in) | :: | normalized_tensor |
The result contains the input tensor values normalized to fall on the range used during training
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(inference_engine_t), | intent(in) | :: | self | |||
type(tensor_t), | intent(in) | :: | tensor |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(inference_engine_t), | intent(in) | :: | self |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(inference_engine_t), | intent(in) | :: | self |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(inference_engine_t), | intent(in) | :: | self |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(inference_engine_t), | intent(in) | :: | self |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(inference_engine_t), | intent(in) | :: | self |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(inference_engine_t), | intent(in) | :: | self |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(inference_engine_t), | intent(in) | :: | self | |||
type(inference_engine_t), | intent(in) | :: | rhs |