Inherits torch::nn::AnyModule::Value::Placeholder.
Public Member Functions | |
virtual Value | forward (std::vector< Value > &&arguments)=0 |
The "erased" forward() method. | |
virtual std::shared_ptr< Module > | ptr ()=0 |
Returns std::shared_ptr<Module> pointing to the erased module. | |
virtual std::unique_ptr< Placeholder > | copy () const =0 |
Returns a Placeholder with a shallow copy of this AnyModule . | |
virtual std::unique_ptr< Placeholder > | clone (optional< Device > device) const =0 |
Returns a Placeholder with a deep copy of this AnyModule . | |