Home
last modified time | relevance | path

Searched refs:get_variable (Results 1 – 25 of 145) sorted by relevance

123456

/external/tensorflow/tensorflow/python/keras/legacy_tf_layers/
Dvariable_scope_shim_test.py79 v = vs.get_variable("v", [1])
80 v1 = vs.get_variable("v", [1])
88 v = vs.get_variable("v", [1])
89 v1 = vs.get_variable("v", [1])
92 self.assertIsNot(v, vs.get_variable("u", [1], reuse=False))
98 vs.get_variable("v1", [2])
99 vs.get_variable("v2", [2])
112 v = variable_scope.get_variable("v", [])
116 w = variable_scope.get_variable("w", [])
126 v = variable_scope.get_variable("v", [])
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/
Dvariable_scope_test.py84 v = vs.get_variable("v", [1])
85 v1 = vs.get_variable("v", [1])
92 v1 = vs.get_variable("v", [1], use_resource=True)
100 v = vs.get_variable("v", [1])
101 v1 = vs.get_variable("v", [1])
105 vs.get_variable("w", [1], reuse=False) # That's ok.
107 vs.get_variable("v", [1], reuse=False) # That fails.
109 vs.get_variable("v", [1], reuse=True) # That's ok.
111 vs.get_variable("u", [1], reuse=True) # That fails.
117 vs.get_variable("v1", [2])
[all …]
Dtemplate_test.py40 return variable_scope.get_variable(
47 return variable_scope.get_variable(
54 return variable_scope.get_variable(
60 variable_scope.get_variable(name, shape=[1], trainable=trainable)
61 return variable_scope.get_variable(
68 return variable_scope.get_variable(
87 m = variable_scope.get_variable(
89 b = variable_scope.get_variable(
128 m = variable_scope.get_variable(
130 b = variable_scope.get_variable(
[all …]
Dpartitioned_variables_test.py46 v0 = variable_scope.get_variable(
57 v0 = variable_scope.get_variable("v0", dtype=dtypes.int64, shape=[20])
66 v0 = variable_scope.get_variable(
84 v0 = variable_scope.get_variable(
182 v3str = variable_scope.get_variable(
206 v0 = variable_scope.get_variable(
560 var_x = variable_scope.get_variable(
582 var_x = variable_scope.get_variable(
612 v0 = variable_scope.get_variable(
Dtemplate_mirrored_strategy_test.py41 var1 = variable_scope.get_variable(
44 var2 = variable_scope.get_variable(
/external/tensorflow/tensorflow/examples/speech_commands/
Dmodels.py193 weights = tf.compat.v1.get_variable(
197 bias = tf.compat.v1.get_variable(name='bias',
264 first_weights = tf.compat.v1.get_variable(
268 first_bias = tf.compat.v1.get_variable(
289 second_weights = tf.compat.v1.get_variable(
296 second_bias = tf.compat.v1.get_variable(
318 final_fc_weights = tf.compat.v1.get_variable(
322 final_fc_bias = tf.compat.v1.get_variable(
390 first_weights = tf.compat.v1.get_variable(
394 first_bias = tf.compat.v1.get_variable(
[all …]
/external/tensorflow/tensorflow/python/training/
Dcheckpoint_utils_test.py47 v1 = variable_scope.get_variable("var1", [1, 10])
48 v2 = variable_scope.get_variable("var2", [10, 10])
49 v3 = variable_scope.get_variable("var3", [100, 100])
51 v4 = variable_scope.get_variable("var4", [9, 9])
67 v1 = variable_scope.get_variable(
131 my1 = variable_scope.get_variable("my1", [1, 10])
133 my2 = variable_scope.get_variable("my2", [10, 10])
135 my4 = variable_scope.get_variable("var4", [9, 9])
136 my3 = variable_scope.get_variable("my3", [100, 100])
137 my3b = variable_scope.get_variable("my3b", [100, 100])
[all …]
Dwarm_starting_util_test.py66 var = variable_scope.get_variable(
86 all_vars.append(variable_scope.get_variable(
125 fruit_weights = variable_scope.get_variable(
143 fruit_weights = variable_scope.get_variable(
157 fruit_weights = variable_scope.get_variable(
183 fruit_weights = variable_scope.get_variable(
212 fruit_weights = variable_scope.get_variable(
232 fruit_output_layer = variable_scope.get_variable(
257 fruit_weights = variable_scope.get_variable(
286 fruit_weights = variable_scope.get_variable(
[all …]
Dcheckpoint_ops_test.py52 variable_scope.get_variable(name='embeddings', shape=[5, 16],
152 remapped_matrix = variable_scope.get_variable(
185 remapped_matrix = variable_scope.get_variable(
222 remapped_matrix = variable_scope.get_variable(
257 remapped_matrix = variable_scope.get_variable(
290 remapped_embeddings = variable_scope.get_variable(
336 remapped_embeddings = variable_scope.get_variable(
374 remapped_embeddings = variable_scope.get_variable(
/external/libopus/silk/
Dmeson.build25 have_intr = get_variable('have_' + intr_name)
30 intr_sources = get_variable('silk_sources_' + intr_name)
32 intr_sources += get_variable('silk_sources_fixed_' + intr_name)
35 intr_args = get_variable('opus_@0@_args'.format(intr_name), [])
/external/tensorflow/tensorflow/python/profiler/internal/
Dmodel_analyzer_testlib.py41 _ = variable_scope.get_variable(
45 kernel = variable_scope.get_variable(
50 kernel = variable_scope.get_variable(
79 kernel1 = variable_scope.get_variable(
85 kernel2 = variable_scope.get_variable(
/external/tensorflow/tensorflow/python/distribute/
Dcheckpoint_utils_test.py45 v1 = variable_scope.get_variable("var1", [1, 10])
46 v2 = variable_scope.get_variable("var2", [10, 10])
83 v1 = variable_scope.get_variable("new_var1", [1, 10])
84 v2 = variable_scope.get_variable(
119 v1 = variable_scope.get_variable("new_var1", [1, 10])
Dparameter_server_strategy_test.py132 n = variable_scope.get_variable('n', initializer=10.0)
151 x = variable_scope.get_variable(
165 y = variable_scope.get_variable(
175 z = variable_scope.get_variable(
197 u = variable_scope.get_variable('u', initializer=30.0)
198 v = variable_scope.get_variable('v', initializer=30.0)
232 n = variable_scope.get_variable(
245 x = variable_scope.get_variable(
306 x = variable_scope.get_variable(
318 y = variable_scope.get_variable(
[all …]
Dwarm_starting_util_test.py67 var = variable_scope.get_variable(var_name, initializer=original_value)
87 var = variable_scope.get_variable(
/external/libopus/celt/
Dmeson.build14 have_intr = get_variable('have_' + intr_name)
19 intr_sources = get_variable('celt_@0@_sources'.format(intr_name))
20 intr_args = get_variable('opus_@0@_args'.format(intr_name), [])
/external/mesa3d/src/compiler/glsl/
Dlower_cs_derived.cpp116 WorkGroupSize = shader->symbols->get_variable("gl_LocalGroupSizeARB"); in find_sysvals()
118 WorkGroupSize = shader->symbols->get_variable("gl_WorkGroupSize"); in find_sysvals()
121 gl_WorkGroupID = shader->symbols->get_variable("gl_WorkGroupID"); in find_sysvals()
122 gl_LocalInvocationID = shader->symbols->get_variable("gl_LocalInvocationID"); in find_sysvals()
/external/tensorflow/tensorflow/python/framework/
Dconvert_to_constants_test.py956 variable_node = variable_scope.get_variable(
958 variable_scope.get_variable("unused_variable_node", initializer=1.0)
988 variable_node = variable_scope.get_variable(
990 another_variable = variable_scope.get_variable(
1100 x = variable_scope.get_variable("var_x", initializer=1.0)
1101 y = variable_scope.get_variable("var_y", initializer=2.0)
1102 f1 = lambda: variable_scope.get_variable("var_f1", initializer=17.0)
1103 f2 = lambda: variable_scope.get_variable("var_f2", initializer=23.0)
1126 _ = variable_scope.get_variable("x", initializer=1.0)
1152 _ = variable_scope.get_variable("x", initializer=1.0)
[all …]
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/
Dmulti_variables_v1.py41 x = tf.compat.v1.get_variable(
46 y = tf.compat.v1.get_variable(
/external/tensorflow/tensorflow/python/training/tracking/
Dbase_test.py49 name="v", shape=[], getter=variable_scope.get_variable)
54 getter=variable_scope.get_variable)
61 getter=variable_scope.get_variable)
Dutil_with_v1_optimizers_test.py111 obj.var = variable_scope.get_variable(name="v", initializer=0.)
128 obj.var = variable_scope.get_variable(name="v", initializer=0.)
206 return variable_scope.get_variable(name="in_manual_scope", shape=[])
215 v = variable_scope.get_variable(
218 v2 = variable_scope.get_variable(
/external/harfbuzz_ng/perf/
Dmeson.build2 google_benchmark_dep = google_benchmark.get_variable('google_benchmark_dep')
6 ttf_parser_dep = subproject('ttf-parser').get_variable('ttf_parser_dep')
/external/tensorflow/tensorflow/python/ops/
Dinit_ops_test.py186 variable_scope.get_variable(
188 variable_scope.get_variable(
207 v = variable_scope.get_variable(
209 w = variable_scope.get_variable(
/external/tensorflow/tensorflow/core/tfrt/saved_model/tests/
Dgen_if_v1.py52 one = variable_scope.get_variable(name='y', initializer=[1])
53 neg_one = variable_scope.get_variable(name='z', initializer=[-1])
/external/tensorflow/tensorflow/python/tpu/
Dbfloat16_test.py76 v1 = variable_scope.get_variable("v1", [])
78 v2 = variable_scope.get_variable("v2", [], dtype=dtypes.bfloat16)
/external/tensorflow/tensorflow/lite/testing/op_tests/
Dlstm.py72 kernel = tf.get_variable("rnn/basic_lstm_cell/kernel")
73 bias = tf.get_variable("rnn/basic_lstm_cell/bias")

123456