FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
TensorFlow.NET/src/TensorFlowNET.Core/NumPy/Numpy.Math.cs at master · AhmedZero/TensorFlow.NET · GitHub
AhmedZero
/
TensorFlow.NET
Public
forked from
SciSharp/TensorFlow.NET
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
TensorFlow.NET
/
src
/
TensorFlowNET.Core
/
NumPy
/
Numpy.Math.cs
Copy path
More file actions
More file actions
Latest commit
History
History
History
56 lines (42 loc) · 1.82 KB
Breadcrumbs
TensorFlow.NET
/
src
/
TensorFlowNET.Core
/
NumPy
/
Numpy.Math.cs
Copy path
File metadata and controls
56 lines (42 loc) · 1.82 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
using
System
;
using
System
.
Collections
;
using
System
.
Collections
.
Generic
;
using
System
.
Numerics
;
using
System
.
Text
;
using
static
Tensorflow
.
Binding
;
namespace
Tensorflow
.
NumPy
{
public
partial
class
np
{
[
AutoNumPy
]
public
static
NDArray
cos
(
NDArray
x
)
=>
new
NDArray
(
math_ops
.
cos
(
x
)
)
;
[
AutoNumPy
]
public
static
NDArray
exp
(
NDArray
x
)
=>
new
NDArray
(
tf
.
exp
(
x
)
)
;
[
AutoNumPy
]
public
static
NDArray
floor
(
NDArray
x
)
=>
new
NDArray
(
math_ops
.
floor
(
x
)
)
;
[
AutoNumPy
]
public
static
NDArray
log
(
NDArray
x
)
=>
new
NDArray
(
tf
.
log
(
x
)
)
;
[
AutoNumPy
]
public
static
NDArray
mean
(
NDArray
x
)
=>
new
NDArray
(
math_ops
.
reduce_mean
(
x
)
)
;
[
AutoNumPy
]
public
static
NDArray
multiply
(
NDArray
x1
,
NDArray
x2
)
=>
new
NDArray
(
tf
.
multiply
(
x1
,
x2
)
)
;
[
AutoNumPy
]
public
static
NDArray
maximum
(
NDArray
x1
,
NDArray
x2
)
=>
new
NDArray
(
tf
.
maximum
(
x1
,
x2
)
)
;
[
AutoNumPy
]
public
static
NDArray
minimum
(
NDArray
x1
,
NDArray
x2
)
=>
new
NDArray
(
tf
.
minimum
(
x1
,
x2
)
)
;
[
AutoNumPy
]
public
static
NDArray
prod
(
NDArray
array
,
Axis
?
axis
=
null
,
Type
?
dtype
=
null
,
bool
keepdims
=
false
)
=>
new
NDArray
(
tf
.
reduce_prod
(
array
,
axis
:
axis
)
)
;
[
AutoNumPy
]
public
static
NDArray
prod
<
T
>
(
params
T
[
]
array
)
where
T
:
unmanaged
=>
new
NDArray
(
tf
.
reduce_prod
(
new
NDArray
(
array
)
)
)
;
[
AutoNumPy
]
public
static
NDArray
power
(
NDArray
x
,
NDArray
y
)
=>
new
NDArray
(
tf
.
pow
(
x
,
y
)
)
;
[
AutoNumPy
]
public
static
NDArray
sin
(
NDArray
x
)
=>
new
NDArray
(
math_ops
.
sin
(
x
)
)
;
[
AutoNumPy
]
public
static
NDArray
sqrt
(
NDArray
x
)
=>
new
NDArray
(
tf
.
sqrt
(
x
)
)
;
[
AutoNumPy
]
public
static
NDArray
sum
(
NDArray
x1
,
Axis
?
axis
=
null
)
=>
new
NDArray
(
tf
.
math
.
sum
(
x1
,
axis
)
)
;
}
}
Back
|
FazBrowse Home
|
New Git URL