Defined in File cg.h
This struct is a nested type of Class ComputingGraph.
mgb::cg::ComputingGraph::
::
VarReceiverInfo
Public Functions
empty
whether nothing is needed completely
value_needed
whether computing value is needed (i.e. either dev_value, or shape, or host_value)
is_empty_allowed
whether this var can be empty
to_string
Public Members
nr_direct_comp_req
number of requests for directly computing by passing an empty callback
dev_value
number of operators that need device value of this var
last_dev_value_reader
last dev value reader in the computing sequence
shape
number of operators that need shape of this var, which can not be statically inferred
host_value
number of operators that need host value of this var, which can not be statically inferred
allow_empty_value
number of operators in dev_value and host_value that allow this var to be empty