@@ -1530,66 +1530,6 @@ export class MathBackendWebGL extends KernelBackend {
15301530 return this . compileAndRun < Tensor > ( program , inputs ) as T ;
15311531 }
15321532
1533- sigmoid < T extends Tensor > ( x : T ) : T {
1534- const program = new UnaryOpProgram ( x . shape , unary_op . SIGMOID ) ;
1535- return this . compileAndRun ( program , [ x ] ) ;
1536- }
1537-
1538- softplus < T extends Tensor > ( x : T ) : T {
1539- const program = new UnaryOpProgram ( x . shape , unary_op . SOFTPLUS ) ;
1540- return this . compileAndRun ( program , [ x ] ) ;
1541- }
1542-
1543- asin < T extends Tensor > ( x : T ) : T {
1544- const program = new UnaryOpProgram ( x . shape , unary_op . ASIN ) ;
1545- return this . compileAndRun ( program , [ x ] ) ;
1546- }
1547-
1548- acos < T extends Tensor > ( x : T ) : T {
1549- const program = new UnaryOpProgram ( x . shape , unary_op . ACOS ) ;
1550- return this . compileAndRun ( program , [ x ] ) ;
1551- }
1552-
1553- atan < T extends Tensor > ( x : T ) : T {
1554- const program = new UnaryOpProgram ( x . shape , unary_op . ATAN ) ;
1555- return this . compileAndRun ( program , [ x ] ) ;
1556- }
1557-
1558- sinh < T extends Tensor > ( x : T ) : T {
1559- const program = new UnaryOpProgram ( x . shape , unary_op . SINH ) ;
1560- return this . compileAndRun ( program , [ x ] ) ;
1561- }
1562-
1563- cosh < T extends Tensor > ( x : T ) : T {
1564- const program = new UnaryOpProgram ( x . shape , unary_op . COSH ) ;
1565- return this . compileAndRun ( program , [ x ] ) ;
1566- }
1567-
1568- tanh < T extends Tensor > ( x : T ) : T {
1569- const program = new UnaryOpProgram ( x . shape , unary_op . TANH ) ;
1570- return this . compileAndRun ( program , [ x ] ) ;
1571- }
1572-
1573- asinh < T extends Tensor > ( x : T ) : T {
1574- const program = new UnaryOpProgram ( x . shape , unary_op . ASINH ) ;
1575- return this . compileAndRun ( program , [ x ] ) ;
1576- }
1577-
1578- acosh < T extends Tensor > ( x : T ) : T {
1579- const program = new UnaryOpProgram ( x . shape , unary_op . ACOSH ) ;
1580- return this . compileAndRun ( program , [ x ] ) ;
1581- }
1582-
1583- atanh < T extends Tensor > ( x : T ) : T {
1584- const program = new UnaryOpProgram ( x . shape , unary_op . ATANH ) ;
1585- return this . compileAndRun ( program , [ x ] ) ;
1586- }
1587-
1588- erf < T extends Tensor > ( x : T ) : T {
1589- const program = new UnaryOpProgram ( x . shape , unary_op . ERF ) ;
1590- return this . compileAndRun ( program , [ x ] ) ;
1591- }
1592-
15931533 step < T extends Tensor > ( x : T , alpha : number ) : T {
15941534 const program = new UnaryOpProgram ( x . shape , unary_op . STEP ( alpha ) ) ;
15951535 return this . compileAndRun ( program , [ x ] ) ;
0 commit comments