Home
last modified time | relevance | path

Searched defs:CustomBackendMetadata (Results 1 – 2 of 2) sorted by relevance

/aosp_15_r20/external/pytorch/test/cpp_extensions/
H A Dopen_registration_extension.cpp144 struct CustomBackendMetadata : public c10::BackendMeta { struct
150 CustomBackendMetadata(int backend_version_format, int format_number) : in CustomBackendMetadata() argument
164 auto tmeta = dynamic_cast<CustomBackendMetadata*>(t.unsafeGetTensorImpl()->get_backend_meta()); in for_serialization() argument
/aosp_15_r20/external/pytorch/test/cpp/api/
H A Dtensor.cpp1224 struct CustomBackendMetadata : public c10::BackendMeta { in TEST() struct
1225 mutable bool cloned_{false}; // for testing this field will mutate when in TEST()
1227 c10::intrusive_ptr<c10::BackendMeta> clone( in TEST()