Caffe2 - C++ API
A deep learning, cross platform ML framework
Public Member Functions
torch::nn::AnyModule::Placeholder Struct Referenceabstract

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< Moduleptr ()=0
 Returns std::shared_ptr<Module> pointing to the erased module.
 
virtual std::unique_ptr< Placeholdercopy () const =0
 Returns a Placeholder with a shallow copy of this AnyModule.
 
virtual std::unique_ptr< Placeholderclone (optional< Device > device) const =0
 Returns a Placeholder with a deep copy of this AnyModule.
 

Detailed Description

Definition at line 330 of file any.h.


The documentation for this struct was generated from the following file: