Home
last modified time | relevance | path

Searched refs:ModuleValue (Results 1 – 4 of 4) sorted by relevance

/aosp_15_r20/external/pytorch/torch/csrc/jit/python/
H A Dpython_sugared_value.cpp261 Value* ModuleValue::asValue(const SourceRange& loc, GraphFunction& m) { in asValue()
265 SugaredValuePtr ModuleValue::asTupleValue( in asTupleValue()
278 bool ModuleValue::areAllSubmodulesSubtypeOf( in areAllSubmodulesSubtypeOf()
301 SugaredValuePtr ModuleValue::getitem( in getitem()
387 const std::shared_ptr<ModuleValue>& self, in checkInterface()
402 std::shared_ptr<ModuleValue>& self, in recurseThroughNestedModules()
419 std::dynamic_pointer_cast<ModuleValue>(module_sugared_value); in recurseThroughNestedModules()
433 std::shared_ptr<SugaredDict> ModuleValue::getSugaredNamedBufferDict( in getSugaredNamedBufferDict()
456 std::make_shared<ModuleValue>(self_, concreteType_), in getSugaredNamedBufferDict()
461 std::shared_ptr<SugaredDict> ModuleValue::getSugaredNamedParameterList( in getSugaredNamedParameterList()
[all …]
H A Dpython_sugared_value.h163 struct VISIBILITY_HIDDEN ModuleValue : public SugaredValue { struct
164 ModuleValue(Value* self, std::shared_ptr<ConcreteModuleType> concreteType) in ModuleValue() function
256 std::shared_ptr<ModuleValue>& self, argument
263 std::shared_ptr<ModuleValue> self, in SugaredDict()
291 std::shared_ptr<ModuleValue> self_;
H A Dscript_init.cpp439 return std::make_shared<ModuleValue>(v, concreteType_); in makeSugared()
/aosp_15_r20/external/pytorch/torch/csrc/jit/
H A DOVERVIEW.md572 …subclass, ModuleValue. When the emitter sees `self.foo`, it will then call the ModuleValue functi…