Initialise a none (no-op) activation function
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(onnx_attribute_type), | intent(in), | optional, | dimension(:) | :: | attributes |
Optional array of ONNX attributes |
None activation type
function initialise(attributes) result(activation) !! Initialise a none (no-op) activation function implicit none ! Arguments type(none_actv_type) :: activation !! None activation type type(onnx_attribute_type), dimension(:), intent(in), optional :: attributes !! Optional array of ONNX attributes call activation%reset() if(present(attributes))then call activation%apply_attributes(attributes) end if end function initialise