mxnet
Public Member Functions | Static Public Member Functions | Friends | List of all members
mxnet::Imperative::DCInfo Class Reference

DCInfo datastructure to enable deferred computation. More...

#include <imperative.h>

Collaboration diagram for mxnet::Imperative::DCInfo:
Collaboration graph

Public Member Functions

 DCInfo (const std::vector< NDArray * > &inputs, const std::vector< NDArray * > &outputs)
 

Static Public Member Functions

static void Compute (const NDArray &arr)
 Compute the outputs of the associated operator. More...
 
static DCInfoGet (const nnvm::ObjectPtr &node)
 
static bool IsNone (const NDArray &arr)
 
static bool IsComputed (const NDArray &arr)
 
static DCInfoCreate (const nnvm::ObjectPtr &node, const std::vector< NDArray * > &inputs, const std::vector< NDArray * > &outputs)
 
static void Clear (const nnvm::ObjectPtr &node)
 

Friends

class Imperative
 

Detailed Description

DCInfo datastructure to enable deferred computation.

Constructor & Destructor Documentation

◆ DCInfo()

mxnet::Imperative::DCInfo::DCInfo ( const std::vector< NDArray * > &  inputs,
const std::vector< NDArray * > &  outputs 
)
explicit

Member Function Documentation

◆ Clear()

static void mxnet::Imperative::DCInfo::Clear ( const nnvm::ObjectPtr node)
inlinestatic

◆ Compute()

static void mxnet::Imperative::DCInfo::Compute ( const NDArray arr)
static

Compute the outputs of the associated operator.

◆ Create()

static DCInfo& mxnet::Imperative::DCInfo::Create ( const nnvm::ObjectPtr node,
const std::vector< NDArray * > &  inputs,
const std::vector< NDArray * > &  outputs 
)
static

◆ Get()

static DCInfo& mxnet::Imperative::DCInfo::Get ( const nnvm::ObjectPtr node)
inlinestatic

◆ IsComputed()

static bool mxnet::Imperative::DCInfo::IsComputed ( const NDArray arr)
inlinestatic

◆ IsNone()

static bool mxnet::Imperative::DCInfo::IsNone ( const NDArray arr)
inlinestatic

Friends And Related Function Documentation

◆ Imperative

friend class Imperative
friend

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