Home
last modified time | relevance | path

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

12345678

/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/initializers/
Dinitializers_v1.py22 from tensorflow.python.ops import init_ops
26 init_ops.Zeros)
28 init_ops.Ones)
30 init_ops.Constant)
32 init_ops.VarianceScaling)
34 'keras.initializers.orthogonal'])(init_ops.Orthogonal)
36 'keras.initializers.identity'])(init_ops.Identity)
37 keras_export(v1=['keras.initializers.glorot_uniform'])(init_ops.GlorotUniform)
38 keras_export(v1=['keras.initializers.glorot_normal'])(init_ops.GlorotNormal)
44 class RandomNormal(init_ops.RandomNormal):
[all …]
D__init__.py29 from tensorflow.python.ops import init_ops
96 'Constant': init_ops.Constant,
97 'GlorotNormal': init_ops.GlorotNormal,
98 'GlorotUniform': init_ops.GlorotUniform,
99 'Identity': init_ops.Identity,
100 'Ones': init_ops.Ones,
101 'Orthogonal': init_ops.Orthogonal,
102 'VarianceScaling': init_ops.VarianceScaling,
103 'Zeros': init_ops.Zeros,
/external/tensorflow/tensorflow/python/kernel_tests/
Dinit_ops_test.py31 from tensorflow.python.ops import init_ops
118 "x", shape=shape, initializer=init_ops.zeros_initializer())
127 "x", shape=shape, initializer=init_ops.ones_initializer())
136 "x", shape=shape, initializer=init_ops.constant_initializer(0.0))
145 "x", shape=shape, initializer=init_ops.constant_initializer(1.0))
157 initializer=init_ops.constant_initializer(7))
170 initializer=init_ops.constant_initializer((10, 20, 30)))
177 init = init_ops.constant_initializer(value, dtype=dtypes.int32)
202 init = init_ops.constant_initializer(value, dtype=dtypes.int32)
229 init = init_ops.constant_initializer(value, dtype=dtypes.int32)
[all …]
Dtemplate_test.py29 from tensorflow.python.ops import init_ops
42 initializer=init_ops.zeros_initializer())
48 "dummy", shape=[1], initializer=init_ops.zeros_initializer())
55 "dummy", shape=[1], initializer=init_ops.zeros_initializer())
62 "dummy", shape=[1], initializer=init_ops.zeros_initializer())
67 "local", shape=[1], initializer=init_ops.zeros_initializer())
69 "dummy", shape=[1], initializer=init_ops.zeros_initializer())
88 "w", shape=[], initializer=init_ops.truncated_normal_initializer())
90 "b", shape=[], initializer=init_ops.truncated_normal_initializer())
129 "w", shape=[], initializer=init_ops.truncated_normal_initializer())
[all …]
Dtemplate_mirrored_strategy_test.py24 from tensorflow.python.ops import init_ops
42 "var1", shape=[], initializer=init_ops.constant_initializer(21.))
45 "var2", shape=[], initializer=init_ops.constant_initializer(2.))
/external/tensorflow/tensorflow/python/keras/legacy_tf_layers/
Dnormalization.py26 from tensorflow.python.ops import init_ops
130 beta_initializer=init_ops.zeros_initializer(),
131 gamma_initializer=init_ops.ones_initializer(),
132 moving_mean_initializer=init_ops.zeros_initializer(),
133 moving_variance_initializer=init_ops.ones_initializer(),
182 beta_initializer=init_ops.zeros_initializer(),
183 gamma_initializer=init_ops.ones_initializer(),
184 moving_mean_initializer=init_ops.zeros_initializer(),
185 moving_variance_initializer=init_ops.ones_initializer(),
Dconvolutional.py26 from tensorflow.python.ops import init_ops
93 bias_initializer=init_ops.zeros_initializer(),
133 bias_initializer=init_ops.zeros_initializer(),
298 bias_initializer=init_ops.zeros_initializer(),
338 bias_initializer=init_ops.zeros_initializer(),
511 bias_initializer=init_ops.zeros_initializer(),
551 bias_initializer=init_ops.zeros_initializer(),
728 bias_initializer=init_ops.zeros_initializer(),
843 bias_initializer=init_ops.zeros_initializer(),
892 bias_initializer=init_ops.zeros_initializer(),
[all …]
DBUILD48 "//tensorflow/python:init_ops",
60 "//tensorflow/python:init_ops",
72 "//tensorflow/python:init_ops",
105 "//tensorflow/python:init_ops",
134 "//tensorflow/python:init_ops",
160 "//tensorflow/python:init_ops",
203 "//tensorflow/python:init_ops",
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/serialization/
Dserialization_integration_test.py45 init_ops = []
50 init_ops.append(init_op)
53 return init_ops, get_next_ops, saver
66 init_ops, get_next_ops, saver = self._build_graph(num_pipelines,
69 self.evaluate(init_ops)
77 init_ops, get_next_ops, saver = self._build_graph(num_pipelines,
80 self.evaluate(init_ops)
/external/tensorflow/tensorflow/python/profiler/internal/
Dmodel_analyzer_testlib.py24 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))
Dprint_model_analysis_test.py23 from tensorflow.python.ops import init_ops
59 initializer=init_ops.random_normal_initializer(stddev=0.001))
/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.keras.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\'>"
Dtensorflow.keras.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\'>"
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.glorot_uniform_initializer.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\'>"
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.identity.pbtxt3 is_instance: "<class \'tensorflow.python.ops.init_ops.Identity\'>"
4 is_instance: "<class \'tensorflow.python.ops.init_ops.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.py32 from tensorflow.python.ops import init_ops
206 initializer=init_ops.random_uniform_initializer(
216 initializer=init_ops.constant_initializer(self.scale),
261 random_features_initializer = init_ops.random_normal_initializer(
264 random_features_initializer = init_ops.constant_initializer(
Dkernelized_test.py48 from tensorflow.python.ops import init_ops
119 ('random', init_ops.random_uniform_initializer, 1.0, True))
133 ('other', init_ops.ones_initializer, True))
164 ('other', init_ops.random_uniform_initializer))
194 ('other', 10, init_ops.ones_initializer, 1.0))
222 ('other', 7, init_ops.random_uniform_initializer(), None, True))
252 ('other', 7, init_ops.ones_initializer(), 2.0, True))
280 ('other', 10, init_ops.random_uniform_initializer(), None, True))
298 ('other', init_ops.random_uniform_initializer(), 5.0))
/external/tensorflow/tensorflow/core/grappler/
Dgrappler_item.cc57 item.init_ops = init_ops; in WithGraph()
90 TF_CHECK_OK(ComputeTransitiveFanin(graph, init_ops, &fanin_nodes)); in InitOpsFanin()
96 TF_CHECK_OK(ComputeTransitiveFanin(graph, init_ops, &fanin)); in MainVariables()
116 for (const auto& node : init_ops) { in NodesToPreserve()

12345678