()
| 41 | var0 = resource_variable_ops.ResourceVariable([1.0, 2.0], dtype=dtype) |
| 42 | var1 = resource_variable_ops.ResourceVariable([3.0, 4.0], dtype=dtype) |
| 43 | def loss(): |
| 44 | return 5 * var0 + 3 * var1 # pylint: disable=cell-var-from-loop |
| 45 | # Note that for eager execution, minimize expects a function instead of a |
| 46 | # Tensor. |
| 47 | global_step = resource_variable_ops.ResourceVariable( |
no test coverage detected