FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
TensorFlow.NET/src/TensorFlowNET.Core/Tensors/TF_Tensor.cs at master · MSavameri/TensorFlow.NET · GitHub
MSavameri
TensorFlow.NET
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
TensorFlow.NET
/
src
/
TensorFlowNET.Core
/
Tensors
/
TF_Tensor.cs
Copy path
More file actions
More file actions
Latest commit
History
History
History
21 lines (16 loc) · 482 Bytes
Breadcrumbs
TensorFlow.NET
/
src
/
TensorFlowNET.Core
/
Tensors
/
TF_Tensor.cs
Copy path
File metadata and controls
21 lines (16 loc) · 482 Bytes
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
using
System
;
namespace
Tensorflow
{
public
struct
TF_Tensor
{
IntPtr
_handle
;
public
TF_Tensor
(
IntPtr
handle
)
=>
_handle
=
handle
;
public
static
implicit
operator
TF_Tensor
(
IntPtr
handle
)
=>
new
TF_Tensor
(
handle
)
;
public
static
implicit
operator
IntPtr
(
TF_Tensor
tensor
)
=>
tensor
.
_handle
;
public
override
string
ToString
(
)
=>
$
"TF_Tensor 0x
{
_handle
.
ToString
(
"x16"
)
}
"
;
}
}
Back
|
FazBrowse Home
|
New Git URL