FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
tensorflow/tensorflow/python/layers/layers.py at master · codeplaysoftware/tensorflow · GitHub
codeplaysoftware
tensorflow
Repository navigation
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
tensorflow
/
tensorflow
/
python
/
layers
/
layers.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
81 lines (68 loc) · 3.59 KB
Breadcrumbs
tensorflow
/
tensorflow
/
python
/
layers
/
layers.py
Copy path
File metadata and controls
81 lines (68 loc) · 3.59 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# Copyright 2015 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ==============================================================================
# pylint: disable=line-too-long
"""This library provides a set of high-level neural networks layers."""
from
__future__
import
absolute_import
from
__future__
import
division
from
__future__
import
print_function
# pylint: disable=g-bad-import-order,unused-import
# Base objects.
from
tensorflow
.
python
.
layers
.
base
import
Layer
from
tensorflow
.
python
.
layers
.
base
import
InputSpec
# Core layers.
from
tensorflow
.
python
.
layers
.
core
import
Dense
from
tensorflow
.
python
.
layers
.
core
import
Dropout
from
tensorflow
.
python
.
layers
.
core
import
Flatten
from
tensorflow
.
python
.
layers
.
core
import
dense
from
tensorflow
.
python
.
layers
.
core
import
dropout
from
tensorflow
.
python
.
layers
.
core
import
flatten
# Convolutional layers.
from
tensorflow
.
python
.
layers
.
convolutional
import
SeparableConv1D
from
tensorflow
.
python
.
layers
.
convolutional
import
SeparableConv2D
from
tensorflow
.
python
.
layers
.
convolutional
import
SeparableConvolution2D
from
tensorflow
.
python
.
layers
.
convolutional
import
Conv2DTranspose
from
tensorflow
.
python
.
layers
.
convolutional
import
Convolution2DTranspose
from
tensorflow
.
python
.
layers
.
convolutional
import
Conv3DTranspose
from
tensorflow
.
python
.
layers
.
convolutional
import
Convolution3DTranspose
from
tensorflow
.
python
.
layers
.
convolutional
import
Conv1D
from
tensorflow
.
python
.
layers
.
convolutional
import
Convolution1D
from
tensorflow
.
python
.
layers
.
convolutional
import
Conv2D
from
tensorflow
.
python
.
layers
.
convolutional
import
Convolution2D
from
tensorflow
.
python
.
layers
.
convolutional
import
Conv3D
from
tensorflow
.
python
.
layers
.
convolutional
import
Convolution3D
from
tensorflow
.
python
.
layers
.
convolutional
import
separable_conv1d
from
tensorflow
.
python
.
layers
.
convolutional
import
separable_conv2d
from
tensorflow
.
python
.
layers
.
convolutional
import
conv2d_transpose
from
tensorflow
.
python
.
layers
.
convolutional
import
conv3d_transpose
from
tensorflow
.
python
.
layers
.
convolutional
import
conv1d
from
tensorflow
.
python
.
layers
.
convolutional
import
conv2d
from
tensorflow
.
python
.
layers
.
convolutional
import
conv3d
# Pooling layers.
from
tensorflow
.
python
.
layers
.
pooling
import
AveragePooling1D
from
tensorflow
.
python
.
layers
.
pooling
import
MaxPooling1D
from
tensorflow
.
python
.
layers
.
pooling
import
AveragePooling2D
from
tensorflow
.
python
.
layers
.
pooling
import
MaxPooling2D
from
tensorflow
.
python
.
layers
.
pooling
import
AveragePooling3D
from
tensorflow
.
python
.
layers
.
pooling
import
MaxPooling3D
from
tensorflow
.
python
.
layers
.
pooling
import
average_pooling1d
from
tensorflow
.
python
.
layers
.
pooling
import
max_pooling1d
from
tensorflow
.
python
.
layers
.
pooling
import
average_pooling2d
from
tensorflow
.
python
.
layers
.
pooling
import
max_pooling2d
from
tensorflow
.
python
.
layers
.
pooling
import
average_pooling3d
from
tensorflow
.
python
.
layers
.
pooling
import
max_pooling3d
# Normalization layers.
from
tensorflow
.
python
.
layers
.
normalization
import
BatchNormalization
from
tensorflow
.
python
.
layers
.
normalization
import
batch_normalization
# pylint: enable=g-bad-import-order,unused-import
Back
|
FazBrowse Home
|
New Git URL