-
The current signature of JsonNode#deepCopy looks like this:
`public abstract T deepCopy();`
I wondered about the decision to do this as you can quite easily create a ClassCastException using th…
-
## 🐛 Bug
Attempting to deepcopy the fairseq model fails with a stack overflow from infinite recursion
### To Reproduce
Call deepcopy on the fairseq model
The error looks like this:
```
T…
-
When trying a copy.deepcopy() on a Dotsi instance, there were a KeyError on __deepcopy__. Passing dict-structures around can easily lead to errors, if one doesn't make a deepcopy of the object. Thus, …
-
When there are many operations to run successively and when the document is large performing `deepCopy` for each operation becomes extremely expensive.
Below is an example of the change I'm talking…
-
`deepcopy()` can be surprisingly slow when called with empty containers like lists, tuples, dicts, sets or frozensets.
Adding a fast path for this case similar to #114266 would significantly speed …
-
```
import sframe
sf = sframe.SFrame()
sf['a'] = [1,1,1,1, 2,2,2, 3, 4,4, 5]
sf['b'] = [1,2,1,2, 3,3,1, 4, None, 2, 3]
sf2= deepcopy(sf)
```
…
-
Hi,
just experiencing this issue (https://github.com/kubernetes-sigs/controller-tools/issues/1053) again:
```
panic: interface conversion: types.Type is *types.Alias, not *types.Named
```
`…
-
`juliacall.AnyValue.__copy__` and `__deepcopy__` could call Julia's `copy` and `deepcopy`.
Conversely, `copy(::Py)` and `deepcopy_internal(::Py, ::IdDict)` could call Python's `copy.copy` and `copy…
-
### System Info
I'm using `transformers==4.44.0`.
* The script that I used for collecting my system info is as follows:
```bash
$ curl -OL https://raw.githubusercontent.com/pytorch/pytorch/mai…
-
Hello, your project has helped me a lot. Thank you very much. But I have a question: why do I need copy.deepcopy(model) when I am trying to implement a federated learning model, it seems that without…