When creating a TypeAdapter for a parent class with extra="allow", then calling type_adapter.dump_python or type_adapter.dump_json on a subclass, the subclass's fields are ignored despite extra="allow ...
You call torch.add with your Tensor subclass object (whose underlying TensorImpl has the Python dispatch key set) This dispatches to __torch_function__, where you can immediately override the behavior ...
現在アクセス不可の可能性がある結果が表示されています。
アクセス不可の結果を非表示にする