void _assign_new_value(IVariableV1 variable, Tensor value) { tf_with(ops.name_scope("AssignNewValue", null, new { variable, value, momentum }), scope => { // var cm = ops.colocate_with(variable); variable.assign_lazy_load(value, name: scope); }); }
void _assign_new_value(IVariableV1 variable, Tensor value) { tf_with(ops.name_scope("AssignNewValue", null, new { variable, value, momentum }), scope => { // var cm = ops.colocate_with(variable); variable.assign_lazy_load(value, name: scope); }); }