Home
last modified time | relevance | path

Searched refs:init_ops (Results 1 – 25 of 266) sorted by relevance

1234567891011

/external/tensorflow/tensorflow/python/ops/
Dinitializers_ns.py21 from tensorflow.python.ops import init_ops
25 zeros = init_ops.zeros_initializer
26 ones = init_ops.ones_initializer
27 constant = init_ops.constant_initializer
28 random_uniform = init_ops.random_uniform_initializer
29 random_normal = init_ops.random_normal_initializer
30 truncated_normal = init_ops.truncated_normal_initializer
31 uniform_unit_scaling = init_ops.uniform_unit_scaling_initializer
32 variance_scaling = init_ops.variance_scaling_initializer
33 orthogonal = init_ops.orthogonal_initializer
[all …]
Dinit_ops_test.py29 from tensorflow.python.ops import init_ops
62 init_ops.RandomUniform(minval=-1, maxval=1, seed=124),
73 init_ops.RandomNormal(mean=0, stddev=1, seed=153),
83 init_ops.TruncatedNormal(mean=0, stddev=1, seed=126),
94 init_ops.Constant(2),
104 fan_in, _ = init_ops._compute_fans(tensor_shape)
107 init_ops.lecun_uniform(seed=123),
116 fan_in, fan_out = init_ops._compute_fans(tensor_shape)
119 init_ops.glorot_uniform_initializer(seed=123),
128 fan_in, _ = init_ops._compute_fans(tensor_shape)
[all …]
/external/tensorflow/tensorflow/python/keras/
Dops.py21 from tensorflow.python.ops import init_ops
28 init_ops.Initializer)
30 init_ops.Zeros)
32 init_ops.Ones)
34 init_ops.Constant)
36 init_ops.VarianceScaling)
39 init_ops.Orthogonal)
42 init_ops.Identity)
44 init_ops.GlorotUniform)
46 init_ops.GlorotNormal)
[all …]
Dinitializers.py31 from tensorflow.python.ops.init_ops import Constant
32 from tensorflow.python.ops.init_ops import GlorotNormal
33 from tensorflow.python.ops.init_ops import GlorotUniform
34 from tensorflow.python.ops.init_ops import he_normal # pylint: disable=unused-import
35 from tensorflow.python.ops.init_ops import he_uniform # pylint: disable=unused-import
36 from tensorflow.python.ops.init_ops import Identity
37 from tensorflow.python.ops.init_ops import Initializer # pylint: disable=unused-import
38 from tensorflow.python.ops.init_ops import lecun_normal # pylint: disable=unused-import
39 from tensorflow.python.ops.init_ops import lecun_uniform # pylint: disable=unused-import
40 from tensorflow.python.ops.init_ops import Ones
[all …]
Dinitializers_test.py26 from tensorflow.python.ops import init_ops
86 fan_in, _ = init_ops._compute_fans(tensor_shape)
97 fan_in, fan_out = init_ops._compute_fans(tensor_shape)
108 fan_in, _ = init_ops._compute_fans(tensor_shape)
119 fan_in, _ = init_ops._compute_fans(tensor_shape)
130 fan_in, fan_out = init_ops._compute_fans(tensor_shape)
141 fan_in, _ = init_ops._compute_fans(tensor_shape)
/external/tensorflow/tensorflow/python/kernel_tests/
Dinit_ops_test.py31 from tensorflow.python.ops import init_ops
115 "x", shape=shape, initializer=init_ops.zeros_initializer())
124 "x", shape=shape, initializer=init_ops.ones_initializer())
133 "x", shape=shape, initializer=init_ops.constant_initializer(0.0))
142 "x", shape=shape, initializer=init_ops.constant_initializer(1.0))
154 initializer=init_ops.constant_initializer(7))
167 initializer=init_ops.constant_initializer((10, 20, 30)))
174 init = init_ops.constant_initializer(value, dtype=dtypes.int32)
199 init = init_ops.constant_initializer(value, dtype=dtypes.int32)
226 init = init_ops.constant_initializer(value, dtype=dtypes.int32)
[all …]
Dtemplate_test.py30 from tensorflow.python.ops import init_ops
43 initializer=init_ops.zeros_initializer())
49 "dummy", shape=[1], initializer=init_ops.zeros_initializer())
56 "dummy", shape=[1], initializer=init_ops.zeros_initializer())
63 "dummy", shape=[1], initializer=init_ops.zeros_initializer())
68 "local", shape=[1], initializer=init_ops.zeros_initializer())
70 "dummy", shape=[1], initializer=init_ops.zeros_initializer())
89 "w", shape=[], initializer=init_ops.truncated_normal_initializer())
91 "b", shape=[], initializer=init_ops.truncated_normal_initializer())
130 "w", shape=[], initializer=init_ops.truncated_normal_initializer())
[all …]
/external/tensorflow/tensorflow/python/layers/
Dnormalization.py25 from tensorflow.python.ops import init_ops
113 beta_initializer=init_ops.zeros_initializer(),
114 gamma_initializer=init_ops.ones_initializer(),
115 moving_mean_initializer=init_ops.zeros_initializer(),
116 moving_variance_initializer=init_ops.ones_initializer(),
167 beta_initializer=init_ops.zeros_initializer(),
168 gamma_initializer=init_ops.ones_initializer(),
169 moving_mean_initializer=init_ops.zeros_initializer(),
170 moving_variance_initializer=init_ops.ones_initializer(),
Dconvolutional.py24 from tensorflow.python.ops import init_ops
89 bias_initializer=init_ops.zeros_initializer(),
132 bias_initializer=init_ops.zeros_initializer(),
288 bias_initializer=init_ops.zeros_initializer(),
331 bias_initializer=init_ops.zeros_initializer(),
495 bias_initializer=init_ops.zeros_initializer(),
538 bias_initializer=init_ops.zeros_initializer(),
706 bias_initializer=init_ops.zeros_initializer(),
818 bias_initializer=init_ops.zeros_initializer(),
870 bias_initializer=init_ops.zeros_initializer(),
[all …]
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/serialization/
Dserialization_integration_test.py41 init_ops = []
46 init_ops.append(init_op)
49 return init_ops, get_next_ops, saver
60 init_ops, get_next_ops, saver = self._build_graph(num_pipelines,
63 self.evaluate(init_ops)
71 init_ops, get_next_ops, saver = self._build_graph(num_pipelines,
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.layers.pbtxt97init_ops.Zeros object instance>\', \'<tensorflow.python.ops.init_ops.Ones object instance>\', \'<t…
101 …s_last\', \'1\', \'None\', \'True\', \'None\', \'<tensorflow.python.ops.init_ops.Zeros object inst…
105 …t\', \'(1, 1)\', \'None\', \'True\', \'None\', \'<tensorflow.python.ops.init_ops.Zeros object inst…
109 …channels_last\', \'None\', \'True\', \'None\', \'<tensorflow.python.ops.init_ops.Zeros object inst…
113 …, \'(1, 1, 1)\', \'None\', \'True\', \'None\', \'<tensorflow.python.ops.init_ops.Zeros object inst…
117 …channels_last\', \'None\', \'True\', \'None\', \'<tensorflow.python.ops.init_ops.Zeros object inst…
121 …=None, defaults=[\'None\', \'True\', \'None\', \'<tensorflow.python.ops.init_ops.Zeros object inst…
145 …\'1\', \'None\', \'True\', \'None\', \'None\', \'<tensorflow.python.ops.init_ops.Zeros object inst…
149 …\'1\', \'None\', \'True\', \'None\', \'None\', \'<tensorflow.python.ops.init_ops.Zeros object inst…
Dtensorflow.glorot_normal_initializer.pbtxt3 is_instance: "<class \'tensorflow.python.ops.init_ops.GlorotNormal\'>"
4 is_instance: "<class \'tensorflow.python.ops.init_ops.VarianceScaling\'>"
5 is_instance: "<class \'tensorflow.python.ops.init_ops.Initializer\'>"
Dtensorflow.initializers.glorot_normal.pbtxt3 is_instance: "<class \'tensorflow.python.ops.init_ops.GlorotNormal\'>"
4 is_instance: "<class \'tensorflow.python.ops.init_ops.VarianceScaling\'>"
5 is_instance: "<class \'tensorflow.python.ops.init_ops.Initializer\'>"
Dtensorflow.initializers.glorot_uniform.pbtxt3 is_instance: "<class \'tensorflow.python.ops.init_ops.GlorotUniform\'>"
4 is_instance: "<class \'tensorflow.python.ops.init_ops.VarianceScaling\'>"
5 is_instance: "<class \'tensorflow.python.ops.init_ops.Initializer\'>"
/external/tensorflow/tensorflow/python/profiler/internal/
Dmodel_analyzer_testlib.py25 from tensorflow.python.ops import init_ops
44 initializer=init_ops.random_normal_initializer(stddev=0.001))
48 initializer=init_ops.random_normal_initializer(stddev=0.001))
53 initializer=init_ops.random_normal_initializer(stddev=0.001))
82 initializer=init_ops.random_normal_initializer(stddev=0.001))
88 initializer=init_ops.random_normal_initializer(stddev=0.001))
/external/tensorflow/tensorflow/contrib/tensor_forest/hybrid/python/layers/
Ddecisions_to_data.py30 from tensorflow.python.ops import init_ops
43 initializer=init_ops.truncated_normal_initializer(
49 initializer=init_ops.truncated_normal_initializer(
84 initializer=init_ops.truncated_normal_initializer(
90 initializer=init_ops.truncated_normal_initializer(
167 initializer=init_ops.truncated_normal_initializer(
173 initializer=init_ops.truncated_normal_initializer(
219 initializer=init_ops.truncated_normal_initializer(
225 initializer=init_ops.truncated_normal_initializer(
/external/tensorflow/tensorflow/contrib/seq2seq/
DBUILD47 "//tensorflow/python:init_ops",
112 "//tensorflow/python:init_ops",
130 "//tensorflow/python:init_ops",
151 "//tensorflow/python:init_ops",
185 "//tensorflow/python:init_ops",
206 "//tensorflow/python:init_ops",
227 "//tensorflow/python:init_ops",
247 "//tensorflow/python:init_ops",
264 "//tensorflow/python:init_ops",
/external/tensorflow/tensorflow/contrib/framework/
D__init__.py121 from tensorflow.python.ops.init_ops import convolutional_delta_orthogonal
122 from tensorflow.python.ops.init_ops import convolutional_orthogonal_1d
123 from tensorflow.python.ops.init_ops import convolutional_orthogonal_2d
124 from tensorflow.python.ops.init_ops import convolutional_orthogonal_3d
/external/tensorflow/tensorflow/contrib/slim/python/slim/nets/
Doverfeat.py41 from tensorflow.python.ops import init_ops
45 trunc_normal = lambda stddev: init_ops.truncated_normal_initializer(0.0, stddev)
53 biases_initializer=init_ops.zeros_initializer()):
110 biases_initializer=init_ops.constant_initializer(0.1)):
123 biases_initializer=init_ops.zeros_initializer(),
Dalexnet.py45 from tensorflow.python.ops import init_ops
49 trunc_normal = lambda stddev: init_ops.truncated_normal_initializer(0.0, stddev)
56 biases_initializer=init_ops.constant_initializer(0.1),
115 biases_initializer=init_ops.constant_initializer(0.1)):
127 biases_initializer=init_ops.zeros_initializer(),
/external/tensorflow/tensorflow/compiler/tests/
Dlstm_test.py34 from tensorflow.python.ops import init_ops
96 m, c = self._RunLSTMCell('zeros', init_ops.zeros_initializer(), 0., 0., 0.)
99 m, c = self._RunLSTMCell('zeros', init_ops.zeros_initializer(), 0., 1., 0.)
102 m, c = self._RunLSTMCell('zeros', init_ops.zeros_initializer(), 1., 0., 0.)
105 m, c = self._RunLSTMCell('zeros', init_ops.zeros_initializer(), 1., 1., 0.)
113 init_ops.ones_initializer(), m_prev, c_prev,
181 o = self._RunLSTMLayer('zeros', init_ops.zeros_initializer(), 0., 0., 0.)
183 o = self._RunLSTMLayer('zeros', init_ops.zeros_initializer(), 0., 1., 0.)
187 o = self._RunLSTMLayer('zeros', init_ops.zeros_initializer(), 1., 0., 0.)
189 o = self._RunLSTMLayer('zeros', init_ops.zeros_initializer(), 1., 1., 0.)
[all …]
/external/tensorflow/tensorflow/python/keras/layers/
Dkernelized.py31 from tensorflow.python.ops import init_ops
186 initializer=init_ops.random_uniform_initializer(
196 initializer=init_ops.constant_initializer(self.scale),
220 if isinstance(self.kernel_initializer, init_ops.Initializer):
241 random_features_initializer = init_ops.random_normal_initializer(
244 random_features_initializer = init_ops.constant_initializer(
Dkernelized_test.py39 from tensorflow.python.ops import init_ops
96 ('random', init_ops.random_uniform_initializer, 1.0, True))
111 ('other', init_ops.ones_initializer, True))
148 ('other', init_ops.random_uniform_initializer))
178 ('other', 10, init_ops.ones_initializer, 1.0))
207 ('other', 7, init_ops.random_uniform_initializer(), None, True))
218 if isinstance(initializer, init_ops.Initializer):
236 ('other', 7, init_ops.ones_initializer(), 2.0, True))
269 ('other', 10, init_ops.random_uniform_initializer(), None, True))
288 ('other', init_ops.random_uniform_initializer(), 5.0))
/external/tensorflow/tensorflow/contrib/layers/python/layers/
Doptimizers_test.py29 from tensorflow.python.ops import init_ops
41 "test", [], initializer=init_ops.constant_initializer(10))
47 initializer=init_ops.constant_initializer(
127 "test", [], initializer=init_ops.constant_initializer(10))
143 initializer=init_ops.constant_initializer(
154 initializer=init_ops.constant_initializer(
312 "test", [], initializer=init_ops.constant_initializer(10))
315 "update", [], initializer=init_ops.constant_initializer(10))
337 "test", [], initializer=init_ops.constant_initializer(10))
340 "update", [], initializer=init_ops.constant_initializer(10))
[all …]
/external/tensorflow/tensorflow/contrib/quantize/
DBUILD27 "//tensorflow/python:init_ops",
58 "//tensorflow/python:init_ops",
124 "//tensorflow/python:init_ops",
143 "//tensorflow/python:init_ops",
196 "//tensorflow/python:init_ops",
221 "//tensorflow/python:init_ops",
253 "//tensorflow/python:init_ops",

1234567891011