/external/tensorflow/tensorflow/python/kernel_tests/ |
D | resource_variable_ops_test.py | 87 v = resource_variable_ops.ResourceVariable(1, dtype=dtypes.int64) 92 v0 = resource_variable_ops.ResourceVariable(1.0, name="a") 93 v1 = resource_variable_ops.ResourceVariable(2.0, name="a") 99 v0 = resource_variable_ops.ResourceVariable(1.0) 114 variable = resource_variable_ops.ResourceVariable(1.0, name="eager-init") 120 v = resource_variable_ops.ResourceVariable(False, name="bool_test") 126 variable = resource_variable_ops.ResourceVariable(init_value, 140 variable = resource_variable_ops.ResourceVariable(init_value, 147 v = resource_variable_ops.ResourceVariable([1.0, 2.0]) 154 v = resource_variable_ops.ResourceVariable([1., 1.]) [all …]
|
D | critical_section_test.py | 42 v = resource_variable_ops.ResourceVariable(0.0, name="v") 63 v = resource_variable_ops.ResourceVariable(0.0, name="v") 102 v = resource_variable_ops.ResourceVariable(0.0, name="v") 129 v = resource_variable_ops.ResourceVariable(0.0, name="v") 325 v = resource_variable_ops.ResourceVariable(0.0, name="v") 339 v2 = resource_variable_ops.ResourceVariable(0.0, name="v2") 352 v = resource_variable_ops.ResourceVariable(0, name="v") 374 v = resource_variable_ops.ResourceVariable(1)
|
/external/tensorflow/tensorflow/contrib/checkpoint/python/ |
D | containers_test.py | 41 x1 = resource_variable_ops.ResourceVariable(2.) 42 x2 = resource_variable_ops.ResourceVariable(3.) 43 x3 = resource_variable_ops.ResourceVariable(4.) 44 y = resource_variable_ops.ResourceVariable(5.) 59 restore_slots.x = resource_variable_ops.ResourceVariable(0.) 60 restore_slots.x_1 = resource_variable_ops.ResourceVariable(0.) 61 restore_slots.x_1_1 = resource_variable_ops.ResourceVariable(0.) 62 restore_slots.y = resource_variable_ops.ResourceVariable(0.) 78 resource_variable_ops.ResourceVariable(3.), "x")) 80 resource_variable_ops.ResourceVariable(4.), "y")) [all …]
|
D | split_dependency_test.py | 50 self.combined = resource_variable_ops.ResourceVariable([0., 0., 0., 0.]) 65 self.first_half = resource_variable_ops.ResourceVariable([0., 0.]) 66 self.second_half = resource_variable_ops.ResourceVariable([0., 0.]) 72 self.first_half = resource_variable_ops.ResourceVariable([0., 0.])
|
/external/tensorflow/tensorflow/contrib/eager/python/ |
D | saver.py | 93 old_init = getattr(resource_variable_ops.ResourceVariable, 96 setattr(resource_variable_ops.ResourceVariable, "_init_from_args", 98 setattr(resource_variable_ops.ResourceVariable, "_old_init", old_init) 99 setattr(resource_variable_ops.ResourceVariable, "_map_func", 101 setattr(resource_variable_ops.ResourceVariable, "_ckpt_var_cache", 109 setattr(resource_variable_ops.ResourceVariable, "_init_from_args", 111 setattr(resource_variable_ops.ResourceVariable, "_old_init", None) 112 setattr(resource_variable_ops.ResourceVariable, "_map_func", None) 113 setattr(resource_variable_ops.ResourceVariable, "_ckpt_var_cache", None)
|
D | saver_test.py | 42 v1 = resource_variable_ops.ResourceVariable(1.0, name='v1') 59 v1 = resource_variable_ops.ResourceVariable(1.0, name='v1') 60 v2 = resource_variable_ops.ResourceVariable(2.0, name='v1') 68 v1 = resource_variable_ops.ResourceVariable(1.0, name='v1') 77 v1 = resource_variable_ops.ResourceVariable(1.0, name='v1') 78 v2 = resource_variable_ops.ResourceVariable(1.0, name='v2') 103 v3 = resource_variable_ops.ResourceVariable(2.0, name='v3') 104 v4 = resource_variable_ops.ResourceVariable(2.0, name='v4') 111 v1 = resource_variable_ops.ResourceVariable(init_val, name='v1') 131 v = resource_variable_ops.ResourceVariable(1.0, name='v1') [all …]
|
/external/tensorflow/tensorflow/compiler/tests/ |
D | adagrad_da_test.py | 37 global_step = resource_variable_ops.ResourceVariable( 39 var0 = resource_variable_ops.ResourceVariable([0.0, 0.0], dtype=dtype) 40 var1 = resource_variable_ops.ResourceVariable([0.0, 0.0], dtype=dtype) 73 global_step = resource_variable_ops.ResourceVariable( 75 var0 = resource_variable_ops.ResourceVariable([1.0, 2.0], dtype=dtype) 76 var1 = resource_variable_ops.ResourceVariable([4.0, 3.0], dtype=dtype) 104 global_step = resource_variable_ops.ResourceVariable( 106 var0 = resource_variable_ops.ResourceVariable([1.0, 2.0], dtype=dtype) 107 var1 = resource_variable_ops.ResourceVariable([4.0, 3.0], dtype=dtype) 135 global_step = resource_variable_ops.ResourceVariable( [all …]
|
D | proximal_gradient_descent_test.py | 36 var0 = resource_variable_ops.ResourceVariable([0.0, 0.0]) 37 var1 = resource_variable_ops.ResourceVariable([0.0, 0.0]) 57 var0 = resource_variable_ops.ResourceVariable([1.0, 2.0]) 58 var1 = resource_variable_ops.ResourceVariable([4.0, 3.0]) 79 var0 = resource_variable_ops.ResourceVariable([1.0, 2.0]) 80 var1 = resource_variable_ops.ResourceVariable([4.0, 3.0]) 101 var0 = resource_variable_ops.ResourceVariable([1.0, 2.0]) 102 var1 = resource_variable_ops.ResourceVariable([4.0, 3.0]) 122 var0 = resource_variable_ops.ResourceVariable([1.0, 2.0]) 123 var1 = resource_variable_ops.ResourceVariable([3.0, 4.0])
|
D | proximal_adagrad_test.py | 36 var0 = resource_variable_ops.ResourceVariable([0.0, 0.0]) 37 var1 = resource_variable_ops.ResourceVariable([0.0, 0.0]) 66 var0 = resource_variable_ops.ResourceVariable([1.0, 2.0]) 67 var1 = resource_variable_ops.ResourceVariable([4.0, 3.0]) 90 var0 = resource_variable_ops.ResourceVariable([1.0, 2.0]) 91 var1 = resource_variable_ops.ResourceVariable([4.0, 3.0]) 114 var0 = resource_variable_ops.ResourceVariable([1.0, 2.0]) 115 var1 = resource_variable_ops.ResourceVariable([4.0, 3.0]) 138 var0 = resource_variable_ops.ResourceVariable([1.0, 2.0]) 139 var1 = resource_variable_ops.ResourceVariable([3.0, 4.0])
|
D | ftrl_test.py | 35 var0 = resource_variable_ops.ResourceVariable([0.0, 0.0], dtype=dtype) 36 var1 = resource_variable_ops.ResourceVariable([0.0, 0.0], dtype=dtype) 115 var0 = resource_variable_ops.ResourceVariable([0.0, 0.0], dtype=dtype) 116 var1 = resource_variable_ops.ResourceVariable([0.0, 0.0], dtype=dtype) 149 var0 = resource_variable_ops.ResourceVariable([1.0, 2.0], dtype=dtype) 150 var1 = resource_variable_ops.ResourceVariable([4.0, 3.0], dtype=dtype) 182 var0 = resource_variable_ops.ResourceVariable([1.0, 2.0], dtype=dtype) 183 var1 = resource_variable_ops.ResourceVariable([4.0, 3.0], dtype=dtype) 216 var0 = resource_variable_ops.ResourceVariable([1.0, 2.0], dtype=dtype) 217 var1 = resource_variable_ops.ResourceVariable([4.0, 3.0], dtype=dtype) [all …]
|
D | eager_test.py | 139 v = resource_variable_ops.ResourceVariable(True) 145 v = resource_variable_ops.ResourceVariable(1.0) 151 v = resource_variable_ops.ResourceVariable(1.0) 168 v0 = resource_variable_ops.ResourceVariable(1.0) 182 var = resource_variable_ops.ResourceVariable( 266 x = resource_variable_ops.ResourceVariable(10.0) 277 embedding_matrix = resource_variable_ops.ResourceVariable( 335 v = resource_variable_ops.ResourceVariable(1.0) 346 v = resource_variable_ops.ResourceVariable(1.0) 359 v = resource_variable_ops.ResourceVariable([[1.0, 2.0], [3.0, 4.0]]) [all …]
|
D | adagrad_test.py | 36 var0 = resource_variable_ops.ResourceVariable([1.0, 2.0], dtype=dtype) 37 var1 = resource_variable_ops.ResourceVariable([3.0, 4.0], dtype=dtype) 63 var0 = resource_variable_ops.ResourceVariable([1.0, 2.0], dtype=dtype) 64 var1 = resource_variable_ops.ResourceVariable([3.0, 4.0], dtype=dtype) 91 var0 = resource_variable_ops.ResourceVariable([1.0, 2.0], dtype=dtype) 92 var1 = resource_variable_ops.ResourceVariable([3.0, 4.0], dtype=dtype)
|
D | momentum_test.py | 45 var0 = resource_variable_ops.ResourceVariable([1.0, 2.0], dtype=dtype) 46 var1 = resource_variable_ops.ResourceVariable([3.0, 4.0], dtype=dtype) 105 var0 = resource_variable_ops.ResourceVariable([0.1, 0.2], dtype=dtype) 106 var1 = resource_variable_ops.ResourceVariable([0.3, 0.4], dtype=dtype) 112 global_step = resource_variable_ops.ResourceVariable( 130 var0 = resource_variable_ops.ResourceVariable([1.0, 2.0], dtype=dtype) 131 var1 = resource_variable_ops.ResourceVariable([3.0, 4.0], dtype=dtype)
|
D | adam_test.py | 69 var0 = resource_variable_ops.ResourceVariable(var0_np) 70 var1 = resource_variable_ops.ResourceVariable(var1_np) 112 var0 = resource_variable_ops.ResourceVariable(var0_np) 113 var1 = resource_variable_ops.ResourceVariable(var1_np) 155 var0 = resource_variable_ops.ResourceVariable(var0_np) 156 var1 = resource_variable_ops.ResourceVariable(var1_np)
|
/external/tensorflow/tensorflow/python/training/ |
D | optimizer_test.py | 42 var0 = resource_variable_ops.ResourceVariable([1.0, 2.0], dtype=dtype, 44 var1 = resource_variable_ops.ResourceVariable([3.0, 4.0], dtype=dtype, 50 global_step = resource_variable_ops.ResourceVariable( 122 var0 = resource_variable_ops.ResourceVariable( 124 var1 = resource_variable_ops.ResourceVariable( 137 var0 = resource_variable_ops.ResourceVariable([1.0, 2.0], dtype=dtype, 139 var1 = resource_variable_ops.ResourceVariable([3.0, 4.0], dtype=dtype, 155 var0 = resource_variable_ops.ResourceVariable([1.0, 2.0], dtype=dtype, 157 var1 = resource_variable_ops.ResourceVariable([3.0, 4.0], dtype=dtype, 171 var0 = resource_variable_ops.ResourceVariable([1.0, 2.0], dtype=dtype, [all …]
|
D | gradient_descent_test.py | 67 var0 = resource_variable_ops.ResourceVariable([1.0, 2.0], dtype=dtype) 68 var1 = resource_variable_ops.ResourceVariable([3.0, 4.0], dtype=dtype) 93 var0 = resource_variable_ops.ResourceVariable([1.0, 2.0], dtype=dtype) 94 var1 = resource_variable_ops.ResourceVariable([3.0, 4.0], dtype=dtype) 120 var0 = resource_variable_ops.ResourceVariable([[1.0, 2.0]], dtype=dtype) 121 var1 = resource_variable_ops.ResourceVariable([3.0], dtype=dtype) 147 var0 = resource_variable_ops.ResourceVariable([[1.0, 2.0]], dtype=dtype) 148 var1 = resource_variable_ops.ResourceVariable([3.0], dtype=dtype) 265 self.v = resource_variable_ops.ResourceVariable(1.0)
|
/external/tensorflow/tensorflow/contrib/optimizer_v2/ |
D | optimizer_v2_test.py | 41 var0 = resource_variable_ops.ResourceVariable([1.0, 2.0], dtype=dtype) 42 var1 = resource_variable_ops.ResourceVariable([3.0, 4.0], dtype=dtype) 47 global_step = resource_variable_ops.ResourceVariable( 117 var0 = resource_variable_ops.ResourceVariable( 119 var1 = resource_variable_ops.ResourceVariable( 130 var0 = resource_variable_ops.ResourceVariable([1.0, 2.0], dtype=dtype) 131 var1 = resource_variable_ops.ResourceVariable([3.0, 4.0], dtype=dtype) 144 var0 = resource_variable_ops.ResourceVariable([1.0, 2.0], dtype=dtype) 145 var1 = resource_variable_ops.ResourceVariable([3.0, 4.0], dtype=dtype) 156 var0 = resource_variable_ops.ResourceVariable([1.0, 2.0], dtype=dtype) [all …]
|
/external/tensorflow/tensorflow/python/framework/ |
D | auto_control_deps_test.py | 44 v = resource_variable_ops.ResourceVariable(1.0) 56 v = resource_variable_ops.ResourceVariable(1.0) 78 v = resource_variable_ops.ResourceVariable(1.0) 102 v = resource_variable_ops.ResourceVariable(1.0) 137 v = resource_variable_ops.ResourceVariable(1.0) 158 v = resource_variable_ops.ResourceVariable(1.0) 180 v = resource_variable_ops.ResourceVariable(1.0) 216 v = resource_variable_ops.ResourceVariable(1.0) 235 self.v = resource_variable_ops.ResourceVariable(1.0) 246 v = resource_variable_ops.ResourceVariable(1.0) [all …]
|
/external/tensorflow/tensorflow/python/keras/optimizer_v2/ |
D | optimizer_v2_test.py | 64 var0 = resource_variable_ops.ResourceVariable([1.0, 2.0], dtype=dtype) 65 var1 = resource_variable_ops.ResourceVariable([3.0, 4.0], dtype=dtype) 84 var0 = resource_variable_ops.ResourceVariable([1.0, 2.0], dtype=dtype) 85 var1 = resource_variable_ops.ResourceVariable([3.0, 4.0], dtype=dtype) 152 var0 = resource_variable_ops.ResourceVariable([1.0, 2.0], dtype=dtype) 153 var1 = resource_variable_ops.ResourceVariable([3.0, 4.0], dtype=dtype) 164 var0 = resource_variable_ops.ResourceVariable([1.0, 2.0], dtype=dtype) 165 var1 = resource_variable_ops.ResourceVariable([3.0, 4.0], dtype=dtype) 177 var0 = resource_variable_ops.ResourceVariable([1.0, 2.0], dtype=dtype) 178 var1 = resource_variable_ops.ResourceVariable([3.0, 4.0], dtype=dtype) [all …]
|
D | adagrad_test.py | 75 var0 = resource_variable_ops.ResourceVariable(var0_np) 76 var1 = resource_variable_ops.ResourceVariable(var1_np) 127 var0 = resource_variable_ops.ResourceVariable(var0_np) 128 var1 = resource_variable_ops.ResourceVariable(var1_np) 171 var0 = resource_variable_ops.ResourceVariable(var0_np) 172 var1 = resource_variable_ops.ResourceVariable(var1_np) 214 var0 = resource_variable_ops.ResourceVariable( 241 var0 = resource_variable_ops.ResourceVariable(var0_np) 242 var1 = resource_variable_ops.ResourceVariable(var1_np) 275 var0 = resource_variable_ops.ResourceVariable(var0_np) [all …]
|
D | gradient_descent_test.py | 45 var0 = resource_variable_ops.ResourceVariable([1.0, 2.0], dtype=dtype) 46 var1 = resource_variable_ops.ResourceVariable([3.0, 4.0], dtype=dtype) 61 var0 = resource_variable_ops.ResourceVariable([1.0, 2.0], dtype=dtype) 62 var1 = resource_variable_ops.ResourceVariable([3.0, 4.0], dtype=dtype) 119 var0 = resource_variable_ops.ResourceVariable([1.0, 2.0], dtype=dtype) 120 var1 = resource_variable_ops.ResourceVariable([3.0, 4.0], dtype=dtype) 138 var0 = resource_variable_ops.ResourceVariable([[1.0, 2.0]], dtype=dtype) 139 var1 = resource_variable_ops.ResourceVariable([3.0], dtype=dtype) 155 var0 = resource_variable_ops.ResourceVariable([[1.0, 2.0]], dtype=dtype) 156 var1 = resource_variable_ops.ResourceVariable([3.0], dtype=dtype) [all …]
|
/external/tensorflow/tensorflow/contrib/opt/python/training/ |
D | lazy_adam_gs_optimizer_test.py | 70 global_step = resource_variable_ops.ResourceVariable( 72 var0 = resource_variable_ops.ResourceVariable(var0_np) 73 var1 = resource_variable_ops.ResourceVariable(var1_np) 119 global_step = resource_variable_ops.ResourceVariable( 121 var = resource_variable_ops.ResourceVariable([[1.0], [2.0]]) 139 repeated_index_global_step = resource_variable_ops.ResourceVariable( 141 aggregated_global_step = resource_variable_ops.ResourceVariable( 143 repeated_index_update_var = resource_variable_ops.ResourceVariable( 145 aggregated_update_var = resource_variable_ops.ResourceVariable( 197 global_step = resource_variable_ops.ResourceVariable( [all …]
|
/external/tensorflow/tensorflow/python/training/saving/ |
D | functional_saver_test.py | 34 v1 = resource_variable_ops.ResourceVariable(2.) 43 v2 = resource_variable_ops.ResourceVariable(3.) 50 v1 = resource_variable_ops.ResourceVariable(2.) 71 v2 = resource_variable_ops.ResourceVariable(3.)
|
/external/tensorflow/tensorflow/python/eager/ |
D | lift_to_graph_test.py | 31 v1 = resource_variable_ops.ResourceVariable(1.0) 32 v2 = resource_variable_ops.ResourceVariable(2.0) 33 v3 = resource_variable_ops.ResourceVariable(3.0)
|
D | backprop_test.py | 87 x = resource_variable_ops.ResourceVariable( 101 v = resource_variable_ops.ResourceVariable(1.0) 207 embedding = resource_variable_ops.ResourceVariable( 237 v0 = resource_variable_ops.ResourceVariable(1.0) 238 v1 = resource_variable_ops.ResourceVariable(2.0) 320 v0 = resource_variable_ops.ResourceVariable(1.0) 346 x = resource_variable_ops.ResourceVariable(1.0) 353 x = resource_variable_ops.ResourceVariable(1.0) 365 v = resource_variable_ops.ResourceVariable(1.0) 372 x = [resource_variable_ops.ResourceVariable(2.), [all …]
|