class dlstreamer::TensorPtr#
#include <tensor.h> class TensorPtr: public std::shared_ptr< Tensor > { public: // methods TensorPtr map( const ContextPtr& output_context = nullptr, AccessMode access_mode = AccessMode::ReadWrite ); TensorPtr map(AccessMode access_mode = AccessMode::ReadWrite); template <typename T> std::shared_ptr<T> map( const ContextPtr& output_context, AccessMode access_mode = AccessMode::ReadWrite ); };