FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
TensorFlow.NET/src/TensorFlowNET.Core/Keras/IKerasApi.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
/
Keras
/
IKerasApi.cs
Copy path
More file actions
More file actions
Latest commit
History
History
History
61 lines (58 loc) · 2.05 KB
Breadcrumbs
TensorFlow.NET
/
src
/
TensorFlowNET.Core
/
Keras
/
IKerasApi.cs
Copy path
File metadata and controls
61 lines (58 loc) · 2.05 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
57
58
59
60
61
using
System
;
using
System
.
Collections
.
Generic
;
using
System
.
Text
;
using
System
.
Threading
;
using
Tensorflow
.
Framework
.
Models
;
using
Tensorflow
.
Keras
.
Engine
;
using
Tensorflow
.
Keras
.
Layers
;
using
Tensorflow
.
Keras
.
Losses
;
using
Tensorflow
.
Keras
.
Metrics
;
using
Tensorflow
.
Keras
.
Models
;
namespace
Tensorflow
.
Keras
{
public
interface
IKerasApi
{
IInitializersApi
initializers
{
get
;
}
ILayersApi
layers
{
get
;
}
ILossesApi
losses
{
get
;
}
IActivationsApi
activations
{
get
;
}
IOptimizerApi
optimizers
{
get
;
}
IMetricsApi
metrics
{
get
;
}
IModelsApi
models
{
get
;
}
/// <summary>
/// `Model` groups layers into an object with training and inference features.
/// </summary>
/// <param name="input"></param>
/// <param name="output"></param>
/// <returns></returns>
IModel
Model
(
Tensors
inputs
,
Tensors
outputs
,
string
name
=
null
)
;
/// <summary>
/// Instantiate a Keras tensor.
/// </summary>
/// <param name="shape"></param>
/// <param name="batch_size"></param>
/// <param name="dtype"></param>
/// <param name="name"></param>
/// <param name="sparse">
/// A boolean specifying whether the placeholder to be created is sparse.
/// </param>
/// <param name="ragged">
/// A boolean specifying whether the placeholder to be created is ragged.
/// </param>
/// <param name="tensor">
/// Optional existing tensor to wrap into the `Input` layer.
/// If set, the layer will not create a placeholder tensor.
/// </param>
/// <returns></returns>
Tensors
Input
(
Shape
shape
=
null
,
int
batch_size
=
-
1
,
string
name
=
null
,
TF_DataType
dtype
=
TF_DataType
.
DtInvalid
,
bool
sparse
=
false
,
Tensor
tensor
=
null
,
bool
ragged
=
false
,
TypeSpec
type_spec
=
null
,
Shape
batch_input_shape
=
null
,
Shape
batch_shape
=
null
)
;
}
}
Back
|
FazBrowse Home
|
New Git URL