Tanh and sigmoid function execution
AssigneeIntel Corporation
InventorsShuai Mu, Cristina S. Anderson, Subramaniam Maiyuran
Life of this patent
Estimating the term…
Loading patent…
AssigneeIntel Corporation
InventorsShuai Mu, Cristina S. Anderson, Subramaniam Maiyuran
Estimating the term…
Examples described herein relate to instructions to request performance of tanh and sigmoid instructions. For example, a compiler can generate native tanh instructions to perform tanh. In some examples, a tanh function can be compiled into instructions that include an instruction to perform either tanh(input) or tanh(input)/input depending on a value of the input to generate an intermediate output; an instruction to cause a performance of generation of scale factor based on the input; and an instruction to cause performance of a multiplication operation on the intermediate result with the scale factor. For example, a sigmoid function can be compiled to cause a math pipeline to perform a range check and performs operations based on a range.
A computer-implemented method comprising:
At least one non-transitory computer-readable medium comprising instructions stored thereon, that when executed by one or more processors of a graphics processing unit (GPU), cause the one or more processors to:
A graphics processing apparatus comprising:
Dependencies are inferred from the claim text.