Skip to content

Commit ce6d2e3

Browse files
committed
What is this life if, full of care, we have no time to stand and stare
1 parent 072d827 commit ce6d2e3

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"version": "2.2.0",
88
"verbose": true,
99
"extra-cflags": "-O3 -ffast-math",
10+
"extra-libs": "-lopenblas -llapacke -lgfortran -lpthread",
1011
"extra-sources": [
1112
"include/indexing.c",
1213
"include/arithmetic.c",
@@ -15,7 +16,6 @@
1516
"include/signal_processing.c",
1617
"include/settings.c"
1718
],
18-
"extra-libs": "-lopenblas -llapacke -lgfortran -lpthread",
1919
"initializers": {
2020
"module": [
2121
{

ext/include/signal_processing.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ void tensor_convolve_1d(zval * return_value, zval * a, zval * b, zval * stride)
6565
}
6666

6767
/**
68-
* 2D convolution between a matrix A and B (kernel) with a given stride.
68+
* 2D convolution between a matrix A and B (kernel) with a given stride using the "same" method for zero padding.
6969
*
7070
* @param return_value
7171
* @param a

ext/php_tensor.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#define PHP_TENSOR_VERSION "2.2.0"
1515
#define PHP_TENSOR_EXTNAME "tensor"
1616
#define PHP_TENSOR_AUTHOR "Andrew DalPino"
17-
#define PHP_TENSOR_ZEPVERSION "0.12.20-$Id$"
17+
#define PHP_TENSOR_ZEPVERSION "0.12.21-$Id$"
1818
#define PHP_TENSOR_DESCRIPTION "Tensor is a library and extension that provides objects for scientific computing in PHP."
1919

2020

ext/tensor/matrix.zep.c

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ext/tensor/vector.zep.c

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Matrix.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -999,7 +999,7 @@ public function dot(Vector $b) : ColumnVector
999999
}
10001000

10011001
/**
1002-
* Convolve this matrix with another matrix.
1002+
* Return the 2D convolution of this matrix and a kernel matrix with given stride using the "same" method for zero padding.
10031003
*
10041004
* @param \Tensor\Matrix $b
10051005
* @param int $stride

src/Vector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@ public function cross(Vector $b) : self
601601
}
602602

603603
/**
604-
* Convolve this vector with another vector.
604+
* Return the 1D convolution of this vector and a kernel vector with given stride.
605605
*
606606
* @param \Tensor\Vector $b
607607
* @param int $stride

tensor/matrix.zep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1012,7 +1012,7 @@ class Matrix implements Tensor
10121012
}
10131013

10141014
/**
1015-
* Convolve this matrix with another matrix.
1015+
* Return the 2D convolution of this matrix and a kernel matrix with given stride using the "same" method for zero padding.
10161016
*
10171017
* @param \Tensor\Matrix b
10181018
* @param int stride

tensor/vector.zep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@ class Vector implements Tensor
543543
}
544544

545545
/**
546-
* Convolve this vector with another vector.
546+
* Return the 1D convolution of this vector and a kernel vector with given stride.
547547
*
548548
* @param \Tensor\Vector b
549549
* @param int stride

0 commit comments

Comments
 (0)