diff --git a/index.bs b/index.bs index 8ebcb5e7..d949d99c 100644 --- a/index.bs +++ b/index.bs @@ -1164,9 +1164,6 @@ interface MLActivation {}; :: The {{MLActivation}}'s name. : \[[builder]] of type {{MLGraphBuilder}} - :: - The graph builder object this {{MLActivation}} belongs to. - : \[[options]] of type [=ordered map=] :: A dictionary containing {{MLActivation}} options. : \[[operator]] of type [=operator=] @@ -1186,16 +1183,13 @@ The {{MLActivation}} objects (including the ones passed as input to methods) are
- To create an MLActivation given {{MLGraphBuilder}} |builder|, [=string=] |name|, optional [=ordered map=] |options| and optional algorithm |init-steps|, run the following steps: + To create an MLActivation given {{MLGraphBuilder}} |builder|, [=string=] |name| and optional [=ordered map=] |options|, run the following steps: 1. Let |activation| be a new {{MLActivation}}. 1. Set |activation|.{{MLActivation/[[builder]]}} to |builder|. 1. Set |activation|.{{MLActivation/[[name]]}} to |name|. - 1. If |options| is given, set |activation|.{{MLActivation/[[options]]}} to |options|. - 1. Let |operator| be an [=operator=] for the |name| operation. + 1. Let |operator| be an [=operator=] for the |name| operation, given |options|. 1. Set |activation|.{{MLActivation/[[operator]]}} to |operator|. - 1. If |init-steps| are given, run |init-steps| with |options|. - 1. Otherwise, initialize |activation|.{{MLActivation/[[operator]]}} given |options| in an [=implementation-defined=] way for the given |name| operation. 1. Return |activation|.