public static Tensor assign_sub(IVariableV1 @ref, Tensor value, bool use_locking = false, string name = null) => @ref.dtype.is_ref_dtype() ? gen_state_ops.assign_sub(@ref, value, use_locking: use_locking, name: name) : @ref.assign_sub(value, name: name);