Home
last modified time | relevance | path

Searched refs:variable_scope (Results 1 – 25 of 355) sorted by relevance

12345678910>>...15

/external/tensorflow/tensorflow/python/kernel_tests/
Dvariable_scope_test.py41 from tensorflow.python.ops import variable_scope
83 vs = variable_scope._get_default_variable_store()
91 vs = variable_scope._get_default_variable_store()
98 vs = variable_scope._get_default_variable_store()
116 vs = variable_scope._get_default_variable_store()
129 with variable_scope.variable_scope("tower0") as tower:
130 with variable_scope.variable_scope("foo", initializer=init):
131 v = variable_scope.get_variable("v", [])
134 with variable_scope.variable_scope(tower, initializer=init):
135 w = variable_scope.get_variable("w", [])
[all …]
Dtemplate_test.py33 from tensorflow.python.ops import variable_scope
41 return variable_scope.get_variable(
47 with variable_scope.variable_scope(scope_name):
48 return variable_scope.get_variable(
55 return variable_scope.get_variable(
61 variable_scope.get_variable(name, shape=[1], trainable=trainable)
62 return variable_scope.get_variable(
67 variable_scope.get_local_variable(
69 return variable_scope.get_variable(
88 m = variable_scope.get_variable(
[all …]
Dpartitioned_variables_test.py34 from tensorflow.python.ops import variable_scope
45 with variable_scope.variable_scope("root", partitioner=partitioner):
46 v0 = variable_scope.get_variable(
56 with variable_scope.variable_scope("root", partitioner=partitioner):
57 v0 = variable_scope.get_variable("v0", dtype=dtypes.int64, shape=[20])
64 with variable_scope.variable_scope(
66 v0 = variable_scope.get_variable(
83 with variable_scope.variable_scope("root", partitioner=partitioner):
84 v0 = variable_scope.get_variable(
180 with variable_scope.variable_scope(
[all …]
/external/tensorflow/tensorflow/contrib/slim/python/slim/nets/
Dinception_v1.py30 from tensorflow.python.ops import variable_scope
60 with variable_scope.variable_scope(scope, 'InceptionV1', [inputs]):
93 with variable_scope.variable_scope(end_point):
94 with variable_scope.variable_scope('Branch_0'):
96 with variable_scope.variable_scope('Branch_1'):
100 with variable_scope.variable_scope('Branch_2'):
104 with variable_scope.variable_scope('Branch_3'):
115 with variable_scope.variable_scope(end_point):
116 with variable_scope.variable_scope('Branch_0'):
118 with variable_scope.variable_scope('Branch_1'):
[all …]
Dinception_v2.py30 from tensorflow.python.ops import variable_scope
81 with variable_scope.variable_scope(scope, 'InceptionV2', [inputs]):
144 with variable_scope.variable_scope(end_point):
145 with variable_scope.variable_scope('Branch_0'):
148 with variable_scope.variable_scope('Branch_1'):
156 with variable_scope.variable_scope('Branch_2'):
166 with variable_scope.variable_scope('Branch_3'):
179 with variable_scope.variable_scope(end_point):
180 with variable_scope.variable_scope('Branch_0'):
183 with variable_scope.variable_scope('Branch_1'):
[all …]
Dinception_v3.py30 from tensorflow.python.ops import variable_scope
105 with variable_scope.variable_scope(scope, 'InceptionV3', [inputs]):
162 with variable_scope.variable_scope(end_point):
163 with variable_scope.variable_scope('Branch_0'):
166 with variable_scope.variable_scope('Branch_1'):
171 with variable_scope.variable_scope('Branch_2'):
178 with variable_scope.variable_scope('Branch_3'):
189 with variable_scope.variable_scope(end_point):
190 with variable_scope.variable_scope('Branch_0'):
193 with variable_scope.variable_scope('Branch_1'):
[all …]
/external/tensorflow/tensorflow/contrib/framework/python/framework/
Dcheckpoint_utils_test.py29 from tensorflow.python.ops import variable_scope
38 v1 = variable_scope.get_variable("var1", [1, 10])
39 v2 = variable_scope.get_variable("var2", [10, 10])
40 v3 = variable_scope.get_variable("var3", [100, 100])
41 with variable_scope.variable_scope("useful_scope"):
42 v4 = variable_scope.get_variable("var4", [9, 9])
57 with variable_scope.variable_scope("scope"):
58 v1 = variable_scope.get_variable(
121 with variable_scope.variable_scope("some_scope"):
122 my1 = variable_scope.get_variable("my1", [1, 10])
[all …]
/external/tensorflow/tensorflow/python/training/
Dcheckpoint_utils_test.py30 from tensorflow.python.ops import variable_scope
40 v1 = variable_scope.get_variable("var1", [1, 10])
41 v2 = variable_scope.get_variable("var2", [10, 10])
42 v3 = variable_scope.get_variable("var3", [100, 100])
43 with variable_scope.variable_scope("useful_scope"):
44 v4 = variable_scope.get_variable("var4", [9, 9])
59 with variable_scope.variable_scope("scope"):
60 v1 = variable_scope.get_variable(
123 with variable_scope.variable_scope("some_scope"):
124 my1 = variable_scope.get_variable("my1", [1, 10])
[all …]
Dwarm_starting_util_test.py30 from tensorflow.python.ops import variable_scope
64 var = variable_scope.get_variable(
84 all_vars.append(variable_scope.get_variable(
102 with variable_scope.variable_scope("", partitioner=partitioner):
123 fruit_weights = variable_scope.get_variable(
141 fruit_weights = variable_scope.get_variable(
155 fruit_weights = variable_scope.get_variable(
181 fruit_weights = variable_scope.get_variable(
210 fruit_weights = variable_scope.get_variable(
230 fruit_output_layer = variable_scope.get_variable(
[all …]
Dslot_creator.py47 from tensorflow.python.ops import variable_scope
56 current_partitioner = variable_scope.get_variable_scope().partitioner
57 variable_scope.get_variable_scope().set_partitioner(None)
67 slot = variable_scope.get_variable(
75 variable_scope.get_variable_scope().set_partitioner(current_partitioner)
122 with variable_scope.variable_scope(None, prefix + "/" + name):
159 with variable_scope.variable_scope(None, prefix + "/" + name):
/external/tensorflow/tensorflow/contrib/framework/python/ops/
Dvariables_test.py37 from tensorflow.python.ops import variable_scope
62 with variable_scope.variable_scope('A'):
70 with variable_scope.variable_scope('A'):
77 with variable_scope.variable_scope('A'):
84 with variable_scope.variable_scope('A'):
86 with variable_scope.variable_scope('B'):
93 with variable_scope.variable_scope('A'):
95 with variable_scope.variable_scope('B'):
133 with variable_scope.variable_scope('A'):
141 with variable_scope.variable_scope('A'):
[all …]
/external/tensorflow/tensorflow/contrib/legacy_seq2seq/python/ops/
Dseq2seq.py75 from tensorflow.python.ops import variable_scope
142 with variable_scope.variable_scope(scope or "rnn_decoder"):
148 with variable_scope.variable_scope("loop_function", reuse=True):
151 variable_scope.get_variable_scope().reuse_variables()
184 with variable_scope.variable_scope(scope or "basic_rnn_seq2seq"):
220 with variable_scope.variable_scope("combined_tied_rnn_seq2seq"):
224 variable_scope.get_variable_scope().reuse_variables()
282 with variable_scope.variable_scope(scope or "embedding_rnn_decoder") as scope:
290 embedding = variable_scope.get_variable("embedding",
351 with variable_scope.variable_scope(scope or "embedding_rnn_seq2seq") as scope:
[all …]
/external/tensorflow/tensorflow/contrib/timeseries/python/timeseries/state_space_models/
Dstructural_ensemble.py26 from tensorflow.python.ops import variable_scope
33 with variable_scope.variable_scope("adder"):
38 with variable_scope.variable_scope("feature{}".format(feature)):
127 with variable_scope.variable_scope("varma"):
138 with variable_scope.variable_scope("cycle{}".format(cycle_number)):
141 with variable_scope.variable_scope("feature{}".format(feature)):
229 with variable_scope.variable_scope("varma"):
250 with variable_scope.variable_scope("cycle{}".format(cycle_number)):
253 with variable_scope.variable_scope("feature{}".format(feature)):
/external/tensorflow/tensorflow/contrib/legacy_seq2seq/python/kernel_tests/
Dseq2seq_test.py41 from tensorflow.python.ops import variable_scope
51 with variable_scope.variable_scope(
69 with variable_scope.variable_scope(
85 with variable_scope.variable_scope(
102 with variable_scope.variable_scope(
128 with variable_scope.variable_scope(
157 with variable_scope.variable_scope("no_tuple"):
175 w = variable_scope.get_variable("proj_w", [2, 5])
176 b = variable_scope.get_variable("proj_b", [5])
177 with variable_scope.variable_scope("proj_seq2seq"):
[all …]
/external/tensorflow/tensorflow/contrib/distribute/python/
Dmirrored_strategy_multigpu_test.py55 from tensorflow.python.ops import variable_scope
235 with variable_scope.variable_creator_scope(thread_creator_fn):
237 v = variable_scope.variable(1.0)
250 variable_scope.variable_creator_scope(main_thread_creator):
326 v = variable_scope.variable(2.0, name="bar")
331 v1 = variable_scope.variable(1.0, name="foo")
342 v = variable_scope.variable(1.0, name="foo")
352 v = variable_scope.variable(1.0)
364 vs.append(variable_scope.variable(1.0, name="foo" + str(i)))
376 vs.append(variable_scope.variable(1.0, name="foo/bar"))
[all …]
/external/tensorflow/tensorflow/python/grappler/
Dhierarchical_controller.py47 from tensorflow.python.ops import variable_scope
181 with variable_scope.variable_scope(
184 reuse=variable_scope.AUTO_REUSE):
186 variable_scope.get_variable("w_grouping_ff", [
190 variable_scope.get_variable(
194 variable_scope.get_variable("encoder_lstm_forward", [
198 variable_scope.get_variable("encoder_lstm_backward", [
202 variable_scope.get_variable(
204 variable_scope.get_variable(
207 variable_scope.get_variable(
[all …]
/external/tensorflow/tensorflow/contrib/gan/python/eval/python/
Dsummaries_test.py25 from tensorflow.python.ops import variable_scope
32 return variable_scope.get_variable('dummy_g', initializer=2.0) * inputs
36 return variable_scope.get_variable('dummy_d', initializer=2.0) * inputs
45 with variable_scope.variable_scope('generator') as gen_scope:
47 with variable_scope.variable_scope('discriminator') as dis_scope:
66 with variable_scope.variable_scope('discriminator') as dis_scope:
68 with variable_scope.variable_scope('generator') as gen_scope:
89 with variable_scope.variable_scope('x2y'):
91 with variable_scope.variable_scope('y2x'):
/external/tensorflow/tensorflow/contrib/gan/python/
Dtrain.py47 from tensorflow.python.ops import variable_scope
110 with variable_scope.variable_scope(generator_scope) as gen_scope:
113 with variable_scope.variable_scope(discriminator_scope) as dis_scope:
116 with variable_scope.variable_scope(dis_scope, reuse=True):
179 with variable_scope.variable_scope(generator_scope) as gen_scope:
187 with variable_scope.variable_scope(discriminator_scope) as disc_scope:
191 with variable_scope.variable_scope(disc_scope, reuse=True):
275 with variable_scope.variable_scope(generator_scope) as gen_scope:
278 with variable_scope.variable_scope(discriminator_scope) as dis_scope:
283 with variable_scope.variable_scope(dis_scope, reuse=True):
[all …]
/external/tensorflow/tensorflow/contrib/layers/python/layers/
Drev_block_lib_test.py35 from tensorflow.python.ops import variable_scope
120 with variable_scope.variable_scope("rev_test") as vs:
133 with variable_scope.variable_scope(vs, reuse=True):
210 with variable_scope.variable_scope("test"):
215 with variable_scope.variable_scope("test", reuse=True):
225 with variable_scope.variable_scope("test", reuse=True):
237 with variable_scope.variable_scope(name, default_name="layer"):
281 with variable_scope.variable_scope(name, use_resource=True) as vs:
313 with variable_scope.variable_scope("layer", use_resource=True):
329 with variable_scope.variable_scope("inner", use_resource=True):
[all …]
Dencoders_test.py24 from tensorflow.python.ops import variable_scope
30 return variable_scope.get_variable(
84 with variable_scope.variable_scope('test'):
86 with variable_scope.variable_scope('test', reuse=True):
96 variable_scope.get_variable_scope().reuse_variables()
105 with variable_scope.variable_scope('test'):
116 with variable_scope.variable_scope('test'):
/external/tensorflow/tensorflow/python/distribute/
Ddistribute_lib_test.py25 from tensorflow.python.ops import variable_scope
86 "bar", variable_scope.VariableSynchronization.AUTO,
87 variable_scope.VariableAggregation.NONE)
89 variable_scope.variable(1.0, name="bar"))
106 "baz", variable_scope.VariableSynchronization.AUTO,
107 variable_scope.VariableAggregation.NONE)
109 variable_scope.variable(1.0, name="baz"))
117 "baz", variable_scope.VariableSynchronization.ON_WRITE,
118 variable_scope.VariableAggregation.MEAN)
121 variable_scope.variable(
[all …]
Dshared_variable_creator_test.py24 from tensorflow.python.ops import variable_scope
59 with variable_scope.variable_creator_scope(creator_fns[0]):
60 v0 = variable_scope.variable(1.0, name="foo")
62 with variable_scope.variable_creator_scope(creator_fns[1]):
63 v1 = variable_scope.variable(1.0, name="foo")
65 with variable_scope.variable_creator_scope(creator_fns[2]):
66 v2 = variable_scope.variable(1.0, name="foo")
/external/tensorflow/tensorflow/contrib/rnn/python/kernel_tests/
Drnn_cell_test.py48 from tensorflow.python.ops import variable_scope
80 with variable_scope.variable_scope(
101 with variable_scope.variable_scope(
113 with variable_scope.variable_scope(
131 with variable_scope.variable_scope(
179 with variable_scope.variable_scope(
200 with variable_scope.variable_scope(
236 with variable_scope.variable_scope(
254 with variable_scope.variable_scope(
272 with variable_scope.variable_scope(
[all …]
Dlstm_ops_test.py37 from tensorflow.python.ops import variable_scope
123 with variable_scope.variable_scope("test", initializer=initializer):
126 wci = variable_scope.get_variable(
128 wcf = variable_scope.get_variable(
130 wco = variable_scope.get_variable(
133 w = variable_scope.get_variable(
137 b = variable_scope.get_variable(
237 with variable_scope.variable_scope(
312 with variable_scope.variable_scope("basic", initializer=initializer):
329 with variable_scope.variable_scope("block", initializer=initializer):
[all …]
/external/tensorflow/tensorflow/contrib/tensor_forest/hybrid/python/models/
Ddecisions_to_data_then_nn_test.py30 from tensorflow.python.ops import variable_scope
64 with variable_scope.variable_scope("DecisionsToDataThenNNTest_testHParams"):
82 with variable_scope.variable_scope(
97 with variable_scope.variable_scope(
113 with variable_scope.variable_scope(

12345678910>>...15