MCPcopy
hub / github.com/tensorlayer/TensorLayer / Input

Function Input

tensorlayer/layers/inputs.py:71–85  ·  view source on GitHub ↗

The :class:`Input` class is the starting layer of a neural network. Parameters ---------- shape : tuple (int) Including batch size. name : None or str A unique layer name.

(shape, dtype=tf.float32, name=None)

Source from the content-addressed store, hash-verified

69
70
71def Input(shape, dtype=tf.float32, name=None):
72 """
73 The :class:`Input` class is the starting layer of a neural network.
74
75 Parameters
76 ----------
77 shape : tuple (int)
78 Including batch size.
79 name : None or str
80 A unique layer name.
81
82 """
83 input_layer = _InputLayer(shape, dtype=dtype, name=name)
84 outputs = input_layer._nodes[0].out_tensors[0]
85 return outputs

Callers 15

MobileNetV1Function · 0.90
VGG_staticFunction · 0.90
SqueezeNetV1Function · 0.90
ResNet50Function · 0.90
get_modelFunction · 0.90
get_model_batchnormFunction · 0.90
create_base_networkFunction · 0.90
get_siamese_networkFunction · 0.90
hidden_modelFunction · 0.90
get_modelFunction · 0.90
get_modelFunction · 0.90
modelFunction · 0.90

Calls 1

_InputLayerClass · 0.85

Tested by 15

basic_static_modelFunction · 0.68
setUpClassMethod · 0.68
setUpClassMethod · 0.68
setUpClassMethod · 0.68
test_exceptionMethod · 0.68
test_layer_core_actMethod · 0.68
test_exceptionMethod · 0.68
setUpClassMethod · 0.68
test_special_casesMethod · 0.68
test_modellayerMethod · 0.68
test_layerlistMethod · 0.68
setUpClassMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…